Skip to content
This repository was archived by the owner on Sep 1, 2020. It is now read-only.

Use rimraf and cross-env to support Windows 10. #86

Merged
merged 3 commits into from
Mar 19, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
"eslint": "eslint ./src ./examples",
"jest": "jest --no-cache --verbose --coverage",
"jest:dev": "jest --watchAll --no-cache --verbose --coverage",
"clean": "rm -rf ./dist && rm -rf ./modules && rm -rf ./es6",
"modules": "BABEL_ENV=es5 babel src --out-dir modules",
"modules:es6": "BABEL_ENV=es6 babel src --out-dir es6",
"clean": "rimraf ./dist && rimraf ./modules && rimraf ./es6",
"modules": "cross-env BABEL_ENV=es5 babel src --out-dir modules",
"modules:es6": "cross-env BABEL_ENV=es6 babel src --out-dir es6",
"start:server": "http-server examples -p 3000",
"clean:examples": "rm -f ./examples/bundle.js && rm -f ./examples/bundle.js.map",
"webpack:examples": "BABEL_ENV=es6 webpack --config examples.config.js --progress --profile --colors",
"clean:examples": "rimraf ./examples/bundle.js && rimraf ./examples/bundle.js.map",
"webpack:examples": "cross-env BABEL_ENV=es6 webpack --config examples.config.js --progress --profile --colors",
"test": "npm run eslint && npm run jest",
"start": "npm run clean:examples && npm run webpack:examples && npm run start:server",
"dist": "webpack --progress --profile --colors",
Expand Down Expand Up @@ -58,6 +58,7 @@
"babel-preset-stage-2": "^6.22.0",
"babel-register": "^6.22.0",
"coveralls": "^2.11.16",
"cross-env": "^3.2.4",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what about rimraf?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, it should be there now.

"enzyme": "^2.7.1",
"enzyme-to-json": "^1.4.5",
"eslint": "^3.14.1",
Expand All @@ -74,6 +75,7 @@
"react-addons-test-utils": "^15.4.2",
"react-dom": "^15.4.2",
"react-router": "^3.0.0",
"rimraf": "^2.6.1",
"webpack": "^2.2.1"
},
"jest": {
Expand Down