|
33 | 33 | "babel-core": "^6.24.1",
|
34 | 34 | "babel-eslint": "^7.2.1",
|
35 | 35 | "babel-loader": "^6.4.1",
|
36 |
| - "babel-plugin-css-modules-transform": "^1.2.7", |
37 | 36 | "babel-plugin-react-transform": "^2.0.0",
|
38 | 37 | "babel-polyfill": "^6.23.0",
|
39 | 38 | "babel-preset-env": "^1.4.0",
|
|
70 | 69 | "style-loader": "^0.12.3",
|
71 | 70 | "webpack": "^1.12.9",
|
72 | 71 | "webpack-dev-middleware": "^1.4.0",
|
73 |
| - "webpack-hot-middleware": "^2.4.1" |
| 72 | + "webpack-hot-middleware": "^2.4.1", |
| 73 | + "webpack-merge": "^4.1.0" |
74 | 74 | },
|
75 | 75 | "scripts": {
|
76 | 76 | "build": "cross-env NODE_ENV=production npm run compile",
|
77 | 77 | "clean": "rimraf ./lib",
|
78 |
| - "compile": "./node_modules/.bin/babel -d ./lib ./src", |
| 78 | + "compile": "npm run compile:lib && npm run compile:dist", |
| 79 | + "compile:lib": "rm -rf lib && ./node_modules/.bin/babel -d ./lib ./src", |
| 80 | + "compile:dist": "rm -rf dist && cross-env ./node_modules/.bin/webpack", |
79 | 81 | "lint": "eslint src test",
|
80 | 82 | "patch": "bumped release patch",
|
81 | 83 | "prebuild": "npm run clean",
|
|
0 commit comments