forked from mui/material-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
182 lines (182 loc) · 7.53 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
{
"version": "4.9.5",
"private": true,
"scripts": {
"proptypes": "ts-node --skip-project ./scripts/generateProptypes.ts",
"deduplicate": "node scripts/deduplicate.js",
"argos": "argos upload test/regressions/screenshots/chrome --token $ARGOS_TOKEN",
"build:codesandbox": "lerna run --parallel --scope \"@material-ui/*\" build",
"docs:api": "rimraf ./docs/pages/api && cross-env BABEL_ENV=test __NEXT_EXPORT_TRAILING_SLASH=true babel-node ./docs/scripts/buildApi.js ./packages/material-ui/src ./docs/pages/api-docs && cross-env BABEL_ENV=test __NEXT_EXPORT_TRAILING_SLASH=true babel-node ./docs/scripts/buildApi.js ./packages/material-ui-lab/src ./docs/pages/api-docs",
"docs:build": "yarn workspace docs build",
"docs:build-sw": "yarn workspace docs build-sw",
"docs:deploy": "yarn workspace docs deploy",
"docs:dev": "yarn workspace docs dev",
"docs:export": "yarn workspace docs export",
"docs:icons": "yarn workspace docs icons",
"docs:size-why": "cross-env DOCS_STATS_ENABLED=true yarn docs:build",
"docs:start": "yarn workspace docs icons",
"docs:i18n": "cross-env BABEL_ENV=test babel-node ./docs/scripts/i18n.js",
"docs:typescript": "yarn workspace docs typescript:transpile:dev",
"docs:typescript:check": "yarn workspace docs typescript",
"docs:typescript:formatted": "yarn workspace docs typescript:transpile",
"docs:mdicons:synonyms": "babel-node --config-file ./babel.config.js ./docs/scripts/updateIconSynonyms",
"framer:build": "yarn workspace framer build",
"jsonlint": "node scripts/jsonlint.js",
"lint": "eslint . --cache --report-unused-disable-directives",
"lint:ci": "eslint . --report-unused-disable-directives",
"lint:fix": "eslint . --cache --fix",
"prettier": "node ./scripts/prettier.js",
"prettier:all": "node ./scripts/prettier.js write",
"size:snapshot": "node scripts/sizeSnapshot/create",
"size:why": "size-limit --why packages/material-ui/build/index.js",
"start": "yarn docs:dev",
"test": "yarn lint && yarn typescript && yarn test:coverage",
"test:coverage": "cross-env NODE_ENV=test BABEL_ENV=coverage nyc mocha 'packages/**/*.test.js' 'docs/**/*.test.js' --exclude '**/node_modules/**' && nyc report -r lcovonly",
"test:coverage:html": "cross-env NODE_ENV=test BABEL_ENV=coverage nyc mocha 'packages/**/**/*.test.js' --exclude '**/node_modules/**' && nyc report --reporter=html",
"test:karma": "cross-env NODE_ENV=test karma start test/karma.conf.js",
"test:regressions": "webpack --config test/regressions/webpack.config.js && rimraf test/regressions/screenshots/chrome/* && vrtest run --config test/vrtest.config.js --record",
"test:umd": "node packages/material-ui/test/umd/run.js",
"test:unit": "cross-env NODE_ENV=test mocha 'packages/**/*.test.js' 'docs/**/*.test.js' 'scripts/**/*.test.js' --exclude '**/node_modules/**'",
"test:watch": "yarn test:unit --watch",
"typescript": "lerna run typescript --parallel"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.8.6",
"@babel/node": "^7.8.4",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-object-rest-spread": "^7.8.3",
"@babel/plugin-transform-object-assign": "^7.8.3",
"@babel/plugin-transform-react-constant-elements": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.8.3",
"@babel/preset-env": "^7.8.6",
"@babel/preset-react": "^7.8.3",
"@babel/register": "^7.8.6",
"@rollup/plugin-replace": "^2.3.1",
"@testing-library/dom": "^6.8.1",
"@testing-library/react": "^9.3.2",
"@testing-library/react-hooks": "3.2.1",
"@types/chai": "^4.2.3",
"@types/chai-dom": "^0.0.8",
"@types/enzyme": "^3.10.3",
"@types/fs-extra": "^8.0.0",
"@types/glob": "^7.1.1",
"@types/jsdom": "^16.1.0",
"@types/lodash": "^4.14.138",
"@types/mocha": "^7.0.1",
"@types/prettier": "^1.18.0",
"@types/react": "^16.9.3",
"@types/sinon": "^7.0.13",
"argos-cli": "^0.1.2",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.3",
"babel-loader": "^8.0.0",
"babel-plugin-istanbul": "^6.0.0",
"babel-plugin-module-resolver": "^4.0.0",
"babel-plugin-optimize-clsx": "^2.3.0",
"babel-plugin-react-remove-properties": "^0.3.0",
"babel-plugin-tester": "^8.0.0",
"babel-plugin-transform-dev-warning": "^0.1.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.21",
"chai": "^4.1.2",
"chai-dom": "^1.8.1",
"chalk": "^3.0.0",
"compression-webpack-plugin": "^3.0.0",
"confusing-browser-globals": "^1.0.9",
"core-js": "^2.6.11",
"cross-env": "^7.0.0",
"danger": "^9.1.8",
"dom-accessibility-api": "^0.3.0",
"dtslint": "^3.2.0",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.14.0",
"eslint": "^5.9.0",
"eslint-config-airbnb": "^17.1.1",
"eslint-config-prettier": "^6.2.0",
"eslint-import-resolver-webpack": "^0.12.0",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-mocha": "^6.1.1",
"eslint-plugin-react": "^7.14.3",
"eslint-plugin-react-hooks": "^2.1.1",
"expect-puppeteer": "^4.3.0",
"format-util": "^1.0.5",
"fs-extra": "^8.1.0",
"glob": "^7.1.2",
"glob-gitignore": "^1.0.11",
"jsdom": "^16.0.0",
"karma": "^4.3.0",
"karma-browserstack-launcher": "~1.4.0",
"karma-chrome-launcher": "^3.0.0",
"karma-mocha": "^1.3.0",
"karma-mocha-reporter": "^2.2.5",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^4.0.2",
"lerna": "^3.16.4",
"lodash": "^4.17.15",
"mocha": "^7.0.0",
"node-fetch": "^ 2.6.0",
"nyc": "^15.0.0",
"prettier": "1.17.0",
"pretty-bytes": "^5.3.0",
"pretty-format-v24": "npm:pretty-format@24",
"prop-types": "^15.7.2",
"puppeteer": "^2.0.0",
"react": "^16.13.0",
"react-dom": "^16.13.0",
"react-test-renderer": "^16.13.0",
"rimraf": "^3.0.0",
"rollup": "^1.21.4",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-size-snapshot": "^0.11.0",
"rollup-plugin-terser": "^5.1.1",
"sinon": "^9.0.0",
"size-limit": "^0.21.0",
"ts-node": "^8.3.0",
"tslint": "5.14.0",
"typescript": "^3.8.2",
"typescript-to-proptypes": "^1.4.0",
"vrtest-mui": "^0.3.3",
"webpack": "^4.41.0",
"webpack-cli": "^3.3.9",
"yargs": "^15.2.0",
"yarn-deduplicate": "^2.0.0"
},
"resolutions": {
"**/@babel/core": "^7.8.6",
"**/@babel/plugin-proposal-class-properties": "^7.8.3",
"**/@babel/plugin-proposal-object-rest-spread": "^7.8.3",
"**/@babel/plugin-proposal-nullish-coalescing-operator": "^7.8.3",
"**/@babel/plugin-proposal-optional-chaining": "^7.8.3",
"**/@babel/plugin-transform-destructuring": "npm:@minh.nguyen/plugin-transform-destructuring@^7.5.2",
"**/@babel/plugin-transform-runtime": "^7.8.3",
"**/@babel/types": "^7.8.6",
"**/@babel/preset-env": "^7.8.6",
"**/@babel/preset-react": "^7.8.3",
"**/@babel/runtime-corejs2": "^7.8.4",
"**/@babel/runtime": "^7.8.4",
"**/hoist-non-react-statics": "^3.3.2",
"**/next/terser": "^4.1.2"
},
"nyc": {
"include": [
"packages/material-ui/src/**/*.js",
"packages/material-ui-utils/src/**/*.js",
"packages/material-ui-styles/src/**/*.js"
],
"exclude": [
"**/*.test.js"
],
"sourceMap": false,
"instrument": false
},
"workspaces": [
"packages/*",
"docs",
"framer"
]
}