use webpack for all builds
This commit is contained in:
24
package.json
24
package.json
@ -17,9 +17,11 @@
|
||||
"pre-commit": "lint:staged",
|
||||
"scripts": {
|
||||
"bootstrap": "lerna bootstrap && lerna link --force-local",
|
||||
"start": "yarn bootstrap && yarn watch",
|
||||
"start": "npm run bootstrap && npm run watch",
|
||||
"watch": "lerna run watch --parallel",
|
||||
"clean": "cd packages && rimraf */.cache */*.js */*.css */*.svg */*.map"
|
||||
"build": "npm run clean && cross-env NODE_ENV=production lerna run build",
|
||||
"clean": "rimraf packages/*/dist",
|
||||
"reset": "npm run clean && lerna clean --yes"
|
||||
},
|
||||
"jest": {
|
||||
"moduleNameMapper": {
|
||||
@ -58,6 +60,11 @@
|
||||
"last 2 ChromeAndroid versions"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@babel/plugin-proposal-class-properties": "^7.0.0-beta.54",
|
||||
"@babel/plugin-proposal-export-default-from": "^7.0.0-beta.54",
|
||||
"@babel/plugin-proposal-object-rest-spread": "^7.0.0-beta.54",
|
||||
"@babel/preset-env": "^7.0.0-beta.54",
|
||||
"@babel/preset-react": "^7.0.0-beta.54",
|
||||
"all-contributors-cli": "^4.4.0",
|
||||
"babel-plugin-emotion": "^9.2.4",
|
||||
"babel-plugin-inline-import": "^3.0.0",
|
||||
@ -65,13 +72,8 @@
|
||||
"babel-plugin-lodash": "^3.3.4",
|
||||
"babel-plugin-module-resolver": "^3.0.0",
|
||||
"babel-plugin-transform-builtin-extend": "^1.1.2",
|
||||
"babel-plugin-transform-class-properties": "^6.24.1",
|
||||
"babel-plugin-transform-export-extensions": "^6.22.0",
|
||||
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
|
||||
"babel-plugin-transform-object-rest-spread": "^6.26.0",
|
||||
"babel-plugin-transform-runtime": "^6.23.0",
|
||||
"babel-preset-env": "^1.6.0",
|
||||
"babel-preset-react": "^6.23.0",
|
||||
"cross-env": "^5.1.4",
|
||||
"deep-equal": "^1.0.1",
|
||||
"enzyme": "^3.1.0",
|
||||
@ -84,10 +86,14 @@
|
||||
"postcss-loader": "^2.1.3",
|
||||
"raf": "^3.4.0",
|
||||
"react-test-renderer": "^16.0.0",
|
||||
"rimraf": "^2.6.2"
|
||||
"rimraf": "^2.6.2",
|
||||
"rollup-plugin-babel": "^3.0.7"
|
||||
},
|
||||
"workspaces": [
|
||||
"packages/*"
|
||||
],
|
||||
"private": true
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"friendly-errors-webpack-plugin": "^1.7.0"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user