-
Notifications
You must be signed in to change notification settings - Fork 831
/
package.json
172 lines (172 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
{
"name": "baseui",
"version": "8.8.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",
"module": "index.es.js",
"repository": "uber-web/baseui",
"scripts": {
"lint:code": "eslint ./",
"lint:markdown": "markdownlint -c ./.markdownlint.json proposals",
"lint": "yarn lint:code && yarn lint:markdown",
"test": "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",
"storybook:screener": "screener-storybook --conf screener.config.js",
"storybook:screener:dark": "THEME=dark 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 && yarn storybook:screener:dark",
"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": "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/**",
"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:copy-ts-files && yarn build:package-json",
"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": "yarn add puppeteer && jest -c jest.e2e.config.js",
"prepublish": "npm run build",
"icon:generate": "node ./src/icon/build-icons.js",
"predocumentation:dev": "node ./scripts/post-generator.js && node ./scripts/version-generator.js",
"predocumentation:dev:watch": "node ./scripts/post-generator.js && node ./scripts/version-generator.js",
"predocumentation:build": "node ./scripts/post-generator.js && node ./scripts/version-generator.js",
"predocumentation:serve": "node ./scripts/post-generator.js && node ./scripts/version-generator.js",
"documentation:dev": "run-p build:es2015 next:dev",
"documentation:dev:watch": "yarn build:es2015 --watch & next documentation-site",
"documentation:build": "run-s 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": "next build documentation-site",
"next:export": "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-export-default-from": "^7.0.0",
"@babel/plugin-transform-flow-strip-types": "^7.4.4",
"@babel/plugin-transform-runtime": "^7.2.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": "^8.0.0",
"@commitlint/config-conventional": "^8.0.0",
"@mapbox/rehype-prism": "^0.3.1",
"@mdx-js/tag": "^0.20.0",
"@storybook/react": "^4.0.0",
"@types/styletron-engine-atomic": "^1.1.0",
"@types/styletron-react": "^5.0.1",
"@types/styletron-standard": "^2.0.0",
"@uber-web-ui/extract-react-types": "^1.0.1",
"@uber-web-ui/extract-react-types-loader": "^1.0.1",
"@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",
"cross-env": "^5.2.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": "^3.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",
"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-enzyme": "^7.0.1",
"jest-matcher-utils": "^24.0.0",
"jest-puppeteer": "^4.0.0",
"jscodeshift": "^0.6.4",
"markdownlint-cli": "^0.17.0",
"mkdirp": "^0.5.1",
"next": "^9.0.0",
"next-images": "^1.1.0",
"npm-run-all": "^4.1.5",
"prettier": "^1.14.3",
"pretty-proptypes": "^0.6.0",
"pretty-quick": "^1.4.1",
"puppeteer": "^1.12.2",
"raw-loader": "^3.1.0",
"react": "^16.8.3",
"react-codesandboxer": "^3.1.1",
"react-dom": "^16.8.3",
"react-markdown": "^4.0.3",
"react-syntax-highlighter": "^11.0.0",
"react-vis": "^1.11.6",
"recursive-readdir": "^2.2.2",
"screener-storybook": "^0.18.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.0",
"styletron-react": "^5.2.0",
"styletron-standard": "^3.0.0",
"tar": "^4.4.8",
"typescript": "^3.5.3",
"webpack": "^4.17.1",
"webpack-cli": "^3.1.0"
},
"dependencies": {
"card-validator": "^6.1.0",
"date-fns": "2.0.0-beta.2",
"just-extend": "^4.0.2",
"memoize-one": "^5.0.0",
"polished": "^3.2.0",
"popper.js": "^1.14.3",
"react-dropzone": "^9.0.0",
"react-focus-lock": "^1.9.1",
"react-input-mask": "^2.0.4",
"react-is": "^16.8.6",
"react-movable": "^2.2.0",
"react-multi-ref": "^1.0.0",
"react-range": "^1.0.5",
"react-virtualized": "^9.21.1",
"smoothscroll-polyfill": "^0.4.3",
"timezone-support": "^2.0.0"
},
"peerDependencies": {
"react": ">= 16.8.0 < 17",
"react-dom": ">= 16.8.0 < 17",
"styletron-react": "^5.2.0"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -e $GIT_PARAMS",
"pre-commit": "pretty-quick --staged"
}
}
}