forked from uber/baseweb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
223 lines (223 loc) · 9.25 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
{
"name": "baseui",
"version": "9.11.0",
"description": "A React Component library implementing the Base design language",
"keywords": [
"react",
"uber",
"baseui",
"baseweb"
],
"license": "MIT",
"main": "index.js",
"types": "index.d.ts",
"sideEffects": false,
"module": "/esm/index.js",
"repository": "uber/baseweb",
"scripts": {
"lint:code": "eslint ./",
"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 check --max-warnings 0 && yarn tsc && yarn unit-test",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook -o public/legacy && build-storybook",
"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:es2015": "cross-env NODE_ENV=production babel ./src --out-dir ./dist --ignore **.test.js,**/__tests__/**,**/e2e.js,**/template-component/**,**/test/**",
"build:es2015modules": "cross-env NODE_ENV=production BABEL_ENV=modules 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:es2015 && yarn build:es2015modules && 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": "webpack --config webpack.e2e.config.js --mode=production",
"e2e:serve": "static-server e2e/dist --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 'yarn add puppeteer && PUPPETEER_TARGET_URL=http://e2e-server:8080 yarn vrt'",
"vrt:docker:update": "docker-compose run e2e-test bash -c 'yarn add puppeteer && 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:es2015 next:dev",
"documentation:dev:watch": "yarn prebuild && yarn build:es2015 --watch & next documentation-site",
"documentation:build": "run-s prebuild build:es2015 next:build next:export",
"documentation:serve": "static-server public --port 8081",
"documentation:legacy": "./scripts/build-docs.js",
"next:dev": "next 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",
"validate:examples": "./scripts/validate-examples.js"
},
"devDependencies": {
"@babel/cli": "^7.6.0",
"@babel/code-frame": "^7.5.5",
"@babel/core": "^7.6.0",
"@babel/generator": "^7.6.0",
"@babel/parser": "^7.6.0",
"@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-transform-flow-strip-types": "^7.4.4",
"@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/template": "^7.6.0",
"@babel/traverse": "^7.6.0",
"@babel/types": "^7.6.1",
"@commitlint/cli": "^8.0.0",
"@commitlint/config-conventional": "^8.0.0",
"@mdx-js/tag": "^0.20.0",
"@miksu/prettier": "^1.18.2",
"@octokit/rest": "^16.33.1",
"@storybook/react": "^4.0.0",
"@svgr/cli": "^4.3.2",
"@testing-library/react": "^9.1.4",
"@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": "^24.0.18",
"@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/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": "^3.1.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",
"broken-link-checker": "^0.7.8",
"copy-to-clipboard": "^3.2.0",
"cross-env": "^6.0.0",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.10.0",
"enzyme-to-json": "^3.3.5",
"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.22.1",
"extract-react-types-loader": "^0.3.9",
"flow-bin": "^0.102.0",
"flow-copy-source": "^2.0.2",
"globby": "^10.0.1",
"husky": "^3.0.0",
"import-glob": "^1.5.0",
"isomorphic-fetch": "^2.2.1",
"jest": "^24.0.0",
"jest-circus": "^24.9.0",
"jest-enzyme": "^7.0.1",
"jest-image-snapshot": "^2.11.0",
"jest-matcher-utils": "^24.0.0",
"jest-puppeteer": "^4.0.0",
"jscodeshift": "^0.6.4",
"just-clone": "^3.1.0",
"just-omit": "^1.1.0",
"just-pick": "^2.1.0",
"lodash": "^4.17.15",
"markdownlint-cli": "^0.18.0",
"memory-fs": "^0.5.0",
"mkdirp": "^0.5.1",
"netlify-cli": "^2.15.0",
"next": "^9.0.5",
"next-images": "^1.1.0",
"npm-run-all": "^4.1.5",
"prettier": "^1.18.2",
"pretty-proptypes": "^1.0.0",
"pretty-quick": "^1.4.1",
"prism-react-renderer": "^1.0.1",
"puppeteer": "^1.20.0",
"raw-loader": "^3.1.0",
"react": "^16.9.0",
"react-codesandboxer": "^3.1.1",
"react-dom": "^16.9.0",
"react-markdown": "^4.0.3",
"react-simple-code-editor": "^0.10.0",
"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",
"storybook-addon-rtl": "^0.2.2",
"styletron-engine-atomic": "^1.4.0",
"styletron-react": "^5.2.2",
"styletron-standard": "^3.0.0",
"tar": "^5.0.0",
"terser": "^4.1.4",
"typescript": "^3.5.3",
"universal-cookie": "^4.0.2",
"webpack": "^4.17.1",
"webpack-bundle-analyzer": "^3.5.0",
"webpack-cli": "^3.1.0"
},
"dependencies": {
"card-validator": "^6.2.0",
"date-fns": "^2.6.0",
"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.3.0",
"react-multi-ref": "^1.0.0",
"react-range": "^1.4.3",
"react-virtualized": "^9.21.1",
"react-virtualized-auto-sizer": "^1.0.2",
"react-window": "^1.8.5",
"timezone-support": "^2.0.2"
},
"peerDependencies": {
"react": ">= 16.8.0 < 17",
"react-dom": ">= 16.8.0 < 17",
"styletron-react": "^5.2.2"
},
"resolutions": {
"@types/react": "16.8.23"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -e $GIT_PARAMS",
"pre-commit": "pretty-quick --staged"
}
},
"volta": {
"node": "10.17.0",
"yarn": "1.19.1"
}
}