forked from aws-amplify/amplify-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
137 lines (137 loc) · 6.92 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
{
"name": "amplify-cli",
"version": "0.1.0",
"description": "amplify-cli",
"scripts": {
"addwords": "node ./scripts/add-to-dict.js",
"test-changed": "nx affected --target=test",
"test": "nx run-many --target=test --all",
"test-ci": "nx run-many --target=test --all --parallel=1 -- --ci -i",
"e2e": "nx run e2e",
"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\"",
"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",
"clean": "nx run-many --target=clean --all && yarn rimraf tsconfig.tsbuildinfo",
"check-version-conflicts:beta": "yarn ts-node ./scripts/check-version.ts beta",
"check-version-conflicts:release": "yarn ts-node ./scripts/check-version.ts",
"build": "nx run-many --target=build --all",
"build-tests-changed": "nx affected --target=build-tests",
"build-tests": "nx run-many --target=build-tests --all",
"production-build": "yarn --frozen-lockfile --cache-folder ~/.cache/yarn && nx run-many --target=build --all",
"dev-build": "yarn --cache-folder ~/.cache/yarn && nx run-many --target=build --all",
"link-aa-dev": "cd packages/amplify-app && ln -s \"$(pwd)/bin/amplify-app\" \"$(yarn global bin)/amplify-app-dev\" && cd -",
"rm-aa-dev-link": "rimraf -f \"$(yarn global bin)/amplify-app-dev\"",
"link-dev": "cd packages/amplify-cli && ln -s \"$(pwd)/bin/amplify\" \"$(yarn global bin)/amplify-dev\" && cd -",
"rm-dev-link": "rimraf -f \"$(yarn global bin)/amplify-dev\"",
"setup-dev": "yarn dev-build && yarn rm-dev-link && yarn link-dev && yarn rm-aa-dev-link && yarn link-aa-dev",
"link-win": "node ./scripts/link-bin.js packages/amplify-cli/bin/amplify amplify-dev",
"link-aa-win": "node ./scripts/link-bin.js packages/amplify-app/bin/amplify-app amplify-app-dev",
"setup-dev-win": "yarn dev-build && yarn link-win && yarn link-aa-win",
"split-e2e-tests": "yarn ts-node ./scripts/split-e2e-tests.ts && git add .circleci/config.yml",
"verify-commit": "yarn ts-node ./scripts/verify-commit.ts",
"pkg-clean": "rimraf build out pkg/node_modules pkg/yarn.lock",
"pkg-all": "source .circleci/local_publish_helpers.sh && generatePkgCli",
"pkg-all-local": "yarn verdaccio-start && yarn verdaccio-connect && yarn publish-to-verdaccio && yarn pkg-all && yarn verdaccio-disconnect",
"publish:master": "lerna publish --canary --force-publish --preid=alpha --exact --include-merged-tags --conventional-prerelease --no-verify-access --yes",
"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: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",
"publish:release": "lerna publish --conventional-commits --exact --yes --message 'chore(release): Publish [ci skip]' --no-verify-access",
"postpublish:release": "git fetch . release:master && git push origin master",
"yarn-use-bash": "yarn config set script-shell /bin/bash",
"verdaccio-start": "source .circleci/local_publish_helpers.sh && startLocalRegistry \"$(pwd)/.circleci/verdaccio.yaml\"",
"verdaccio-clean": "rimraf ../verdaccio-cache",
"verdaccio-connect": "source .circleci/local_publish_helpers.sh && setNpmRegistryUrlToLocal",
"publish-to-verdaccio": "lerna publish --yes --no-commit-hooks --no-push --exact --dist-tag=latest --conventional-commits --no-git-tag-version --no-verify-access",
"verdaccio-disconnect": "source .circleci/local_publish_helpers.sh && unsetNpmRegistryUrl",
"verdaccio-stop": "kill -9 $(lsof -n -t -iTCP:4873 -sTCP:LISTEN) || true",
"update-versions": "lerna version --yes --no-commit-hooks --no-push --exact --conventional-commits --no-git-tag-version",
"commit": "git-cz",
"coverage": "codecov || exit 0"
},
"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": "yarn verify-commit && yarn lint-fix"
}
},
"author": "Amazon Web Services",
"license": "Apache-2.0",
"dependencies": {
"lerna": "^4.0.0",
"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",
"@types/glob": "^7.1.1",
"@types/jest": "^26.0.20",
"@types/js-yaml": "^4.0.0",
"@typescript-eslint/eslint-plugin": "^4.14.2",
"@typescript-eslint/parser": "^4.14.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": "^7.19.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-import-resolver-typescript": "^2.0.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^26.1.1",
"eslint-plugin-jsdoc": "^37.9.6",
"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.3",
"jest-circus": "^26.6.3",
"jest-junit": "^12.0.0",
"js-yaml": "^4.0.0",
"lnk": "1.1.0",
"lodash": "^4.17.21",
"nx": "^14.1.1",
"pkg": "^5.4.1",
"rimraf": "^3.0.0",
"ts-jest": "^26.4.4",
"ts-node": "^8.10.1",
"typescript": "^4.5.5"
},
"resolutions": {
"**/cross-fetch": "^2.2.6",
"**/glob-parent": "^6.0.2",
"**/istanbul/async": "^2.6.4",
"**/jake/async": "^2.6.4",
"**/nth-check": "^2.0.1"
}
}