UNPKG

10.1 kBJSONView Raw
1{
2 "name": "baseui",
3 "version": "9.92.0",
4 "description": "A React Component library implementing the Base design language",
5 "keywords": [
6 "react",
7 "uber",
8 "baseui",
9 "baseweb"
10 ],
11 "license": "MIT",
12 "types": "index.d.ts",
13 "sideEffects": false,
14 "module": "./esm/index.js",
15 "repository": "uber/baseweb",
16 "scripts": {
17 "lint:code": "eslint ./",
18 "lint:markdown": "markdownlint -c ./.markdownlint.json proposals",
19 "lint": "yarn lint:code && yarn lint:markdown",
20 "pretest": "yarn build:documentation-site-files",
21 "test": "yarn validate:examples && yarn lint && yarn flow check --max-warnings 0 && yarn tsc && yarn unit-test",
22 "storybook": "start-storybook -p 6006 -c e2e/storybook",
23 "build-storybook": "build-storybook -c e2e/storybook -o public/legacy && build-storybook -c e2e/storybook",
24 "prebuild": "shx rm -rf dist",
25 "build:copy-files": "shx cp README.md dist/README.md",
26 "build:copy-flow-files": "node ./scripts/flow-copy-src.js",
27 "build:copy-ts-files": "node ./scripts/ts-copy.js",
28 "build:package-json": "shx cp package.json dist/package.json && node ./scripts/build-package-json.js",
29 "build:cjs": "cross-env NODE_ENV=production BABEL_ENV=cjs babel ./src --out-dir ./dist --ignore **.test.js,**/__tests__/**,**/e2e.js,**/template-component/**,**/test/**",
30 "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/**",
31 "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/**",
32 "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",
33 "build:documentation-site-files": "node ./scripts/build-documentation-site-files.js",
34 "unit-test": "yarn jest --coverage",
35 "e2e:build": "webpack --config ./e2e/webpack.e2e.config.js --mode=production",
36 "e2e:serve": "static-server e2e/dist --port 8080",
37 "e2e:test": "jest --runInBand -c jest.e2e.config.js",
38 "e2e:test:ci": "PUPPETEER_TARGET_URL=http://e2e-server:8080 jest -c jest.e2e.config.js",
39 "vrt": "jest -c jest.vrt.config.js",
40 "vrt:docker:run": "docker-compose run e2e-test bash -c 'yarn add puppeteer && PUPPETEER_TARGET_URL=http://e2e-server:8080 yarn vrt'",
41 "vrt:docker:update": "docker-compose run e2e-test bash -c 'yarn add puppeteer && PUPPETEER_TARGET_URL=http://e2e-server:8080 yarn vrt -u'",
42 "vrt:ci": "PUPPETEER_TARGET_URL=http://e2e-server:8080 node ./vrt/ci.js",
43 "vrt:reset": "shx rm -rf vrt/__image_snapshots__",
44 "icon:generate": "node ./src/icon/build-icons.js",
45 "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",
46 "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.')\"",
47 "predocumentation:dev": "yarn build:documentation-site-files",
48 "predocumentation:dev:watch": "yarn build:documentation-site-files",
49 "predocumentation:build": "yarn build:documentation-site-files",
50 "predocumentation:serve": "yarn build:documentation-site-files",
51 "documentation:dev": "run-s prebuild build:cjs next:dev",
52 "documentation:dev:watch": "yarn prebuild && yarn build:cjs --watch & next documentation-site",
53 "documentation:dev:watch:env": "yarn prebuild && yarn build:cjs --watch & NODE_OPTIONS='-r dotenv/config' next documentation-site",
54 "documentation:build": "run-s prebuild build:cjs next:build next:export",
55 "documentation:serve": "static-server public --port 8081",
56 "documentation:legacy": "node ./scripts/build-docs.js",
57 "next:dev": "next documentation-site",
58 "next:build": "NODE_OPTIONS=--max_old_space_size=4096 next build documentation-site",
59 "next:export": "next export documentation-site -o public",
60 "tsc": "tsc --skipLibCheck",
61 "validate:examples": "node ./scripts/validate-examples.js"
62 },
63 "devDependencies": {
64 "@babel/cli": "^7.6.0",
65 "@babel/core": "^7.8.4",
66 "@babel/parser": "^7.7.3",
67 "@babel/plugin-external-helpers": "^7.2.0",
68 "@babel/plugin-proposal-class-properties": "^7.5.5",
69 "@babel/plugin-proposal-export-default-from": "^7.5.2",
70 "@babel/plugin-syntax-flow": "^7.8.3",
71 "@babel/plugin-transform-flow-strip-types": "^7.4.4",
72 "@babel/plugin-transform-runtime": "^7.6.0",
73 "@babel/polyfill": "^7.6.0",
74 "@babel/preset-env": "^7.6.0",
75 "@babel/preset-flow": "^7.0.0",
76 "@babel/preset-react": "^7.0.0",
77 "@babel/traverse": "^7.7.0",
78 "@babel/types": "^7.7.1",
79 "@commitlint/cli": "^8.0.0",
80 "@commitlint/config-conventional": "^8.0.0",
81 "@date-io/luxon": "^2.7.0",
82 "@date-io/moment": "^2.7.0",
83 "@mdx-js/tag": "^0.20.0",
84 "@octokit/rest": "^16.33.1",
85 "@stackblitz/sdk": "^1.4.0",
86 "@storybook/react": "^5.0.0",
87 "@svgr/cli": "^4.3.2",
88 "@testing-library/jest-dom": "^5.1.1",
89 "@testing-library/react": "^9.1.4",
90 "@testing-library/user-event": "^8.1.0",
91 "@types/babel__code-frame": "^7.0.1",
92 "@types/babel__core": "^7.1.3",
93 "@types/babel__generator": "^7.0.2",
94 "@types/babel__template": "^7.0.2",
95 "@types/babel__traverse": "^7.0.7",
96 "@types/babylon": "^6.16.5",
97 "@types/card-validator": "^4.1.0",
98 "@types/jest": "^24.0.18",
99 "@types/just-pick": "^2.1.0",
100 "@types/lodash": "^4.14.141",
101 "@types/node": "^12.6.8",
102 "@types/prettier": "^1.18.0",
103 "@types/react": "^16.8.23",
104 "@types/react-dom": "^16.8.4",
105 "@types/react-virtualized": "^9.21.3",
106 "@types/react-window": "^1.8.1",
107 "@types/styletron-engine-atomic": "^1.1.0",
108 "@types/styletron-react": "^5.0.1",
109 "@types/styletron-standard": "^2.0.0",
110 "@zeit/next-css": "^1.0.1",
111 "@zeit/next-mdx": "^1.2.0",
112 "axe-core": "^3.1.2",
113 "babel-core": "^7.0.0-bridge.0",
114 "babel-eslint": "^10.0.0",
115 "babel-jest": "^24.0.0",
116 "babel-loader": "^8.0.0",
117 "babel-plugin-transform-define": "^1.3.0",
118 "babel-plugin-transform-styletron-display-name": "^1.1.3",
119 "babel-plugin-webpack-loaders": "^0.9.0",
120 "commander": "^4.0.1",
121 "compression-webpack-plugin": "^3.0.0",
122 "copy-to-clipboard": "^3.2.0",
123 "core-js": "^2.5.7",
124 "cross-env": "^6.0.0",
125 "dotenv": "^8.2.0",
126 "email-validator": "^2.0.4",
127 "enzyme": "^3.9.0",
128 "enzyme-adapter-react-16": "^1.10.0",
129 "enzyme-to-json": "^3.3.5",
130 "eslint": "^6.0.0",
131 "eslint-config-uber-universal-stage-3": "^3.0.0",
132 "eslint-plugin-cup": "^2.0.0",
133 "eslint-plugin-flowtype": "^4.0.0",
134 "eslint-plugin-header": "^3.0.0",
135 "eslint-plugin-import": "^2.13.0",
136 "eslint-plugin-jsx-a11y": "^6.1.0",
137 "eslint-plugin-prettier": "^3.0.0",
138 "eslint-plugin-react": "^7.10.0",
139 "extract-react-types": "^0.26.0",
140 "extract-react-types-loader": "^0.3.13",
141 "flow-bin": "^0.110.0",
142 "globby": "^10.0.1",
143 "husky": "^3.0.0",
144 "isomorphic-fetch": "^2.2.1",
145 "jest": "^24.0.0",
146 "jest-circus": "^24.9.0",
147 "jest-enzyme": "^7.0.1",
148 "jest-image-snapshot": "^2.11.0",
149 "jest-matcher-utils": "^24.0.0",
150 "jest-puppeteer": "^4.0.0",
151 "jscodeshift": "^0.6.4",
152 "just-omit": "^1.1.0",
153 "just-pick": "^2.1.0",
154 "luxon": "1.21.3",
155 "markdownlint-cli": "^0.18.0",
156 "mkdirp": "^0.5.1",
157 "moment": "^2.24.0",
158 "netlify-cli": "^2.15.0",
159 "next": "^9.4.2",
160 "next-images": "^1.1.0",
161 "node-fetch": "^2.6.0",
162 "npm-run-all": "^4.1.5",
163 "prettier": "^1.18.2",
164 "pretty-proptypes": "^1.0.5",
165 "pretty-quick": "^1.4.1",
166 "prism-react-renderer": "^1.0.1",
167 "puppeteer": "^1.20.0",
168 "raw-loader": "^3.1.0",
169 "react": "^16.9.0",
170 "react-compare-image": "^2.0.3",
171 "react-dom": "^16.9.0",
172 "react-icons": "^3.8.0",
173 "react-markdown": "^4.0.3",
174 "react-twitter-embed": "^2.0.8",
175 "react-view": "^2.2.2",
176 "react-vis": "^1.11.6",
177 "remove-flow-types-loader": "^1.1.0",
178 "semver": "^6.2.0",
179 "shx": "^0.3.2",
180 "static-server": "^2.2.1",
181 "storybook-addon-rtl": "^0.2.2",
182 "styletron-engine-atomic": "^1.4.3",
183 "styletron-react": "^5.2.4",
184 "styletron-standard": "^3.0.3",
185 "tar": "^5.0.0",
186 "tsconfig-paths": "^3.9.0",
187 "typescript": "^3.5.3",
188 "universal-cookie": "^4.0.2",
189 "webpack": "^4.17.1",
190 "webpack-bundle-analyzer": "^3.5.0",
191 "webpack-cli": "^3.1.0"
192 },
193 "dependencies": {
194 "@date-io/date-fns": "^2.6.2",
195 "card-validator": "^6.2.0",
196 "date-fns": "^2.6.0",
197 "glob": "^7.1.6",
198 "just-extend": "^4.0.2",
199 "memoize-one": "^5.1.1",
200 "next-transpile-modules": "^3.3.0",
201 "polished": "^3.2.0",
202 "popper.js": "^1.16.0",
203 "react-dropzone": "^9.0.0",
204 "react-focus-lock": "^2.2.1",
205 "react-input-mask": "^2.0.4",
206 "react-is": "^16.8.6",
207 "react-movable": "^2.4.0",
208 "react-multi-ref": "^1.0.0",
209 "react-range": "^1.6.3",
210 "react-uid": "^2.3.0",
211 "react-virtualized": "^9.21.1",
212 "react-virtualized-auto-sizer": "^1.0.2",
213 "react-window": "^1.8.5",
214 "resize-observer-polyfill": "^1.5.1",
215 "timezone-support": "^2.0.2"
216 },
217 "peerDependencies": {
218 "react": ">= 16.8.0 < 17",
219 "react-dom": ">= 16.8.0 < 17",
220 "styletron-react": "^5.2.2"
221 },
222 "resolutions": {
223 "@types/react": "16.8.23"
224 },
225 "husky": {
226 "hooks": {
227 "commit-msg": "commitlint -e $GIT_PARAMS",
228 "pre-commit": "pretty-quick --staged"
229 }
230 },
231 "volta": {
232 "node": "12.14.0",
233 "yarn": "1.19.1"
234 },
235 "engines": {
236 "node": ">=10.x"
237 }
238}