Skip to content

Commit

Permalink
npmify scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
keis committed Mar 13, 2015
1 parent a252be8 commit 7c81b88
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 37 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: node_js
node_js:
- "0.10"
script: make coverage/lcov.info
script: npm run coverage
after_success:
cat coverage/lcov.info | node_modules/.bin/coveralls
34 changes: 0 additions & 34 deletions Makefile

This file was deleted.

7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,18 @@
"lib/"
],
"scripts": {
"prepublish": "pegjs --plugin pegjs-coffee-plugin lib/parser.pegcoffee lib/parser.js",
"test": "mocha --require test/bootstrap.js --compilers coffee:coffee-script/register --recursive test/unit",
"bench": "coffee -c test/benchmark.coffee ; matcha test/benchmark.js",
"prepublish": "make lib/parser.js"
"coverage": "istanbul cover _mocha --report lcovonly -- --require test/bootstrap.js --compilers coffee:coffee-script/register --recursive test/unit",
"billom": "billom package.json \"$npm_package_name\" > package.html",
"docs": "docco lib/*.js"
},
"dependencies": {
"chalk": "^1.0.0"
},
"devDependencies": {
"awake": "^0.1.1",
"billom": "^1.0.2",
"chai": "^2.1.0",
"coffee-script": "~1.9.0",
"coveralls": "^2.11.1",
Expand Down

0 comments on commit 7c81b88

Please sign in to comment.