Skip to content

Commit

Permalink
fix(compile-task): on windows machine (#60)
Browse files Browse the repository at this point in the history
Add portable shell commands to avoid problems with rm, mkdir, cp, ... in whatever machine with nodejs
  • Loading branch information
AbraaoAlves authored and daffl committed Aug 21, 2018
1 parent 8a1c9e1 commit 617e0a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/errors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"release:minor": "npm version minor && npm publish",
"release:major": "npm version major && npm publish",
"changelog": "github_changelog_generator && git add CHANGELOG.md && git commit -am \"Updating changelog\"",
"compile": "rimraf lib/ && babel -d lib/ src/ && mkdir lib/public/ && cp src/public/* lib/public/",
"compile": "shx rm -rf lib/ && babel -d lib/ src/ && shx mkdir lib/public/ && shx cp src/public/* lib/public/",
"watch": "babel --watch -d lib/ src/",
"lint": "eslint-if-supported semistandard --fix",
"mocha": "mocha --opts mocha.opts",
Expand Down Expand Up @@ -67,8 +67,8 @@
"feathers": "^2.0.0",
"istanbul": "^1.1.0-alpha.1",
"mocha": "^3.0.0",
"shx": "~0.2.1",
"request": "^2.69.0",
"rimraf": "^2.5.4",
"semistandard": "^9.1.0",
"sinon": "^1.17.3",
"sinon-chai": "^2.8.0"
Expand Down

0 comments on commit 617e0a4

Please sign in to comment.