generated from sudokar/nx-serverless
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
144 lines (144 loc) · 4.07 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{
"name": "serverless-template",
"version": "1.0.0",
"license": "MIT",
"private": true,
"sideEffects": [
"libs/aws/**/client.ts"
],
"scripts": {
"nx": "nx",
"build": "nx build",
"deploy": "nx deploy",
"remove": "nx remove",
"analyze": "nx analyze",
"serve": "nx serve",
"test": "nx test",
"lint": "nx workspace-lint && nx lint",
"e2e": "nx e2e",
"dep-graph": "nx dep-graph",
"infrastructure:build": "docker compose up -d",
"infrastructure:remove": "docker compose down",
"infrastructure:start": "docker compose start",
"infrastructure:stop": "docker compose stop",
"services:affected": "nx affected:apps",
"libs:affected": "nx affected:libs",
"build:affected": "nx affected:build",
"e2e:affected": "nx affected:e2e",
"test:affected": "nx affected:test",
"lint:affected": "nx affected:lint",
"dep-graph:affected": "nx affected:dep-graph",
"affected": "nx affected",
"build:all": "nx run-many --target=build --all",
"deploy:all": "nx run-many --target=deploy --all",
"remove:all": "nx run-many --target=remove-dev --all",
"test:all": "nx run-many --target=test --all",
"lint:all": "nx run-many --target=lint --all",
"help": "nx help",
"format": "nx format:write",
"format:write": "nx format:write",
"format:check": "nx format:check",
"prepare": "husky install",
"codegen": "nx codegen",
"console": "nx console",
"update": "nx migrate latest",
"workspace-generator": "nx workspace-generator"
},
"dependencies": {
"@aws-sdk/client-lambda": "^3.245.0",
"@aws-sdk/client-sqs": "^3.254.0",
"@graphql-tools/merge": "^8.3.7",
"@graphql-tools/schema": "^9.0.13",
"apollo-server-lambda": "^3.11.1",
"graphql": "^16.6.0",
"tslib": "^2.4.1"
},
"devDependencies": {
"@aws-sdk/types": "^3.198.0",
"@babel/generator": "^7.20.7",
"@babel/parser": "^7.20.7",
"@babel/types": "^7.19.0",
"@graphql-codegen/cli": "^2.16.4",
"@graphql-codegen/introspection": "^2.2.3",
"@graphql-codegen/schema-ast": "^2.5.1",
"@graphql-codegen/typescript": "^2.8.7",
"@graphql-codegen/typescript-operations": "^2.5.12",
"@graphql-codegen/typescript-resolvers": "^2.7.12",
"@jest/transform": "^29.3.1",
"@nrwl/cli": "15.5.3",
"@nrwl/devkit": "15.5.3",
"@nrwl/eslint-plugin-nx": "15.5.3",
"@nrwl/jest": "15.5.3",
"@nrwl/linter": "15.5.3",
"@nrwl/node": "15.5.3",
"@nrwl/workspace": "15.5.3",
"@types/aws-lambda": "^8.10.109",
"@types/jest": "28.1.8",
"@types/node": "18.11.18",
"@types/serverless": "^3.12.9",
"@typescript-eslint/eslint-plugin": "5.48.2",
"@typescript-eslint/parser": "5.48.2",
"aws-sdk-client-mock": "^2.0.1",
"aws-sdk-client-mock-jest": "^2.0.1",
"esbuild": "^0.15.18",
"esbuild-node-externals": "^1.6.0",
"esbuild-visualizer": "^0.3.1",
"eslint": "8.32.0",
"eslint-config-prettier": "^8.6.0",
"graphql-schema-linter": "^3.0.1",
"husky": "^8.0.3",
"jest": "28.1.3",
"lint-staged": "^13.0.3",
"nx": "15.5.3",
"prettier": "2.8.3",
"serverless": "^3.26.0",
"serverless-analyze-bundle-plugin": "^1.2.1",
"serverless-esbuild": "^1.37.2",
"serverless-offline": "^11.6.0",
"serverless-offline-sqs": "^7.3.2",
"ts-jest": "28.0.8",
"ts-loader": "^9.4.2",
"ts-node": "10.9.1",
"tsconfig-paths": "^4.1.2",
"typescript": "4.9.4"
},
"engines": {
"node": ">=16 <17"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"*.{md,json,yml,yaml,html}": [
"prettier --write"
],
"*.graphql": [
"graphql-schema-linter src/**/*.graphql"
]
},
"graphql-schema-linter": {
"rules": [
"deprecations-have-a-reason",
"descriptions-are-capitalized",
"enum-values-all-caps",
"enum-values-have-descriptions",
"enum-values-sorted-alphabetically",
"fields-are-camel-cased",
"fields-have-descriptions",
"input-object-fields-sorted-alphabetically",
"input-object-values-are-camel-cased",
"input-object-values-have-descriptions",
"type-fields-sorted-alphabetically",
"types-are-capitalized",
"types-have-descriptions"
],
"ignore": {
"types-have-descriptions": [
"Query",
"Mutation",
"Subscription"
]
}
}
}