-
Notifications
You must be signed in to change notification settings - Fork 63
/
package.json
144 lines (144 loc) · 6.9 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
{
"name": "amplify-codegen",
"version": "0.1.0",
"description": "amplify-codegen",
"scripts": {
"test-changed": "lerna run test --since main",
"test": "lerna run test",
"test-ci": "lerna run test --concurrency 1 -- --ci -i",
"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-install": "yarn --ignore-engines --frozen-lockfile",
"production-build": "yarn production-install && lerna run build --concurrency 3 --stream",
"publish:main": "lerna publish --canary --exact --force-publish --preid=dev --dist-tag=dev --include-merged-tags --conventional-prerelease --no-verify-access --yes",
"publish:release": "lerna publish --exact --conventional-commits --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",
"postpublish:release": "git fetch . release:main && git push origin main",
"yarn-use-bash": "yarn config set script-shell /bin/bash",
"verdaccio-start": "yarn yarn-use-bash && source .codebuild/scripts/local_publish_helpers.sh && startLocalRegistry \"$(pwd)/.codebuild/scripts/verdaccio.yaml\"",
"verdaccio-clean": "rimraf ../verdaccio-cache",
"verdaccio-connect": "source .codebuild/scripts/local_publish_helpers.sh && setNpmRegistryUrlToLocal && loginToLocalRegistry",
"publish-to-verdaccio": "lerna publish --yes --no-commit-hooks --no-push --exact --conventional-commits --no-changelog --no-git-tag-version --force-publish --no-verify-access",
"verdaccio-publish": "yarn verdaccio-clean && yarn publish-to-verdaccio",
"verdaccio-disconnect": "source .codebuild/scripts/local_publish_helpers.sh && unsetNpmRegistryUrl",
"verdaccio-stop": "kill -9 $(lsof -n -t -iTCP:4873 -sTCP:LISTEN)",
"setup-dev": "(yarn && lerna run build) && yarn add-cli-no-save && (yarn hoist-cli && yarn rm-dev-link && yarn link-dev)",
"add-cli-no-save": "yarn add @aws-amplify/amplify-category-api @aws-amplify/cli-internal -W && git checkout -- package.json yarn.lock",
"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 -",
"rm-dev-link": "rm -f \"$(yarn global bin)/amplify-dev\"",
"commit": "git-cz",
"coverage": "codecov || exit 0",
"refresh-lockfile": "rimraf yarn.lock && yarn",
"extract-api": "lerna run extract-api",
"verify-api-extract": "yarn extract-api && ./scripts/verify-extract-api.sh",
"trigger-release": "source ./scripts/cloud-release.sh && triggerRelease",
"trigger-tag-release": "source ./scripts/cloud-release.sh && triggerTagRelease",
"trigger-deprecate-release": "source ./scripts/cloud-release.sh && deprecateRelease",
"view-test-artifact": "./scripts/view-test-artifacts.sh",
"cleanup-stale-resources": "source ./scripts/cloud-utils.sh && cleanupStaleResources",
"cloud-e2e": "source scripts/cloud-utils.sh && cloudE2E",
"cloud-e2e-beta": "source scripts/cloud-utils.sh && cloudE2EBeta",
"split-e2e-tests": "yarn ts-node ./scripts/split-e2e-tests.ts && git add .codebuild/e2e_workflow.yml",
"view-test-artifacts": "yarn authenticate-e2e-profile && yarn ts-node ./scripts/view-test-artifacts.ts",
"cloud-e2e-debug": "source scripts/cloud-utils.sh && cloudE2EDebug",
"authenticate-e2e-profile": "source scripts/cloud-utils.sh && authenticateWithE2EProfile",
"extract-dependency-licenses": "./scripts/extract-dependency-licenses.sh",
"verify-dependency-licenses-extract": "yarn extract-dependency-licenses && ./scripts/verify-dependency-licenses.sh",
"deprecate": "ts-node scripts/deprecate_release.ts"
},
"bugs": {
"url": "https://github.com/aws-amplify/amplify-codegen/issues"
},
"private": true,
"homepage": "https://github.com/aws-amplify/amplify-codegen#readme",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/aws-amplify/amplify-codegen.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 && yarn extract-dependency-licenses"
}
},
"author": "Amazon Web Services",
"license": "Apache-2.0",
"dependencies": {
"lerna": "^5.1.6"
},
"workspaces": [
"packages/*"
],
"devDependencies": {
"@aws-amplify/amplify-cli-core": "^4.2.4-rc.43f73ab268.0",
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@commitlint/config-lerna-scopes": "^17.0.2",
"@microsoft/api-extractor": "^7.33.5",
"@types/cli-progress": "3.11.0",
"@types/fs-extra": "^8.0.1",
"@types/glob": "^7.2.0",
"@types/jest": "^27.0.0",
"@types/js-yaml": "^4.0.0",
"@typescript-eslint/eslint-plugin": "^4.0.0",
"@typescript-eslint/parser": "^4.0.0",
"amplify-headless-interface": "^1.13.1",
"aws-sdk": "2.1414.0",
"cli-progress": "3.12.0",
"cmd-shim": "^3.0.3",
"codecov": "^3.7.0",
"commitizen": "^4.2.4",
"copyfiles": "^2.2.0",
"cz-conventional-changelog": "^3.3.0",
"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": "^26.6.0",
"eslint-plugin-json": "^2.0.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-spellcheck": "^0.0.17",
"execa": "^5.1.1",
"globby": "^11.1.0",
"graphql-transformer-core": "^8.0.0",
"husky": "^3.0.3",
"jest": "^27.0.0",
"jest-circus": "^27.0.0",
"jest-junit": "^12.0.0",
"js-yaml": "^4.0.0",
"lnk": "1.1.0",
"prettier": "^1.19.1",
"pretty-quick": "^3.1.0",
"rimraf": "^3.0.0",
"ts-jest": "^27.0.0",
"ts-node": "^8.10.1",
"typescript": "4.7.4"
},
"resolutions": {
"@aws-amplify/amplify-cli-core": "4.2.4-rc.43f73ab268.0",
"minimist": "^1.2.6",
"lodash": "^4.17.21",
"node-fetch": "^2.6.7",
"cross-fetch": "^2.2.6",
"glob-parent": "^6.0.2",
"parse-url": "^8.1.0",
"graphql": "15.8.0",
"xml2js": "0.5.0",
"axios": "^1.7.4",
"**/@aws-amplify/amplify-codegen-e2e-tests/**/fast-xml-parser": "^4.4.1",
"**/@aws-amplify/amplify-codegen-e2e-tests/**/cookie": "^0.7.0"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}