Merge pull request #16 from mailvelope/npm_script
Replace grunt with npm scripts
This commit is contained in:
12
package.json
12
package.json
@@ -11,7 +11,11 @@
|
||||
},
|
||||
"scripts": {
|
||||
"start": ": ${NODE_ENV=development} && node index.js",
|
||||
"test": ": ${NODE_ENV=development} && grunt test"
|
||||
"test": ": ${NODE_ENV=development} && npm run test:jshint && npm run test:jscs && npm run test:unit && npm run test:integration",
|
||||
"test:jshint": "jshint *.js src/**/*.js test/**/*.js",
|
||||
"test:jscs": "jscs *.js src/**/*.js test/**/*.js",
|
||||
"test:unit": "mocha --opts test/mocha.opts ./test/unit/",
|
||||
"test:integration": "mocha --opts test/mocha.opts ./test/integration"
|
||||
},
|
||||
"dependencies": {
|
||||
"addressparser": "^1.0.1",
|
||||
@@ -30,10 +34,8 @@
|
||||
"devDependencies": {
|
||||
"chai": "^3.5.0",
|
||||
"co-mocha": "^1.1.2",
|
||||
"grunt": "^1.0.1",
|
||||
"grunt-contrib-jshint": "^1.0.0",
|
||||
"grunt-jscs": "^3.0.1",
|
||||
"grunt-mocha-test": "^0.13.2",
|
||||
"jscs": "^3.0.7",
|
||||
"jshint": "^2.9.4",
|
||||
"mocha": "^3.2.0",
|
||||
"sinon": "^1.17.4",
|
||||
"supertest": "^2.0.1"
|
||||
|
||||
Reference in New Issue
Block a user