Skip to content

Commit

Permalink
add npm scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Kreees committed Jan 11, 2015
1 parent fb94000 commit 5629d7d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ npm-debug.log
.*.bash
.project
reports/*
reports
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
"url": "http://github.com/Kreees/muonjs/issues",
"email": "SukharevKirill@gmail.com"
},
"scripts": {
"pretest": "rm -rf reports || true && mkdir reports",
"test": "./node_modules/.bin/mocha -C --reporter xunit > reports/xunit.xml"
},
"main": "./module.js",
"bin": {
"m-init": "./bin/init.js",
Expand Down

0 comments on commit 5629d7d

Please sign in to comment.