Skip to content

Commit

Permalink
Include publish nps command
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-codes committed Nov 20, 2017
1 parent 016d428 commit 75dbd49
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package-scripts.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
import {crossEnv} from 'nps';

module.exports = {
scripts: {
build: `babel src --out-dir .`,
'build/watch': `babel src --watch --out-dir .`,
default: `nps build/watch`,
publish: crossEnv(`NODE_ENV=production nps build && npm publish`),
test: 'echo "Error: no test specified" && exit 1'
}
};

0 comments on commit 75dbd49

Please sign in to comment.