Skip to content

Commit bece65d

Browse files
committed
build: add lint pretest
1 parent 85f914a commit bece65d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
"author": "Ivan Voischev <voischev.ivan@ya.ru>",
66
"license": "MIT",
77
"main": "lib/index.js",
8+
"engines": {
9+
"node": ">=6"
10+
},
811
"files": [
912
"lib"
1013
],
@@ -19,7 +22,7 @@
1922
},
2023
"scripts": {
2124
"lint": "standard --env mocha",
22-
"test": "nyc mocha",
25+
"test": "npm run lint && nyc mocha",
2326
"coverage": "nyc report --reporter=text-lcov | coveralls",
2427
"docs": "jsdoc2md lib/*.js > RENDER.md",
2528
"release": "standard-version"

0 commit comments

Comments
 (0)