Skip to content

Commit

Permalink
Remove node_modules when running clean
Browse files Browse the repository at this point in the history
  • Loading branch information
mjackson committed Mar 15, 2017
1 parent e3cea89 commit 6ae5f65
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/react-router-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"build": "node ./tools/build.js",
"watch": "babel ./modules -d . --ignore __tests__ --watch",
"prepublish": "node ./tools/build.js",
"clean": "git clean -e '!node_modules' -fdX .",
"clean": "git clean -fdX .",
"lint": "eslint modules",
"test": "karma start --single-run"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/react-router-dom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"build": "node ./tools/build.js",
"watch": "babel ./modules -d . --ignore __tests__ --watch",
"prepublish": "node ./tools/build.js",
"clean": "git clean -e '!node_modules' -fdX .",
"clean": "git clean -fdX .",
"lint": "eslint modules",
"test": "karma start --single-run"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/react-router-redux/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"build": "node ./tools/build.js",
"prepublish": "node ./tools/build.js",
"watch": "babel ./modules -d . --ignore __tests__ --watch",
"clean": "git clean -e '!node_modules' -fdX .",
"clean": "git clean -fdX .",
"lint": "eslint modules",
"test": "jest"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/react-router-website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "4.0.0",
"scripts": {
"build": "NODE_ENV=production webpack -p",
"clean": "git clean -e '!node_modules' -fdX .",
"clean": "git clean -fdX .",
"start": "webpack-dev-server --inline --host 0.0.0.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/react-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"build": "node ./tools/build.js",
"watch": "babel ./modules -d . --ignore __tests__ --watch",
"prepublish": "node ./tools/build.js",
"clean": "git clean -e '!node_modules' -fdX .",
"clean": "git clean -fdX .",
"lint": "eslint modules",
"test": "karma start --single-run"
},
Expand Down

0 comments on commit 6ae5f65

Please sign in to comment.