forked from decaporg/decap-cms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
195 lines (195 loc) · 8.7 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
183
184
185
186
187
188
189
190
191
192
193
194
195
{
"scripts": {
"bootstrap": "lerna bootstrap",
"start": "run-s clean bootstrap build:esm develop",
"develop": "lerna run develop --parallel --ignore netlify-cms-proxy-server",
"build": "run-s clean build:esm build:lerna",
"build:lerna": "lerna run build",
"build:esm": "lerna run build:esm",
"build-preview": "run-s build build-preview:lerna",
"build-preview:lerna": "lerna run build-preview",
"build:demo": "run-s build build:demo:copy",
"build:demo:copy": "ncp packages/netlify-cms/dist dev-test/dist/",
"type-check": "tsc --noEmit",
"type-check:watch": "npm run type-check -- --watch",
"clean": "rimraf \"packages/*/dist\" dev-test/dist",
"clean:lerna": "lerna clean --yes",
"reset": "run-s clean clean:lerna",
"test": "run-s clean lint type-check test:unit",
"test:ci": "run-s clean lint-quiet type-check test:unit",
"test:all": "run-s test test:e2e",
"test:all:ci": "run-s test:ci test:e2e:ci",
"test:unit": "cross-env NODE_ENV=test jest --no-cache",
"test:e2e": "run-s build:demo test:e2e:run",
"test:e2e:ci": "run-s build:demo test:e2e:run-ci",
"test:e2e:dev": "run-p clean && start-test develop 8080 test:e2e:exec-dev",
"test:e2e:serve": "http-server -c-1 dev-test",
"test:e2e:exec": "cypress run --browser chrome --headless",
"test:e2e:exec-ci": "cypress run --browser chrome --headless --record --parallel --ci-build-id $GITHUB_SHA --group 'GitHub CI' displayName: 'Run Cypress tests'",
"test:e2e:exec-dev": "cypress open",
"test:e2e:record-fixtures:dev": "HTTP_PROXY=http://localhost:1080 RECORD_FIXTURES=true cypress open",
"test:e2e:run": "start-test test:e2e:serve 8080 test:e2e:exec",
"test:e2e:run-ci": "start-test test:e2e:serve 8080 test:e2e:exec-ci",
"mock:server:start": "node -e 'require(\"./cypress/utils/mock-server\").start()'",
"mock:server:stop": "node -e 'require(\"./cypress/utils/mock-server\").stop()'",
"lint": "run-p -c --aggregate-output \"lint:*\"",
"lint-quiet": "run-p -c --aggregate-output \"lint:* --quiet\"",
"lint:css": "stylelint --ignore-path .gitignore \"{packages/**/*.{css,js,jsx,ts,tsx},website/**/*.css}\"",
"lint:js": "eslint --color --ignore-path .gitignore \"{{packages,scripts,website}/**/,}*.{js,jsx,ts,tsx}\"",
"lint:format": "prettier \"{{packages,scripts,website}/**/,}*.{js,jsx,ts,tsx,css}\" --list-different",
"format": "run-s \"lint:js --fix --quiet\" \"format:prettier --write\"",
"format:prettier": "prettier \"{{packages,scripts,website}/**/,}*.{js,jsx,ts,tsx,css}\"",
"publish": "run-s publish:before-manual-version publish:after-manual-version",
"publish:ci": "run-s publish:prepare \"publish:version --yes\" build publish:push-git \"publish:from-git --yes\"",
"publish:ci:github": "run-s publish:prepare \"publish:version --yes\" build publish:push-git:ci \"publish:from-git --yes\"",
"publish:before-manual-version": "run-s publish:prepare publish:version",
"publish:after-manual-version": "run-s build publish:push",
"publish:prepare": "run-s bootstrap test",
"publish:version": "lerna version --no-push",
"publish:push": "run-s publish:push-git publish:from-git",
"publish:push-git": "git push --follow-tags",
"publish:push-git:ci": "git push \"https://$GITHUB_ACTOR:$PUSH_TOKEN@github.com/$GITHUB_REPOSITORY.git\" --follow-tags",
"publish:from-git": "lerna publish from-git --pre-dist-tag beta",
"publish:dry-run": "run-s \"publish:version --no-git-tag-version\"",
"publish:prerelease": "run-s publish:prerelease:before-manual-version publish:after-manual-version",
"publish:prerelease:ci": "run-s publish:prepare \"publish:version --conventional-prerelease --yes\" build publish:push-git \"publish:from-git --yes\"",
"publish:prerelease:before-manual-version": "run-s publish:prepare publish:prerelease:version",
"publish:prerelease:version": "run-s \"publish:version --conventional-prerelease\"",
"publish:prerelease:dry-run": "run-s \"publish:version --conventional-prerelease --no-git-tag-version\"",
"publish:graduate": "run-s publish:graduate:before-manual-version publish:after-manual-version",
"publish:graduate:ci": "run-s publish:prepare \"publish:version --conventional-graduate --yes\" build publish:push-git \"publish:from-git --yes\"",
"publish:graduate:before-manual-version": "run-s publish:prepare publish:graduate:version",
"publish:graduate:version": "run-s \"publish:version --conventional-graduate\"",
"publish:graduate:dry-run": "run-s \"publish:version --conventional-graduate --no-git-tag-version\"",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
},
"browserslist": [
"last 2 Chrome versions",
"last 2 Opera versions",
"last 2 Firefox versions",
"last 2 Edge versions",
"last 2 Safari versions",
"last 2 iOS versions",
"last 2 ChromeAndroid versions"
],
"devDependencies": {
"@babel/cli": "^7.7.4",
"@babel/core": "^7.7.4",
"@babel/plugin-proposal-class-properties": "^7.7.4",
"@babel/plugin-proposal-export-default-from": "^7.2.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.4.4",
"@babel/plugin-proposal-numeric-separator": "^7.7.4",
"@babel/plugin-proposal-object-rest-spread": "^7.7.4",
"@babel/plugin-proposal-optional-chaining": "^7.7.4",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/preset-env": "^7.7.4",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.7.4",
"@commitlint/cli": "^8.3.3",
"@commitlint/config-conventional": "^8.2.0",
"@octokit/rest": "^16.28.7",
"@storybook/addon-actions": "^5.3.6",
"@storybook/addon-links": "^5.3.6",
"@storybook/react": "^5.3.6",
"@testing-library/jest-dom": "^4.2.3",
"@testing-library/react": "^9.3.2",
"@types/common-tags": "^1.8.0",
"@types/jest": "^24.0.23",
"@types/js-base64": "^2.3.1",
"@types/jwt-decode": "^2.2.1",
"@types/lodash": "^4.14.149",
"@types/uuid": "^3.4.6",
"@typescript-eslint/eslint-plugin": "^2.9.0",
"@typescript-eslint/parser": "^2.9.0",
"all-contributors-cli": "^6.0.0",
"axios": "^0.19.2",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^11.0.0-beta.2",
"babel-jest": "^24.5.0",
"babel-loader": "^8.0.5",
"babel-plugin-emotion": "^10.0.9",
"babel-plugin-inline-json-import": "^0.3.2",
"babel-plugin-inline-react-svg": "^1.1.0",
"babel-plugin-lodash": "^3.3.4",
"babel-plugin-module-resolver": "^3.2.0",
"babel-plugin-transform-builtin-extend": "^1.1.2",
"babel-plugin-transform-define": "1.3.2",
"babel-plugin-transform-export-extensions": "^6.22.0",
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
"cache-me-outside": "^0.0.10",
"copy-webpack-plugin": "^5.0.1",
"cross-env": "^6.0.0",
"css-loader": "^3.0.0",
"cypress": "^4.6.0",
"cypress-file-upload": "^3.5.1",
"cypress-image-snapshot": "^3.1.1",
"cypress-jest-adapter": "^0.1.1",
"cypress-plugin-tab": "^1.0.0",
"dom-testing-library": "^4.0.0",
"dotenv": "^8.0.0",
"eslint": "^6.7.2",
"eslint-plugin-cypress": "^2.6.0",
"eslint-plugin-emotion": "^10.0.7",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-react": "^7.17.0",
"friendly-errors-webpack-plugin": "^1.7.0",
"fs-extra": "^8.1.0",
"gitlab": "^14.1.1",
"http-server": "^0.12.0",
"husky": "^3.0.9",
"jest": "^24.9.0",
"jest-cli": "^24.5.0",
"jest-dom": "^3.1.3",
"jest-emotion": "^10.0.9",
"js-yaml": "^3.13.1",
"mockserver-client": "^5.8.0",
"mockserver-node": "^5.8.0",
"ncp": "^2.0.0",
"nock": "^11.0.0",
"node-fetch": "^2.3.0",
"npm-run-all": "^4.1.5",
"prettier": "^1.19.1",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-test-renderer": "^16.8.4",
"rehype": "^7.0.0",
"rimraf": "^3.0.0",
"simple-git": "^2.0.0",
"start-server-and-test": "^1.7.11",
"style-loader": "^0.23.1",
"stylelint": "^9.10.1",
"stylelint-config-recommended": "^2.1.0",
"stylelint-config-styled-components": "^0.1.1",
"svg-inline-loader": "^0.8.0",
"to-string-loader": "^1.1.5",
"typescript": "^3.7.2",
"unist-util-visit": "^1.4.0",
"webpack": "^4.29.6",
"webpack-cli": "^3.2.3",
"webpack-dev-server": "^3.2.1"
},
"workspaces": {
"packages": [
"packages/*"
],
"nohoist": [
"husky",
"run-node"
]
},
"private": true,
"dependencies": {
"@emotion/babel-preset-css-prop": "^10.0.9",
"emotion": "^10.0.9",
"eslint-config-prettier": "^6.7.0",
"eslint-plugin-babel": "^5.3.0",
"lerna": "^3.15.0"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}