Skip to content

Commit be87467

Browse files
lint before building
1 parent 9ea58e3 commit be87467

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"scripts": {
1717
"lint": "eslint ./lib --ext .js,.json,.css",
1818
"lint:fix": "prettier --write ./lib && eslint ./lib --ext .js,.json,.css --fix",
19-
"build": "vite build && npm pack",
19+
"build": "npm run lint && vite build && npm pack",
2020
"makedocs": "jsdoc -r lib -d docs/api"
2121
},
2222
"devDependencies": {

0 commit comments

Comments
 (0)