Replace grunt with npm scripts

This commit is contained in:
Tankred Hase
2017-01-21 11:30:26 +00:00
parent 2fcedd9f09
commit 5674a2e8c9
12 changed files with 20 additions and 68 deletions

View File

@@ -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"