Skip to content

Commit 20284ef

Browse files
committed
Add npm lint
1 parent f5a08bd commit 20284ef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"type": "module",
77
"scripts": {
88
"test": "node tests/index.js",
9-
"prepublishOnly": "eslint lib && npm run build",
9+
"lint": "eslint lib",
10+
"prepublishOnly": "npm run lint && npm test && npm run build",
1011
"build": "node cjs/transpile.js"
1112
},
1213
"files": [

0 commit comments

Comments
 (0)