|
15 | 15 | "eslint": "eslint ./src ./examples",
|
16 | 16 | "jest": "jest --no-cache --verbose --coverage",
|
17 | 17 | "jest:dev": "jest --watchAll --no-cache --verbose --coverage",
|
18 |
| - "clean": "rm -rf ./dist && rm -rf ./modules && rm -rf ./es6", |
19 |
| - "modules": "BABEL_ENV=es5 babel src --out-dir modules", |
20 |
| - "modules:es6": "BABEL_ENV=es6 babel src --out-dir es6", |
| 18 | + "clean": "rimraf ./dist && rimraf ./modules && rimraf ./es6", |
| 19 | + "modules": "cross-env BABEL_ENV=es5 babel src --out-dir modules", |
| 20 | + "modules:es6": "cross-env BABEL_ENV=es6 babel src --out-dir es6", |
21 | 21 | "start:server": "http-server examples -p 3000",
|
22 |
| - "clean:examples": "rm -f ./examples/bundle.js && rm -f ./examples/bundle.js.map", |
23 |
| - "webpack:examples": "BABEL_ENV=es6 webpack --config examples.config.js --progress --profile --colors", |
| 22 | + "clean:examples": "rimraf ./examples/bundle.js && rimraf ./examples/bundle.js.map", |
| 23 | + "webpack:examples": "cross-env BABEL_ENV=es6 webpack --config examples.config.js --progress --profile --colors", |
24 | 24 | "test": "npm run eslint && npm run jest",
|
25 | 25 | "start": "npm run clean:examples && npm run webpack:examples && npm run start:server",
|
26 | 26 | "dist": "webpack --progress --profile --colors",
|
|
58 | 58 | "babel-preset-stage-2": "^6.22.0",
|
59 | 59 | "babel-register": "^6.22.0",
|
60 | 60 | "coveralls": "^2.11.16",
|
| 61 | + "cross-env": "^3.2.4", |
61 | 62 | "enzyme": "^2.7.1",
|
62 | 63 | "enzyme-to-json": "^1.4.5",
|
63 | 64 | "eslint": "^3.14.1",
|
|
74 | 75 | "react-addons-test-utils": "^15.4.2",
|
75 | 76 | "react-dom": "^15.4.2",
|
76 | 77 | "react-router": "^3.0.0",
|
| 78 | + "rimraf": "^2.6.1", |
77 | 79 | "webpack": "^2.2.1"
|
78 | 80 | },
|
79 | 81 | "jest": {
|
|
0 commit comments