Skip to content

Commit 48460e3

Browse files
author
Guillaume Chau
committed
fix: lint before publish
1 parent d217bf8 commit 48460e3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@
2020
"build:browser": "rollup --config build/rollup.config.browser.js",
2121
"build:es": "rollup --config build/rollup.config.es.js",
2222
"build:umd": "rollup --config build/rollup.config.umd.js",
23-
"prepublishOnly": "npm run build",
24-
"dev": "cross-env NODE_ENV=development rollup --config build/rollup.config.es.js --watch"
23+
"prepublishOnly": "npm run lint && npm run build",
24+
"dev": "cross-env NODE_ENV=development rollup --config build/rollup.config.es.js --watch",
25+
"lint": "eslint --ext .js,.vue src"
2526
},
2627
"repository": {
2728
"type": "git",

0 commit comments

Comments
 (0)