Skip to content

Commit

Permalink
feat: Add an npm run watch command
Browse files Browse the repository at this point in the history
  • Loading branch information
notheotherben committed Jun 20, 2016
1 parent 3ee6d80 commit 6526b30
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@
"postversion": "npm run version:tag",
"version:tag": "npm run exec -- git tag -a v$npm_package_version -m \"Version $npm_package_version\"",
"version:get": "npm run exec -- echo -e $npm_package_version",
"exec": "node ./build/exec.js"
"exec": "node ./build/exec.js",
"watch": "concurrently -r --kill-others \"npm run watch:build\" \"npm run watch:test\"",
"watch:build": "tsc --watch",
"watch:test": "mocha --opts test/mocha.opts --watch dist/test"
},
"typings": "iridium.ts",
"engines": {
Expand All @@ -59,6 +62,7 @@
"chalk": "^1.1.3",
"codeclimate-test-reporter": "^0.3.1",
"colors": "^1.1.2",
"concurrently": "^2.1.0",
"coveralls": "^2.11.8",
"istanbul": "~0.4.3",
"mocha": "^2.5.3",
Expand Down

0 comments on commit 6526b30

Please sign in to comment.