Skip to content

Commit

Permalink
Better npm publish cleanup scripts
Browse files Browse the repository at this point in the history
Also puts naughty react-dom in it's correct place
  • Loading branch information
cookpete committed Nov 13, 2015
1 parent 63f1660 commit 821be95
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"start": "node server.js",
"lint": "standard",
"test": "mocha test --compilers js:babel/register",
"build": "babel src/ -d lib/",
"prepublish": "npm run build"
"build": "babel src -d lib",
"clean": "rimraf lib",
"prepublish": "npm run build",
"postpublish": "npm run clean"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -43,9 +45,10 @@
"imports-loader": "^0.6.4",
"mocha": "^2.2.5",
"react": "^0.14.0",
"react-dom": "^0.14.0",
"react-addons-test-utils": "^0.14.0",
"react-dom": "^0.14.0",
"react-hot-loader": "^1.2.7",
"rimraf": "^2.4.3",
"standard": "^5.1.0",
"webpack": "^1.9.6",
"webpack-dev-server": "^1.8.2",
Expand Down

0 comments on commit 821be95

Please sign in to comment.