forked from aws-amplify/amplify-category-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
250 lines (250 loc) · 13.5 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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
{
"name": "amplify-category-api",
"version": "0.1.0",
"description": "amplify-category-api",
"scripts": {
"add-cli-no-save": "yarn add @aws-amplify/cli-internal -W --pure-lockfile && git checkout -- package.json",
"authenticate-e2e-profile": "source scripts/cloud-utils.sh && authenticateWithE2EProfile",
"build-tests-changed": "lerna run build-tests --since main",
"build-tests": "lerna run build-tests",
"build": "lerna run build",
"check-version-conflicts:beta": "yarn ts-node ./scripts/check-version.ts beta",
"check-version-conflicts:release": "yarn ts-node ./scripts/check-version.ts",
"clean": "lerna run clean && lerna exec yarn rimraf tsconfig.tsbuildinfo && lerna clean --yes && yarn rimraf node_modules",
"cleanup-stale-resources": "source ./scripts/cloud-utils.sh && cleanupStaleResources",
"cloud-e2e-beta": "source scripts/cloud-utils.sh && cloudE2EBeta",
"cloud-e2e-debug": "source scripts/cloud-utils.sh && cloudE2EDebug",
"cloud-e2e": "source scripts/cloud-utils.sh && cloudE2E",
"commit": "git-cz",
"coverage": "codecov || exit 0",
"depcheck": "eslint --no-eslintrc --config depcheck.config.js",
"dev-build": "yarn --cache-folder ~/.cache/yarn && lerna run build",
"e2e": "lerna run e2e",
"extract-api": "lerna run extract-api",
"extract-dependency-licenses": "./scripts/extract-dependency-licenses.sh",
"hoist-cli-win": "rimraf node_modules/amplify-cli-internal && mkdir node_modules\\amplify-cli-internal && xcopy /e /q node_modules\\@aws-amplify\\cli-internal node_modules\\amplify-cli-internal\\",
"hoist-cli": "rm -rf node_modules/amplify-cli-internal && mkdir node_modules/amplify-cli-internal && cp -r node_modules/@aws-amplify/cli-internal/* node_modules/amplify-cli-internal",
"link-dev": "cd node_modules/amplify-cli-internal && ln -s \"$(pwd)/bin/amplify\" \"$(yarn global bin)/amplify-dev\" && cd -",
"link-win": "node ./scripts/link-bin.js node_modules/amplify-cli-internal/bin/amplify amplify-dev",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"package": "lerna run package",
"postpublish:release": "git fetch . release:main && git push origin main",
"prettier-check": "yarn prettier --check .",
"prettier-write": "yarn prettier --write .",
"production-build": "yarn --frozen-lockfile --cache-folder ~/.cache/yarn && lerna run build --concurrency 3 --stream",
"publish-to-verdaccio": "lerna publish --yes --no-commit-hooks --no-push --exact --dist-tag=latest --conventional-commits --no-git-tag-version --no-verify-access",
"publish:beta": "lerna publish --exact --dist-tag=beta --preid=beta --conventional-commits --conventional-prerelease --message 'chore(release): Publish [ci skip]' --no-verify-access --yes",
"publish:main": "lerna publish --canary --force-publish --preid=alpha --exact --include-merged-tags --conventional-prerelease --no-verify-access --yes",
"publish:release": "lerna publish --conventional-commits --conventional-graduate --exact --yes --message 'chore(release): Publish [ci skip]' --no-verify-access",
"publish:tag": "lerna publish --exact --dist-tag=$NPM_TAG --preid=$NPM_TAG --conventional-commits --conventional-prerelease --message 'chore(release): Publish tagged release $NPM_TAG [ci skip]' --no-verify-access --yes",
"refresh-lockfile": "rimraf yarn.lock && yarn",
"rm-dev-link": "rimraf -f \"$(yarn global bin)/amplify-dev\"",
"setup-dev-win": "(yarn && lerna run build) && yarn add-cli-no-save && (yarn hoist-cli-win && yarn rm-dev-link && yarn link-win)",
"setup-dev": "(yarn && lerna run build) && yarn add-cli-no-save && (yarn hoist-cli && yarn rm-dev-link && yarn link-dev)",
"split-e2e-tests": "yarn ts-node ./scripts/split-e2e-tests.ts && git add codebuild_specs/e2e_workflow.yml",
"test-changed": "lerna run test --since main",
"test-ci": "lerna run test --concurrency 1 -- --ci -i",
"test-v2-transformers": "lerna run --scope '@aws-amplify/graphql-*-transformer' test",
"test": "lerna run test",
"trigger-release": "source ./scripts/cloud-release.sh && triggerRelease",
"trigger-tag-release": "source ./scripts/cloud-release.sh && triggerTagRelease",
"update-cli-packages": "./scripts/update-cli-dependencies.sh && yarn",
"update-test-timing-data": "ts-node ./scripts/cci/get-test-timing-from-cci-job-metrics.ts",
"update-versions": "lerna version --yes --no-commit-hooks --no-push --exact --conventional-commits --no-git-tag-version",
"verdaccio-clean": "rimraf ../verdaccio-cache",
"verdaccio-connect": "source codebuild_specs/scripts/local_publish_helpers.sh && setNpmRegistryUrlToLocal",
"verdaccio-disconnect": "source codebuild_specs/scripts/local_publish_helpers.sh && unsetNpmRegistryUrl",
"verdaccio-start": "source codebuild_specs/scripts/local_publish_helpers.sh && startLocalRegistry \"$(pwd)/codebuild_specs/scripts/verdaccio.yaml\"",
"verdaccio-stop": "kill -9 $(lsof -n -t -iTCP:4873 -sTCP:LISTEN) || true",
"verify-api-extract": "yarn extract-api && ./scripts/verify-extract-api.sh",
"verify-commit": "yarn ts-node ./scripts/verify-commit.ts",
"verify-construct-dependencies": "ts-node ./scripts/verify-construct-dependencies.ts",
"verify-dependency-licenses-extract": "yarn extract-dependency-licenses && ./scripts/verify-dependency-licenses.sh",
"verify-yarn-lock": "./scripts/verify-yarn-lock.sh",
"view-test-artifact": "./scripts/view-test-artifacts.sh",
"view-test-artifacts": "yarn authenticate-e2e-profile && yarn ts-node --project ./scripts/tsconfig.json ./scripts/view-test-artifacts.ts",
"yarn-use-bash": "yarn config set script-shell /bin/bash"
},
"bugs": {
"url": "https://github.com/aws-amplify/amplify-category-api/issues"
},
"private": true,
"homepage": "https://github.com/aws-amplify/amplify-category-api#readme",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/aws-amplify/amplify-category-api.git"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "yarn verify-commit && yarn split-e2e-tests && lint-staged && yarn verify-construct-dependencies && yarn extract-dependency-licenses"
}
},
"lint-staged": {
"*.{md,yml,yaml,json,graphql}": "prettier --write",
"*.{js,ts,jsx,tsx}": [
"prettier --write"
]
},
"author": "Amazon Web Services",
"license": "Apache-2.0",
"dependencies": {
"lerna": "^5.1.6",
"npm-check-updates": "^16.1.0",
"strip-ansi": "^6.0.0"
},
"workspaces": {
"packages": [
"packages/*"
],
"nohoist": [
"@aws-amplify/cli-internal/amplify-codegen",
"@aws-amplify/graphql-api-construct/@aws-amplify/graphql-transformer",
"@aws-amplify/graphql-api-construct/@aws-amplify/graphql-transformer-core",
"@aws-amplify/graphql-api-construct/@aws-amplify/graphql-transformer-interfaces",
"@aws-amplify/graphql-api-construct/zod",
"@aws-amplify/graphql-api-construct/@aws-amplify/graphql-auth-transformer",
"@aws-amplify/graphql-api-construct/@aws-amplify/graphql-default-value-transformer",
"@aws-amplify/graphql-api-construct/@aws-amplify/graphql-function-transformer",
"@aws-amplify/graphql-api-construct/@aws-amplify/graphql-http-transformer",
"@aws-amplify/graphql-api-construct/@aws-amplify/graphql-index-transformer",
"@aws-amplify/graphql-api-construct/@aws-amplify/graphql-maps-to-transformer",
"@aws-amplify/graphql-api-construct/@aws-amplify/graphql-model-transformer",
"@aws-amplify/graphql-api-construct/@aws-amplify/graphql-predictions-transformer",
"@aws-amplify/graphql-api-construct/@aws-amplify/graphql-relational-transformer",
"@aws-amplify/graphql-api-construct/@aws-amplify/graphql-searchable-transformer",
"@aws-amplify/graphql-api-construct/@aws-amplify/graphql-sql-transformer",
"@aws-amplify/graphql-api-construct/@aws-amplify/backend-output-schemas",
"@aws-amplify/graphql-api-construct/@aws-amplify/backend-output-storage",
"@aws-amplify/graphql-api-construct/@aws-amplify/platform-core",
"@aws-amplify/graphql-api-construct/@aws-amplify/plugin-types",
"@aws-amplify/graphql-api-construct/fs-extra",
"@aws-amplify/graphql-api-construct/graphql",
"@aws-amplify/graphql-api-construct/graphql-transformer-common",
"@aws-amplify/graphql-api-construct/hjson",
"@aws-amplify/graphql-api-construct/lodash",
"@aws-amplify/graphql-api-construct/md5",
"@aws-amplify/graphql-api-construct/object-hash",
"@aws-amplify/graphql-api-construct/ts-dedent",
"@aws-amplify/graphql-api-construct/charenc",
"@aws-amplify/graphql-api-construct/crypt",
"@aws-amplify/graphql-api-construct/graceful-fs",
"@aws-amplify/graphql-api-construct/graphql-mapping-template",
"@aws-amplify/graphql-api-construct/immer",
"@aws-amplify/graphql-api-construct/is-buffer",
"@aws-amplify/graphql-api-construct/jsonfile",
"@aws-amplify/graphql-api-construct/libphonenumber-js",
"@aws-amplify/graphql-api-construct/pluralize",
"@aws-amplify/graphql-api-construct/universalify",
"@aws-amplify/data-construct/@aws-amplify/graphql-transformer",
"@aws-amplify/data-construct/@aws-amplify/graphql-transformer-core",
"@aws-amplify/data-construct/@aws-amplify/graphql-transformer-interfaces",
"@aws-amplify/data-construct/zod",
"@aws-amplify/data-construct/@aws-amplify/graphql-auth-transformer",
"@aws-amplify/data-construct/@aws-amplify/graphql-default-value-transformer",
"@aws-amplify/data-construct/@aws-amplify/graphql-function-transformer",
"@aws-amplify/data-construct/@aws-amplify/graphql-http-transformer",
"@aws-amplify/data-construct/@aws-amplify/graphql-index-transformer",
"@aws-amplify/data-construct/@aws-amplify/graphql-maps-to-transformer",
"@aws-amplify/data-construct/@aws-amplify/graphql-model-transformer",
"@aws-amplify/data-construct/@aws-amplify/graphql-predictions-transformer",
"@aws-amplify/data-construct/@aws-amplify/graphql-relational-transformer",
"@aws-amplify/data-construct/@aws-amplify/graphql-searchable-transformer",
"@aws-amplify/data-construct/@aws-amplify/graphql-sql-transformer",
"@aws-amplify/data-construct/@aws-amplify/backend-output-schemas",
"@aws-amplify/data-construct/@aws-amplify/backend-output-storage",
"@aws-amplify/data-construct/fs-extra",
"@aws-amplify/data-construct/graphql",
"@aws-amplify/data-construct/graphql-transformer-common",
"@aws-amplify/data-construct/hjson",
"@aws-amplify/data-construct/lodash",
"@aws-amplify/data-construct/md5",
"@aws-amplify/data-construct/object-hash",
"@aws-amplify/data-construct/ts-dedent",
"@aws-amplify/data-construct/charenc",
"@aws-amplify/data-construct/crypt",
"@aws-amplify/data-construct/graceful-fs",
"@aws-amplify/data-construct/graphql-mapping-template",
"@aws-amplify/data-construct/immer",
"@aws-amplify/data-construct/is-buffer",
"@aws-amplify/data-construct/jsonfile",
"@aws-amplify/data-construct/libphonenumber-js",
"@aws-amplify/data-construct/pluralize",
"@aws-amplify/data-construct/universalify",
"@aws-amplify/data-construct/@aws-amplify/platform-core",
"@aws-amplify/data-construct/@aws-amplify/plugin-types"
]
},
"devDependencies": {
"@babel/cli": "^7.10.5",
"@babel/core": "^7.10.5",
"@babel/plugin-proposal-numeric-separator": "^7.10.4",
"@babel/plugin-transform-modules-commonjs": "7.10.4",
"@babel/plugin-transform-typescript": "7.10.5",
"@commitlint/cli": "^16.2.3",
"@commitlint/config-conventional": "^16.2.1",
"@commitlint/config-lerna-scopes": "^16.2.2",
"@commitlint/cz-commitlint": "^16.2.3",
"@commitlint/prompt": "^16.2.3",
"@microsoft/api-extractor": "^7.33.5",
"@types/glob": "^7.1.1",
"@types/jest": "^26.0.20",
"@types/js-yaml": "^4.0.0",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"@zkochan/cmd-shim": "^5.1.0",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.1.0",
"codecov": "^3.7.0",
"copyfiles": "^2.2.0",
"eslint": "^8.40.0",
"eslint-config-prettier": "^8.8.0",
"eslint-import-resolver-typescript": "^2.0.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^26.1.1",
"eslint-plugin-jsdoc": "^40.1.0",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-spellcheck": "^0.0.17",
"execa": "^5.1.1",
"glob": "^7.2.0",
"husky": "^3.0.3",
"jest": "^26.6.2",
"jest-circus": "^26.6.2",
"jest-junit": "^12.0.0",
"js-yaml": "^4.0.0",
"lint-staged": "^13.2.2",
"lnk": "1.1.0",
"pkg": "^5.4.1",
"prettier": "^2.8.8",
"rimraf": "^3.0.0",
"ts-jest": "^26.4.4",
"ts-node": "^8.10.1",
"typescript": "^4.5.5",
"@yarnpkg/lockfile": "^1.1.0"
},
"resolutions": {
"**/glob-parent": "^6.0.2",
"**/istanbul/async": "^2.6.4",
"**/jake/async": "^2.6.4",
"**/nth-check": "^2.0.1",
"lodash": "^4.17.21",
"node-fetch": "^2.6.7",
"cross-fetch": "^2.2.6",
"trim-newlines": "^3.0.1",
"aws-sdk": "^2.1141.0",
"parse-path": "^5.0.0",
"parse-url": "^8.1.0",
"moment-timezone": "^0.5.35",
"ejs": "^3.1.7",
"json5": "^2.2.3",
"fast-xml-parser": "^4.2.4",
"semver": "^7.5.2",
"jest": "26.6.2",
"jest-environment-jsdom": "26.6.2",
"jest-environment-node": "26.6.2",
"ts-jest": "^26.5.5"
}
}