forked from aws-amplify/amplify-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
115 lines (115 loc) · 5.21 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
{
"name": "amplify-cli",
"version": "0.1.0",
"description": "amplify-cli",
"scripts": {
"test-changed": "lerna run test --since master",
"test": "lerna run test",
"test-ci": "lerna run test --concurrency 1 -- --ci -i",
"e2e": "lerna run e2e",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx --quiet",
"lint-fix": "eslint . --ext .js,.jsx,.ts,.tsx --fix",
"clean": "lerna run clean && lerna exec yarn rimraf tsconfig.tsbuildinfo && lerna clean --yes && yarn rimraf node_modules",
"build": "lerna run build",
"production-build": "yarn --frozen-lockfile && lerna run build --concurrency 3 --stream",
"dev-build": "yarn && lerna run build",
"link-aa-dev": "cd packages/amplify-app && ln -s $(pwd)/bin/amplify-app $(yarn global bin)/amplify-app-dev && cd -",
"rm-aa-dev-link": "rm -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": "rm -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",
"pkg-clean": "rimraf build out pkg/node_modules pkg/yarn.lock",
"pkg-install": "cd pkg && yarn install --production",
"pkg-prune": "cd pkg && rimraf **/*.d.ts **/*.js.map **/*.d.ts.map **/README.md **/readme.md **/Readme.md **/CHANGELOG.md **/changelog.md **/Changelog.md **/HISTORY.md **/history.md **/History.md",
"pkg-transpile": "cd pkg && babel node_modules --extensions '.js,.jsx,.es6,.es,.ts' --copy-files -d ../build/node_modules",
"pkg-build": "cp pkg/package.json build/node_modules/package.json && pkg -t node12-macos-x64,node12-linux-x64,node12-win-x64 build/node_modules --out-path out",
"pkg-all": "yarn pkg-install && yarn pkg-prune && yarn pkg-transpile && yarn pkg-build",
"publish:master": "lerna publish --canary --force-publish --preid=alpha --exact --include-merged-tags --conventional-prerelease --yes",
"publish:beta": "lerna publish --exact --dist-tag=beta --preid=beta --conventional-commits --conventional-prerelease --message 'chore(release): Publish [ci skip]' --yes",
"publish:release": "lerna publish --conventional-commits --exact --yes --message 'chore(release): Publish [ci skip]'",
"postpublish:release": "git fetch . release:master && git push origin master",
"publish-to-verdaccio": "lerna publish --yes --no-commit-hooks --no-push --exact --dist-tag=latest --conventional-commits --no-git-tag-version",
"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": "npm run lint && npm run test-changed",
"pre-commit": "yarn split-e2e-tests && pretty-quick --staged"
}
},
"author": "Amazon Web Services",
"license": "Apache-2.0",
"dependencies": {
"lerna": "^3.16.4"
},
"workspaces": [
"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": "^8.1.0",
"@commitlint/config-conventional": "^8.1.0",
"@commitlint/config-lerna-scopes": "^8.1.0",
"@types/jest": "^26.0.20",
"@types/js-yaml": "^3.12.3",
"@typescript-eslint/eslint-plugin": "^2.16.0",
"@typescript-eslint/parser": "^2.16.0",
"babel-loader": "^8.1.0",
"cmd-shim": "^3.0.3",
"codecov": "^3.7.0",
"commitizen": "^3.1.2",
"copyfiles": "^2.2.0",
"cz-conventional-changelog": "^3.0.2",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.0.1",
"eslint-config-prettier": "^6.9.0",
"eslint-import-resolver-typescript": "^2.0.0",
"eslint-plugin-import": "^2.20.0",
"eslint-plugin-jest": "^23.6.0",
"eslint-plugin-json": "^2.0.1",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-spellcheck": "^0.0.17",
"execa": "^4.1.0",
"glob": "^7.1.6",
"husky": "^3.0.3",
"jest": "^26.6.3",
"jest-circus": "^26.6.3",
"jest-junit": "^12.0.0",
"js-yaml": "3.13.1",
"lnk": "1.1.0",
"pkg": "^4.4.9",
"prettier": "^2.2.1",
"prettier-eslint": "^12.0.0",
"pretty-quick": "^3.1.0",
"rimraf": "^3.0.0",
"ts-jest": "^26.4.4",
"ts-node": "^8.10.1",
"typescript": "^3.8.3"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}