forked from aws-amplify/amplify-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
167 lines (167 loc) · 8.93 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
{
"name": "amplify-cli",
"version": "0.1.0",
"description": "amplify-cli",
"scripts": {
"addwords": "node ./scripts/add-to-dict.js",
"build-and-verify": "yarn clean && yarn dev-build && yarn prettier-check && yarn lint-check && yarn verify-api-extract",
"build-tests-changed": "nx affected --target=build-tests",
"build-tests": "nx run-many --target=build-tests --all",
"build": "nx run-many --target=build --all",
"check-version-conflicts:beta": "yarn ts-node ./scripts/check-version.ts beta",
"check-version-conflicts:release": "yarn ts-node ./scripts/check-version.ts",
"clean": "nx reset && nx run-many --target=clean --all && yarn rimraf tsconfig.tsbuildinfo",
"cloud-e2e-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": "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\"",
"commit": "git-cz",
"coverage:collect": "ts-node ./scripts/collect-test-coverage.ts",
"coverage": "codecov || exit 0",
"dev-build": "yarn --cache-folder ~/.cache/yarn && nx run-many --target=build --all",
"e2e": "nx run e2e",
"extract-api": "nx run-many --target=extract-api --all",
"extract-formatting-changes": "yarn ts-node ./scripts/extract-formatting-changes.ts",
"finish-release": "ts-node ./scripts/finish-release.ts",
"link-aa-dev": "cd packages/amplify-app && ln -s \"$(pwd)/bin/amplify-app\" \"$(yarn global bin)/amplify-app-dev\" && cd -",
"link-aa-win": "node ./scripts/link-bin.js packages/amplify-app/bin/amplify-app amplify-app-dev",
"link-dev": "cd packages/amplify-cli && ln -s \"$(pwd)/bin/amplify\" \"$(yarn global bin)/amplify-dev\" && cd -",
"link-win": "node ./scripts/link-bin.js packages/amplify-cli/bin/amplify amplify-dev",
"lint-check": "yarn eslint . --ext .js,.jsx,.ts,.tsx --max-warnings=844",
"lint-fix": "git diff --name-only --cached --diff-filter d | grep -E '\\.(js|jsx|ts|tsx)$' | xargs eslint --fix --quiet",
"lint-fix-package-json": "yarn lint-check-package-json --fix",
"lint-check-package-json": "yarn eslint --no-eslintrc --config .eslint.package.json.js '**/package.json'",
"mergewords": "yarn ts-node ./scripts/handle-dict-conflicts.ts",
"pkg-all-local": "yarn verdaccio-start && yarn verdaccio-connect && yarn publish-to-verdaccio && yarn pkg-all && yarn verdaccio-disconnect",
"pkg-all": "source .circleci/local_publish_helpers.sh && generatePkgCli",
"pkg-clean": "rimraf build out pkg/node_modules pkg/yarn.lock",
"prettier-check": "yarn prettier --check .",
"prettier-changes": "git diff --name-only --diff-filter MRA dev | xargs yarn prettier --write",
"prettier-write": "yarn prettier --write .",
"production-build": "yarn --frozen-lockfile --network-concurrency 1 --cache-folder ~/.cache/yarn && nx run-many --target=build --all",
"promote-rc": "./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": "./scripts/release-rc.sh",
"rm-aa-dev-link": "rimraf -f \"$(yarn global bin)/amplify-app-dev\"",
"rm-dev-link": "rimraf -f \"$(yarn global bin)/amplify-dev\"",
"setup-dev-win": "yarn dev-build && yarn link-win && yarn link-aa-win",
"setup-dev": "yarn dev-build && yarn rm-dev-link && yarn link-dev && yarn rm-aa-dev-link && yarn link-aa-dev",
"smoketest": "nx run-many --parallel=1 --target=smoketest --all --output-style=stream-without-prefixes",
"smoketest@latest": "CLI_VERSION=latest nx run-many --parallel=1 --target=smoketest --all --output-style=stream-without-prefixes",
"smoketest@rc": "CLI_VERSION=rc nx run-many --parallel=1 --target=smoketest --all --output-style=stream-without-prefixes",
"split-e2e-tests": "yarn ts-node ./scripts/split-e2e-tests.ts && git add .circleci/config.yml",
"test-changed": "nx affected --target=test",
"test-ci": "nx run-many --parallel=4 --target=test --all -- --ci --runInBand",
"test": "nx run-many --target=test --all -- --runInBand",
"update-data-packages": "./scripts/update-data-dependencies.sh && yarn",
"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": "source .circleci/local_publish_helpers.sh && setNpmRegistryUrlToLocal",
"verdaccio-disconnect": "source .circleci/local_publish_helpers.sh && unsetNpmRegistryUrl",
"verdaccio-start": "source .circleci/local_publish_helpers.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 dev-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",
"yarn-use-bash": "yarn config set script-shell /bin/bash"
},
"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"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-push": "yarn build-tests-changed && yarn split-e2e-tests",
"pre-commit": "./scripts/package-json-check.sh && yarn verify-commit"
}
},
"author": "Amazon Web Services",
"license": "Apache-2.0",
"dependencies": {
"lerna": "^6.4.1",
"strip-ansi": "^6.0.0"
},
"workspaces": {
"packages": [
"packages/*"
],
"nohoist": [
"@aws-amplify/cli-internal/amplify-codegen",
"@aws-amplify/cli-internal/@aws-amplify/amplify-category-api"
]
},
"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": "^27.0.0",
"@types/js-yaml": "^4.0.0",
"@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": "^2.0.0",
"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": "^3.1.0",
"istanbul-lib-coverage": "^3.2.0",
"istanbul-lib-report": "^3.0.0",
"istanbul-reports": "^3.1.5",
"jest": "^27.0.0",
"jest-circus": "^27.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": "^27.0.0",
"ts-node": "^8.10.1",
"typescript": "^4.9.4"
},
"resolutions": {
"**/aws-sdk": "^2.1354.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"
}
}