forked from uber/baseweb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
174 lines (174 loc) · 6.98 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
{
"name": "baseui",
"version": "5.13.2",
"description": "React implementation of uber design components platform.",
"keywords": [
"react",
"uber",
"baseui"
],
"license": "MIT",
"main": "index.js",
"module": "index.es.js",
"repository": "uber-web/baseui",
"scripts": {
"lint:code": "eslint ./",
"lint:markdown": "markdownlint -c ./.markdownlint.json proposals README.md",
"lint": "yarn lint:code && yarn lint:markdown",
"test": "yarn lint && yarn flow && yarn unit-test",
"storybook": "start-storybook -p 6006",
"storybook:move": "start-storybook -c .storybook-move -p 6006",
"storybook:dark": "start-storybook -c .storybook-dark -p 6006",
"build-storybook": "build-storybook -o public/legacy && build-storybook -c .storybook-move -o public/legacy-move && build-storybook -c .storybook-dark -o public/legacy-dark",
"storybook:screener": "screener-storybook --conf screener.config.js",
"storybook:screener:ngrok": "node ./node_modules/screener-ngrok/postinstall.js",
"storybook:screener:ci": "yarn storybook:screener:ngrok && yarn storybook:screener",
"prebuild": "rimraf dist",
"build:copy-files": "cp README.md dist/README.md",
"build:copy-flow-files": "./scripts/flow-copy-src.js",
"build:package-json": "./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/**",
"build:es2015modules": "cross-env NODE_ENV=production BABEL_ENV=modules babel ./src --out-dir ./dist/esm --ignore **.test.js,**/__tests__/**,**/e2e.js,template-component/**",
"build:es": "cross-env NODE_ENV=production BABEL_ENV=es babel ./src --out-dir ./dist/es --ignore **.test.js,**/__tests__/**,**/e2e.js,template-component/**",
"build": "yarn build:es2015 && yarn build:es2015modules && yarn build:es && yarn build:copy-files && yarn build:copy-flow-files && yarn build:package-json",
"unit-test": "yarn jest --coverage",
"localtunnel": "lt",
"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": "yarn add puppeteer && jest -c jest.e2e.config.js",
"prepublish": "npm run build",
"icon:generate": "./src/icon/build-icons.js",
"now": "now",
"documentation:dev": "yarn build:es2015 && next documentation-site",
"documentation:build": "yarn build:es2015 && next build documentation-site && next export documentation-site -o public"
},
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/plugin-external-helpers": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-decorators": "^7.0.0",
"@babel/plugin-proposal-do-expressions": "^7.0.0",
"@babel/plugin-proposal-export-default-from": "^7.0.0",
"@babel/plugin-proposal-export-namespace-from": "^7.0.0",
"@babel/plugin-proposal-function-sent": "^7.0.0",
"@babel/plugin-proposal-json-strings": "^7.0.0",
"@babel/plugin-proposal-logical-assignment-operators": "^7.0.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.0.0",
"@babel/plugin-proposal-numeric-separator": "^7.0.0",
"@babel/plugin-proposal-optional-chaining": "^7.0.0",
"@babel/plugin-proposal-pipeline-operator": "^7.0.0",
"@babel/plugin-proposal-throw-expressions": "^7.0.0",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/plugin-syntax-import-meta": "^7.0.0",
"@babel/plugin-transform-flow-strip-types": "^7.0.0",
"@babel/polyfill": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@commitlint/cli": "^7.0.0",
"@commitlint/config-conventional": "^7.0.0",
"@mapbox/rehype-prism": "^0.3.1",
"@mdx-js/tag": "^0.16.6",
"@storybook/addon-a11y": "^4.0.0",
"@storybook/addon-actions": "^4.0.0",
"@storybook/addon-info": "^4.0.0",
"@storybook/addon-knobs": "^4.0.0",
"@storybook/addon-links": "^4.0.0",
"@storybook/addon-options": "^4.0.0",
"@storybook/addon-viewport": "^4.0.0",
"@storybook/addons": "^4.0.0",
"@storybook/react": "^4.0.0",
"@uber-web-ui/extract-react-types-loader": "^1.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": "^23.4.2",
"babel-loader": "^8.0.0",
"babel-plugin-transform-define": "^1.3.0",
"babel-plugin-transform-styletron-display-name": "^1.1.0",
"babel-plugin-webpack-loaders": "^0.9.0",
"chromedriver": "^2.40.0",
"cross-env": "^5.2.0",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "npm:enzyme-react-adapter-future",
"enzyme-to-json": "^3.3.4",
"eslint": "^5.0.1",
"eslint-config-uber-universal-stage-3": "^3.0.0",
"eslint-plugin-cup": "^2.0.0",
"eslint-plugin-flowtype": "^3.0.0",
"eslint-plugin-header": "^2.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",
"flow-bin": "^0.91.0",
"flow-copy-source": "^2.0.2",
"front-matter": "^3.0.1",
"geckodriver": "^1.11.0",
"husky": "^1.0.0",
"import-glob": "^1.5.0",
"isomorphic-fetch": "^2.2.1",
"jest": "^23.3.0",
"jest-enzyme": "^7.0.0",
"jest-matcher-utils": "^24.0.0",
"jest-puppeteer": "^3.9.0",
"localtunnel": "^1.9.1",
"markdownlint-cli": "^0.13.0",
"next": "^7.0.2",
"next-images": "^1.0.3",
"now": "^13.1.2",
"prettier": "^1.14.3",
"pretty-proptypes": "^0.5.0",
"pretty-quick": "^1.4.1",
"puppeteer": "^1.11.0",
"react": "^16.4.0",
"react-codesandboxer": "^3.1.1",
"react-copy-to-clipboard": "^5.0.1",
"react-dom": "^16.4.0",
"react-markdown": "^4.0.3",
"react-syntax-highlighter": "^10.1.2",
"react-virtualized": "^9.21.0",
"react-x-ray": "^1.0.0-4",
"recursive-readdir": "^2.2.2",
"rimraf": "^2.6.2",
"screener-storybook": "^0.16.2",
"selenium-server-standalone-jar": "^3.14.0",
"selenium-webdriver": "^4.0.0-alpha.1",
"static-server": "^2.2.1",
"storybook-readme": "^4.0.2",
"styletron-engine-atomic": "^1.0.5",
"styletron-react": "^4.4.4",
"styletron-standard": "^2.0.1",
"webpack": "^4.17.1",
"webpack-cli": "^3.1.0"
},
"dependencies": {
"date-fns": "2.0.0-alpha.27",
"memoize-one": "^5.0.0",
"popper.js": "^1.14.3",
"react-dropzone": "^8.0.0",
"react-input-mask": "^2.0.4",
"react-movable": "^1.0.1",
"smoothscroll-polyfill": "^0.4.3"
},
"peerDependencies": {
"react": ">= 16.4.0 < 17",
"react-dom": ">= 16.4.0 < 17",
"styletron-react": "^4.4.4"
},
"engines": {
"node": ">=8.11.0",
"npm": ">=5.6.0",
"yarn": ">=1.5.1"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -e $GIT_PARAMS",
"pre-commit": "pretty-quick --staged"
}
}
}