-
-
Notifications
You must be signed in to change notification settings - Fork 3k
/
package.json
177 lines (177 loc) · 6.77 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
{
"scripts": {
"start": "npm run develop",
"develop": "nx run-many -t develop --parallel=999 --output-style=stream --exclude=decap-server",
"build": "npm run build:esm && nx run-many -t build",
"build:esm": "nx run-many -t build:esm",
"build:demo": "npm run build && ncp packages/decap-cms/dist dev-test/dist/",
"build-preview": "npm run build && nx run decap-cms:build-preview --output-style=stream",
"type-check": "tsc --noEmit",
"type-check:watch": "npm run type-check -- --watch",
"clean": "rimraf \"packages/*/dist\" dev-test/dist \"packages/*/node_modules\"",
"reset": "npm run clean",
"test": "npm run lint && npm run type-check && npm run test:unit",
"test:all": "npm run test && npm run test:e2e",
"test:ci": "npm run lint-quiet && npm run type-check && npm run test:unit",
"test:unit": "cross-env NODE_ENV=test jest --no-cache",
"test:e2e": "npm run build:demo && npm run test:e2e:run",
"test:e2e:ci": "npm run build:demo && npm run test:e2e:run-ci",
"test:e2e:dev": "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": "node cypress/run.mjs",
"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}\"",
"lint:js": "eslint --color --ignore-path .gitignore \"{{packages,scripts}/**/,}*.{js,jsx,ts,tsx}\"",
"lint:format": "prettier \"{{packages,scripts}/**/,}*.{js,jsx,ts,tsx,css}\" --list-different",
"format": "npm run lint:js -- --fix --quiet && npm run format:prettier -- --write",
"format:prettier": "prettier \"{{packages,scripts}/**/,}*.{js,jsx,ts,tsx,css}\"",
"prepare": "husky install"
},
"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.11.6",
"@babel/core": "^7.23.9",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-proposal-export-default-from": "^7.10.4",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4",
"@babel/plugin-proposal-numeric-separator": "^7.10.4",
"@babel/plugin-proposal-object-rest-spread": "^7.11.0",
"@babel/plugin-proposal-optional-chaining": "^7.11.0",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/preset-env": "^7.23.9",
"@babel/preset-react": "^7.10.4",
"@babel/preset-typescript": "^7.10.4",
"@commitlint/cli": "^16.0.0",
"@commitlint/config-conventional": "^16.0.0",
"@emotion/eslint-plugin": "^11.0.0",
"@emotion/jest": "^11.11.0",
"@octokit/rest": "^16.28.7",
"@simonsmith/cypress-image-snapshot": "^8.1.2",
"@soda/friendly-errors-webpack-plugin": "^1.8.1",
"@storybook/addon-actions": "^7.5.1",
"@storybook/addon-links": "^7.5.1",
"@storybook/react": "^7.5.1",
"@stylelint/postcss-css-in-js": "^0.37.2",
"@testing-library/dom": "^8.0.0",
"@testing-library/jest-dom": "^5.11.1",
"@testing-library/react": "^14.0.0",
"@types/common-tags": "^1.8.0",
"@types/jest": "^27.0.0",
"@types/js-base64": "^3.0.0",
"@types/jwt-decode": "^2.2.1",
"@types/lodash": "^4.14.149",
"@types/uuid": "^8.3.2",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"all-contributors-cli": "^6.0.0",
"axios": "^1.6.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^11.0.0-beta.2",
"babel-jest": "^27.5.1",
"babel-loader": "^8.0.5",
"babel-plugin-emotion": "^10.0.9",
"babel-plugin-inline-json-import": "^0.3.2",
"babel-plugin-inline-react-svg": "^2.0.0",
"babel-plugin-lodash": "^3.3.4",
"babel-plugin-transform-builtin-extend": "^1.1.2",
"babel-plugin-transform-define": "2.0.1",
"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": "^10.2.4",
"cross-env": "^7.0.0",
"css-loader": "^7.1.2",
"cypress": "12.5.0",
"cypress-jest-adapter": "^0.1.1",
"cypress-plugin-tab": "^1.0.0",
"dotenv": "^10.0.0",
"eslint": "^8.12.0",
"eslint-plugin-cypress": "^2.6.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.17.0",
"eslint-plugin-unicorn": "^41.0.1",
"execa": "^5.0.0",
"fs-extra": "^10.0.0",
"gitlab": "^14.1.1",
"http-server": "^14.0.0",
"husky": "^7.0.0",
"jest": "^27.0.0",
"jest-cli": "^27.0.0",
"jest-environment-jsdom": "^27.0.0",
"js-yaml": "^4.0.0",
"mockserver-client": "^5.8.0",
"mockserver-node": "^5.8.0",
"ncp": "^2.0.0",
"nock": "^13.0.0",
"node-fetch": "^2.3.0",
"npm": "^9.9.2",
"npm-run-all": "^4.1.5",
"nx": "^17.0.2",
"postcss": "^8.4.7",
"postcss-scss": "^4.0.3",
"prettier": "^2.3.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-test-renderer": "^18.2.0",
"rehype": "^7.0.0",
"rimraf": "^3.0.0",
"simple-git": "^3.0.0",
"start-server-and-test": "^1.7.11",
"style-loader": "^3.3.3",
"stylelint": "^14.5.3",
"stylelint-config-standard-scss": "^3.0.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-processor-styled-components": "^1.10.0",
"svg-inline-loader": "^0.8.0",
"to-string-loader": "^1.1.5",
"typescript": "^4.9.4",
"unist-util-visit": "^1.4.0",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.1",
"webpack-dev-server": "^4.11.1"
},
"workspaces": {
"packages": [
"packages/*"
],
"nohoist": [
"husky",
"run-node"
]
},
"private": true,
"dependencies": {
"@emotion/babel-preset-css-prop": "^11.11.0",
"browserify": "^17.0.0",
"buffer": "^6.0.3",
"emotion": "^11.0.0",
"eslint-config-prettier": "^8.0.0",
"eslint-plugin-babel": "^5.3.0",
"globby": "^12.0.0",
"imports-loader": "^4.0.1",
"lerna": "^8.0.2",
"process": "^0.11.10"
},
"resolutions": {
"react-redux": "^7.2.0",
"babel-plugin-lodash/@babel/types": "~7.20.0"
},
"version": "0.0.0"
}