forked from uber/baseweb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
238 lines (238 loc) · 9.66 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
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
{
"name": "baseui",
"version": "10.1.0",
"description": "A React Component library implementing the Base design language",
"keywords": [
"react",
"uber",
"baseui",
"baseweb"
],
"license": "MIT",
"types": "index.d.ts",
"sideEffects": false,
"module": "./esm/index.js",
"repository": "uber/baseweb",
"scripts": {
"lint:code": "eslint ./ --fix --cache",
"lint:markdown": "markdownlint -c ./.markdownlint.json proposals",
"lint": "yarn lint:code && yarn lint:markdown",
"pretest": "yarn build:documentation-site-files",
"test": "yarn validate:examples && yarn lint && yarn flow && yarn tsc && yarn unit-test",
"flow": "flow check --max-warnings 0",
"prebuild": "shx rm -rf dist",
"build:copy-files": "shx cp README.md dist/README.md",
"build:copy-flow-files": "node ./scripts/flow-copy-src.js",
"build:copy-ts-files": "node ./scripts/ts-copy.js",
"build:package-json": "shx cp package.json dist/package.json && node ./scripts/build-package-json.js",
"build:cjs": "cross-env NODE_ENV=production BABEL_ENV=cjs babel ./src --out-dir ./dist --ignore **.test.js,**/__tests__/**,**/e2e.js,**/template-component/**,**/test/**",
"build:esm": "cross-env NODE_ENV=production BABEL_ENV=esm babel ./src --out-dir ./dist/esm --ignore **.test.js,**/__tests__/**,**/e2e.js,**/template-component/**,**/test/**",
"build:es": "cross-env NODE_ENV=production BABEL_ENV=es babel ./src --out-dir ./dist/es --ignore **.test.js,**/__tests__/**,**/e2e.js,**/template-component/**,**/test/**",
"build": "yarn build:cjs && yarn build:esm && yarn build:es && yarn build:copy-files && yarn build:copy-flow-files && yarn build:copy-ts-files && yarn build:package-json",
"build:documentation-site-files": "node ./scripts/build-documentation-site-files.js",
"unit-test": "yarn jest --coverage",
"e2e:build": "yarn ladle build --out build-ladle",
"e2e:serve": "static-server build-ladle --port 8080",
"e2e:test": "jest --runInBand -c jest.e2e.config.js",
"e2e:test:ci": "PUPPETEER_TARGET_URL=http://e2e-server:8080 jest -c jest.e2e.config.js",
"vrt": "jest -c jest.vrt.config.js",
"vrt:docker:run": "docker-compose run e2e-test bash -c 'PUPPETEER_TARGET_URL=http://e2e-server:8080 yarn vrt'",
"vrt:docker:update": "docker-compose run e2e-test bash -c 'PUPPETEER_TARGET_URL=http://e2e-server:8080 yarn vrt -u'",
"vrt:ci": "PUPPETEER_TARGET_URL=http://e2e-server:8080 node ./vrt/ci.js",
"vrt:reset": "shx rm -rf vrt/__image_snapshots__",
"icon:generate": "node ./src/icon/build-icons.js",
"thumbs:generate": "svgr --template ./documentation-site/components/thumbs/template.js --replace-attr-values \"#F6F6F6={props.colors[0]}\" --replace-attr-values \"#E2E2E2={props.colors[1]}\" --replace-attr-values \"#CBCBCB={props.colors[2]}\" -d ./documentation-site/components/thumbs/components ./documentation-site/components/thumbs/svg",
"install": "node -e \"console.log('If you are using Webpack, please make sure to update to version ^4.32.0, as this Base Web version depends on a webpack fix delivered in that version. If you are using Fusion.js make sure to upgrade fusion-cli to ^2.4.2 as it has the Webpack upgrade.')\"",
"predocumentation:dev": "yarn build:documentation-site-files",
"predocumentation:dev:watch": "yarn build:documentation-site-files",
"predocumentation:build": "yarn build:documentation-site-files",
"predocumentation:serve": "yarn build:documentation-site-files",
"documentation:dev": "run-s prebuild build:cjs next:dev",
"documentation:dev:watch": "yarn prebuild && yarn build:cjs --watch & next documentation-site",
"documentation:build": "run-s prebuild build:cjs next:build next:export",
"documentation:serve": "static-server public --port 8081",
"next:dev": "next dev documentation-site",
"next:build": "NODE_OPTIONS=--max_old_space_size=4096 next build documentation-site",
"next:export": "next export documentation-site -o public",
"tsc": "tsc --skipLibCheck",
"validate:examples": "node ./scripts/validate-examples.js"
},
"devDependencies": {
"@babel/cli": "^7.6.0",
"@babel/core": "^7.8.4",
"@babel/helper-builder-react-jsx": "^7.12.13",
"@babel/parser": "^7.7.3",
"@babel/plugin-external-helpers": "^7.2.0",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-proposal-export-default-from": "^7.5.2",
"@babel/plugin-syntax-flow": "^7.8.3",
"@babel/plugin-transform-flow-strip-types": "^7.4.4",
"@babel/plugin-transform-react-jsx-self": "^7.12.13",
"@babel/plugin-transform-react-jsx-source": "^7.12.13",
"@babel/plugin-transform-runtime": "^7.6.0",
"@babel/polyfill": "^7.6.0",
"@babel/preset-env": "^7.6.0",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.13.0",
"@babel/traverse": "^7.7.0",
"@babel/types": "^7.7.1",
"@commitlint/cli": "^8.0.0",
"@commitlint/config-conventional": "^8.0.0",
"@date-io/luxon": "^2.7.0",
"@date-io/moment": "^2.7.0",
"@ladle/react": "^0.2.0",
"@mdx-js/tag": "^0.20.0",
"@octokit/rest": "^16.33.1",
"@svgr/cli": "^4.3.2",
"@testing-library/jest-dom": "^5.11.5",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"@types/babel__code-frame": "^7.0.1",
"@types/babel__core": "^7.1.3",
"@types/babel__generator": "^7.0.2",
"@types/babel__template": "^7.0.2",
"@types/babel__traverse": "^7.0.7",
"@types/babylon": "^6.16.5",
"@types/card-validator": "^4.1.0",
"@types/jest": "^26.0.0",
"@types/just-pick": "^2.1.0",
"@types/lodash": "^4.14.141",
"@types/node": "^12.6.8",
"@types/prettier": "^1.18.0",
"@types/react": "^16.8.23",
"@types/react-dom": "^16.8.4",
"@types/react-virtualized": "^9.21.3",
"@types/react-window": "^1.8.1",
"@types/styletron-engine-atomic": "^1.1.0",
"@types/styletron-react": "^5.0.1",
"@types/styletron-standard": "^2.0.0",
"@zeit/next-css": "^1.0.1",
"@zeit/next-mdx": "^1.2.0",
"axe-core": "^4.2.2",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.0",
"babel-jest": "^24.0.0",
"babel-loader": "^8.0.0",
"babel-plugin-transform-define": "^1.3.0",
"babel-plugin-transform-styletron-display-name": "^1.1.3",
"babel-plugin-webpack-loaders": "^0.9.0",
"codesandboxer": "^1.0.3",
"commander": "^4.0.1",
"compression-webpack-plugin": "^3.0.0",
"copy-to-clipboard": "^3.2.0",
"core-js": "^2.5.7",
"cross-env": "^6.0.0",
"email-validator": "^2.0.4",
"eslint": "^6.0.0",
"eslint-config-uber-universal-stage-3": "^3.0.0",
"eslint-plugin-cup": "^2.0.0",
"eslint-plugin-flowtype": "^4.0.0",
"eslint-plugin-header": "^3.0.0",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-jsx-a11y": "^6.1.0",
"eslint-plugin-prettier": "^3.0.0",
"eslint-plugin-react": "^7.10.0",
"extract-react-types": "^0.26.0",
"extract-react-types-loader": "^0.3.13",
"flow-bin": "^0.110.0",
"globby": "^10.0.1",
"husky": "^3.0.0",
"isomorphic-fetch": "^2.2.1",
"jest": "^26.6.0",
"jest-circus": "^26.6.1",
"jest-image-snapshot": "^2.11.0",
"jest-matcher-utils": "^26.6.1",
"jest-puppeteer": "^5.0.4",
"jscodeshift": "^0.6.4",
"just-omit": "^1.1.0",
"just-pick": "^2.1.0",
"luxon": "1.21.3",
"markdownlint-cli": "^0.18.0",
"mkdirp": "^0.5.1",
"moment": "^2.24.0",
"next": "^10.0.0",
"next-images": "^1.6.2",
"next-transpile-modules": "^6.0.0",
"node-fetch": "^2.6.1",
"now": "16.5.2",
"npm-run-all": "^4.1.5",
"prettier": "^1.18.2",
"pretty-proptypes": "^1.0.5",
"pretty-quick": "^1.4.1",
"prism-react-renderer": "^1.0.1",
"puppeteer": "^9.1.1",
"query-string": "^6.14.0",
"raw-loader": "^3.1.0",
"react": "^16.9.0",
"react-codesandboxer": "^3.1.5",
"react-compare-image": "^2.0.3",
"react-dom": "^16.9.0",
"react-hook-form": "^7.9.0",
"react-icons": "^3.8.0",
"react-markdown": "^4.0.3",
"react-twitter-embed": "^2.0.8",
"react-view": "^2.3.3",
"react-vis": "^1.11.6",
"remove-flow-types-loader": "^1.1.0",
"semver": "^6.2.0",
"shx": "^0.3.2",
"static-server": "^2.2.1",
"styletron-engine-atomic": "^1.4.3",
"styletron-react": "^5.2.4",
"styletron-standard": "^3.0.3",
"tar": "^5.0.0",
"tsconfig-paths": "^3.9.0",
"typescript": "^3.8.0",
"universal-cookie": "^4.0.2",
"webpack": "^4.17.1",
"webpack-bundle-analyzer": "^3.5.0",
"webpack-cli": "^3.1.0"
},
"dependencies": {
"@date-io/date-fns": "^2.6.2",
"card-validator": "^6.2.0",
"date-fns": "^2.6.0",
"glob": "^7.1.6",
"just-extend": "^4.0.2",
"memoize-one": "^5.1.1",
"polished": "^3.2.0",
"popper.js": "^1.16.0",
"react-dropzone": "^9.0.0",
"react-focus-lock": "^2.2.1",
"react-input-mask": "^2.0.4",
"react-is": "^16.8.6",
"react-movable": "^2.5.4",
"react-multi-ref": "^1.0.0",
"react-range": "^1.8.0",
"react-uid": "^2.3.0",
"react-virtualized": "^9.21.1",
"react-virtualized-auto-sizer": "^1.0.2",
"react-window": "^1.8.5",
"resize-observer-polyfill": "^1.5.1",
"timezone-support": "^2.0.2"
},
"peerDependencies": {
"react": ">= 16.8.0 < 18",
"react-dom": ">= 16.8.0 < 18",
"styletron-react": ">=5.2.2 < 7"
},
"resolutions": {
"@types/react": "16.8.23",
"@types/jest/jest-diff": "^25.1.0",
"@types/jest/pretty-format": "^25.1.0"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -e $GIT_PARAMS",
"pre-commit": "pretty-quick --staged"
}
},
"volta": {
"node": "14.15.4",
"yarn": "1.19.1"
},
"engines": {
"node": ">=10.x"
}
}