Skip to content

Instantly share code, notes, and snippets.

@xionglun
Created December 4, 2013 10:16
Show Gist options
  • Save xionglun/7785292 to your computer and use it in GitHub Desktop.
Save xionglun/7785292 to your computer and use it in GitHub Desktop.
task_automation_with_npm_run
{
"name": "rando",
"version": "0.6.1",
"description": "random generator",
"main": "rando.js",
"bin": {
"rando": "bin/rando.js"
},
"engines": [
"node >= 0.8.0"
],
"scripts": {
"blanket": {
"pattern": "rando/lib"
},
"jshint": "jshint lib/*.js rando.js bin/rando.js",
"mocha": "mocha --reporter spec",
"test": "npm run jshint & npm run mocha",
"cov": "mocha --require blanket --reporter html-cov > coverage.html",
"clean": "rm -f coverage.html test/*.txt"
},
"repository": {
"type": "git",
"url": "https://github.com/xionglun/rando.git"
},
"keywords": [
"random"
],
"author": "Allen Heavey",
"license": "Apache v2.0",
"bugs": {
"url": "https://github.com/xionglun/rando/issues"
},
"devDependencies": {
"mocha": "~1.12.0",
"should": "~1.2.2",
"blanket": "~1.1.5",
"jshint": "~2.3.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment