forked from aws-amplify/amplify-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
182 lines (182 loc) · 10.2 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
{
"name": "amplify-cli",
"version": "0.1.0",
"description": "amplify-cli",
"scripts": {
"addwords": "node ./scripts/add-to-dict.js",
"all-cloud-e2e-circleci": "CURR_BRANCH=$(git branch | awk '/\\*/{printf \"%s\", $2}') && UPSTREAM_BRANCH=run-e2e/$USER/run-all-tests && git push $(git remote -v | grep aws-amplify/amplify-cli | head -n1 | awk '{print $1;}') $CURR_BRANCH:$UPSTREAM_BRANCH --no-verify --force && echo \"\n\n 🏃 E2E test are running at:\nhttps://app.circleci.com/pipelines/github/aws-amplify/amplify-cli?branch=$UPSTREAM_BRANCH\"",
"build-and-verify": "yarn clean && yarn && yarn build && yarn prettier-check && yarn lint-check && yarn verify-api-extract",
"build-tests-changed": "lerna run build-tests --since dev",
"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 && yarn rimraf tsconfig.tsbuildinfo && lerna clean --yes && yarn rimraf node_modules",
"cloud-e2e-beta": "bash -c 'source ./scripts/cloud-e2e.sh && cloudE2EBeta'",
"cloud-e2e-circleci-with-rc": "CURR_BRANCH=$(git branch | awk '/\\*/{printf \"%s\", $2}') && UPSTREAM_BRANCH=run-e2e-with-rc/$USER/$CURR_BRANCH && git push $(git remote -v | grep aws-amplify/amplify-cli | head -n1 | awk '{print $1;}') $CURR_BRANCH:$UPSTREAM_BRANCH --no-verify --force-with-lease && echo \"\n\n 🏃 E2E test are running at:\nhttps://app.circleci.com/pipelines/github/aws-amplify/amplify-cli?branch=$UPSTREAM_BRANCH\"",
"cloud-e2e-circleci": "CURR_BRANCH=$(git branch | awk '/\\*/{printf \"%s\", $2}') && UPSTREAM_BRANCH=run-e2e/$USER/$CURR_BRANCH && git push $(git remote -v | grep aws-amplify/amplify-cli | head -n1 | awk '{print $1;}') $CURR_BRANCH:$UPSTREAM_BRANCH --no-verify --force-with-lease && echo \"\n\n 🏃 E2E test are running at:\nhttps://app.circleci.com/pipelines/github/aws-amplify/amplify-cli?branch=$UPSTREAM_BRANCH\"",
"cloud-e2e-local": "bash -c 'source ./scripts/cloud-e2e.sh && cloudE2ELocal'",
"cloud-e2e": "bash -c 'source ./scripts/cloud-e2e.sh && cloudE2E'",
"cloud-pr": "./scripts/cloud-pr.sh",
"commit": "git-cz",
"coverage:collect": "ts-node ./scripts/collect-test-coverage.ts",
"coverage": "codecov || exit 0",
"deep-clean-install": "yarn verdaccio-clean && yarn cache clean && yarn clean && git clean -fdx -e .vscode -e .env && yarn",
"e2e": "lerna run e2e",
"extract-api": "lerna run extract-api --concurrency 4",
"extract-formatting-changes": "yarn ts-node ./scripts/extract-formatting-changes.ts",
"finish-release": "ts-node ./scripts/finish-release.ts",
"link-aa-dev": "mkdir -p .bin/ && cd packages/amplify-app && ln -s \"$(pwd)/bin/amplify-app\" ../../.bin/amplify-app-dev && cd ../../",
"link-aa-win": "node ./scripts/link-bin.js packages/amplify-app/bin/amplify-app amplify-app-dev",
"link-dev": "mkdir -p .bin/ && cd packages/amplify-cli && ln -s \"$(pwd)/bin/amplify\" ../../.bin/amplify-dev && cd ../../",
"link-win": "node ./scripts/link-bin.js packages/amplify-cli/bin/amplify amplify-dev",
"lint-check-package-json": "yarn eslint --no-eslintrc --config .eslint.package.json.js '**/package.json'",
"lint-check": "yarn eslint . --ext .js,.jsx,.ts,.tsx --max-warnings=773",
"lint-fix-package-json": "yarn lint-check-package-json --fix",
"lint-fix": "git diff --name-only --cached --diff-filter d | grep -E '\\.(js|jsx|ts|tsx)$' | xargs eslint --fix --quiet",
"mergewords": "yarn ts-node ./scripts/handle-dict-conflicts.ts",
"pkg-all-local": "yarn verdaccio-clean && yarn verdaccio-start && yarn verdaccio-connect && yarn publish-to-verdaccio && yarn pkg-all && yarn verdaccio-disconnect",
"pkg-all": "bash -c 'source .circleci/local_publish_helpers_codebuild.sh && generatePkgCli'",
"pkg-clean": "rimraf build out pkg/node_modules pkg/yarn.lock",
"postinstall": "husky install",
"prettier-changes": "git diff --name-only --diff-filter MRA dev | xargs yarn prettier --write",
"prettier-check": "yarn prettier --check .",
"prettier-write": "yarn prettier --write .",
"production-build": "lerna run build --concurrency 3 --stream",
"promote-rc-local": "bash -c 'source ./scripts/cloud-release.sh && ReleaseLocal'",
"promote-rc-beta": "bash -c 'source ./scripts/cloud-release.sh && ReleaseBeta'",
"promote-rc": "bash -c 'source ./scripts/cloud-release.sh && ReleaseProd'",
"promote-rc-circleci": "./scripts/promote-rc.sh",
"publish-to-verdaccio": "lerna publish --yes --no-commit-hooks --no-push --exact --dist-tag=latest --conventional-commits --no-git-tag-version --no-verify-access",
"release-rc-local": "bash -c 'source ./scripts/cloud-release.sh && RCLocal'",
"release-rc-beta": "bash -c 'source ./scripts/cloud-release.sh && RCBeta'",
"release-rc": "bash -c 'source ./scripts/cloud-release.sh && RCProd'",
"release-rc-circleci": "./scripts/release-rc.sh",
"tagged-release-without-e2e-local": "bash -c 'source ./scripts/cloud-release.sh && TaggedRCLocal'",
"tagged-release-without-e2e-beta": "bash -c 'source ./scripts/cloud-release.sh && TaggedRCBeta'",
"tagged-release-without-e2e-prod": "bash -c 'source ./scripts/cloud-release.sh && TaggedRCProd'",
"rm-aa-dev-link": "rimraf -f \".bin/amplify-app-dev\"",
"rm-dev-link": "rimraf -f \".bin/amplify-dev\"",
"setup-dev-win": "yarn build && yarn link-win && yarn link-aa-win",
"setup-dev": "yarn build && yarn rm-dev-link && yarn link-dev && yarn rm-aa-dev-link && yarn link-aa-dev",
"smoketest": "lerna run smoketest",
"split-e2e-tests-codebuild-single": "yarn ts-node ./scripts/generate_single_test_buildspec_codebuild.ts",
"split-e2e-tests-codebuild": "yarn ts-node ./scripts/split-e2e-tests-codebuild.ts",
"split-e2e-tests": "yarn ts-node ./scripts/split-e2e-tests.ts && git add .circleci/config.yml",
"test-changed": "lerna run test --since dev",
"test-ci": "lerna run test --concurrency 4 -- --ci -i",
"test": "lerna run test --concurrency 1",
"update-data-packages": "./scripts/update-data-dependencies.sh && yarn && yarn dedupe",
"update-test-timing-data": "ts-node ./scripts/cci-get-job-metrics.ts && ts-node ./scripts/cci-extract-test-timings-from-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": "bash -c 'source .circleci/local_publish_helpers_codebuild.sh && setNpmRegistryUrlToLocal'",
"verdaccio-disconnect": "bash -c 'source .circleci/local_publish_helpers_codebuild.sh && unsetNpmRegistryUrl'",
"verdaccio-start": "bash -c 'source .circleci/local_publish_helpers_codebuild.sh && startLocalRegistry \"$(pwd)/.circleci/verdaccio.yaml\"'",
"verdaccio-stop": "kill -9 $(lsof -n -t -iTCP:4873 -sTCP:LISTEN) || true",
"verify-api-extract:clean": "yarn clean && yarn build && yarn verify-api-extract",
"verify-api-extract": "yarn extract-api && ./scripts/verify-extract-api.sh",
"verify-commit": "yarn ts-node ./scripts/verify-commit.ts",
"verify-yarn-lock": "./scripts/verify-yarn-lock.sh",
"workflow-results": "yarn ts-node ./scripts/cci-workflow-results.ts"
},
"bugs": {
"url": "https://github.com/aws-amplify/amplify-cli/issues"
},
"private": true,
"homepage": "https://github.com/aws-amplify/amplify-cli#readme",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/aws-amplify/amplify-cli.git"
},
"author": "Amazon Web Services",
"license": "Apache-2.0",
"dependencies": {
"lerna": "^6.6.1",
"node-gyp": "^9.3.1",
"strip-ansi": "^6.0.0",
"yargs": "^17.7.2"
},
"workspaces": {
"packages": [
"packages/*"
]
},
"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": "^17.6.1",
"@commitlint/config-conventional": "^17.6.1",
"@commitlint/config-lerna-scopes": "^17.6.3",
"@commitlint/cz-commitlint": "^17.5.0",
"@commitlint/prompt": "^17.6.1",
"@microsoft/api-extractor": "^7.34.6",
"@types/glob": "^7.1.1",
"@types/jest": "^29.0.0",
"@types/js-yaml": "^4.0.0",
"@types/node": "^18.16.1",
"@types/yargs": "^17",
"@typescript-eslint/eslint-plugin": "^5.34.0",
"@typescript-eslint/parser": "^5.34.0",
"@zkochan/cmd-shim": "^5.1.0",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.3.0",
"codecov": "^3.7.0",
"copyfiles": "^2.2.0",
"eslint": "^7.19.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^27.0.0",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-package-json-dependencies": "^1.0.17",
"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": "^8.0.3",
"istanbul-lib-coverage": "^3.2.0",
"istanbul-lib-report": "^3.0.0",
"istanbul-reports": "^3.1.5",
"jest": "^29.0.0",
"jest-circus": "^29.0.0",
"jest-junit": "^12.0.0",
"js-yaml": "^4.0.0",
"lnk": "1.1.0",
"lodash": "^4.17.21",
"npm-check-updates": "^16.1.0",
"pkg": "^5.8.1",
"prettier": "^2.8.4",
"rimraf": "^3.0.0",
"ts-jest": "^29.0.0",
"ts-node": "^10.4.0",
"typescript": "^4.9.5"
},
"berry": {
"plugins": [
"@yarn/plugin-typescript"
]
},
"packageManager": "[email protected]",
"resolutions": {
"aws-sdk": "^2.1426.0",
"cross-fetch": "^2.2.6",
"glob-parent": "^6.0.2",
"got": "^11.8.5",
"istanbul/async": "^2.6.4",
"jake/async": "^2.6.4",
"json5": "^2.2.3",
"nth-check": "^2.0.1",
"undici": "^5.8.0",
"pkg-fetch": "https://github.com/aws-amplify/pkg-fetch#ad4a21feb533d338bf951e7ba28cea7256aedeff",
"tough-cookie": "^4.1.3",
"word-wrap": "^1.2.4"
}
}