Skip to content

Commit 2d47094

Browse files
committed
Replace gulp with npm scripts
1 parent 8fc0d8a commit 2d47094

File tree

3 files changed

+5
-22
lines changed

3 files changed

+5
-22
lines changed

.eslintrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"no-use-before-define": [2, "nofunc"],
1010
"space-before-function-paren": 0,
1111
"object-curly-spacing": 0
12-
}
12+
},
1313
"env": {
1414
"mocha": true,
1515
"node": true

gulpfile.js

-16
This file was deleted.

package.json

+4-5
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,11 @@
2020
},
2121
"devDependencies": {
2222
"chai": "3.4.1",
23-
"eslint-config-airbnb": "^2.1.1",
24-
"gulp": "3.9.0",
25-
"gulp-eslint": "1.1.1",
26-
"gulp-mocha": "2.2.0"
23+
"eslint": "^1.10.3",
24+
"eslint-config-airbnb": "^2.1.1"
2725
},
2826
"scripts": {
29-
"test": "gulp"
27+
"lint": "eslint index.js test/*.js",
28+
"test": "npm run lint && mocha --reporter spec"
3029
}
3130
}

0 commit comments

Comments
 (0)