Skip to content

Commit cf0022b

Browse files
committedMay 5, 2019
Updated eslint npm script
1 parent d882ec3 commit cf0022b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@
1212
"LICENSE"
1313
],
1414
"scripts": {
15-
"test": "echo \"Error: no test specified\" && exit 1",
16-
"eslint": "eslint index.js src/**/*.js bin/*.js"
15+
"test": "npm run eslint && jest",
16+
"eslint": "eslint index.js 'src/**/*.js' 'bin/*.js'",
17+
"prepublishOnly": "npm run test"
1718
},
1819
"repository": {
1920
"type": "git",

0 commit comments

Comments
 (0)
Please sign in to comment.