Skip to content

Commit 523421a

Browse files
committed
build: add pretest and lint fix
1 parent 3a3c4e0 commit 523421a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

package.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
"prepare": "npm run build",
2121
"build": "rimraf lib && babel src -d lib",
2222
"coverage": "nyc report --reporter=text-lcov | coveralls",
23-
"test": "nyc ava"
23+
"test": "nyc ava",
24+
"lint": "eslint {src,test}/*.js *.md --fix",
25+
"pretest": "clinton && npm run lint"
2426
},
2527
"files": [
2628
"lib/"
@@ -93,7 +95,7 @@
9395
"@babel/preset-env",
9496
{
9597
"targets": {
96-
"node": 6
98+
"node": 8
9799
}
98100
}
99101
],

0 commit comments

Comments
 (0)