Skip to content
This repository has been archived by the owner on Apr 9, 2020. It is now read-only.

Commit

Permalink
Clean before build
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Sep 17, 2015
1 parent d65e431 commit 578c654
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,15 @@
"homepage": "https://github.com/gaearon/babel-plugin-react-transform#readme",
"devDependencies": {
"babel": "^5.8.23",
"mocha": "^2.2.5"
"mocha": "^2.2.5",
"rimraf": "^2.4.3"
},
"scripts": {
"clean": "rimraf lib",
"build": "babel-plugin build",
"test": "mocha --compilers js:babel/register",
"test:watch": "npm run test -- --watch",
"prepublish": "npm run build"
"prepublish": "npm run clean && npm run build"
},
"keywords": [
"babel-plugin",
Expand Down

0 comments on commit 578c654

Please sign in to comment.