Skip to content

Commit

Permalink
Merge pull request #860 from SoprisApps/patch-fix-npm-clean
Browse files Browse the repository at this point in the history
Fix issue with rm causing an error if index.js doesn't exist
  • Loading branch information
drewpc authored Jan 29, 2017
2 parents 90bcbc7 + 1a28990 commit bbe94c3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/react-server-middleware-json-response/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"prepublish": "npm run build",
"build": "babel index.src.js --out-file index.js",
"clean": "rm index.js",
"clean": "rimraf index.js",
"test": "eslint src"
},
"repository": {
Expand All @@ -31,6 +31,7 @@
"babel-preset-react-server": "^0.6.0",
"eslint": "^3.8.1",
"eslint-plugin-react": "^6.4.1",
"babel-eslint": "^7.0.0"
"babel-eslint": "^7.0.0",
"rimraf": "^2.5.4"
}
}

0 comments on commit bbe94c3

Please sign in to comment.