Skip to content

Commit bfc719b

Browse files
committed
Run lint after build
1 parent 924bded commit bfc719b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
"scripts": {
1616
"clean": "rm -rf dist",
1717
"lint": "eslint src/*.ts test/*.js",
18-
"prebuild": "npm run clean && npm run lint && npm run compile",
18+
"prebuild": "npm run clean && npm run compile",
1919
"compile": "tsc",
2020
"build": "rollup -c",
2121
"pretest": "npm run build",
22-
"test": "karma start karma.config.cjs",
22+
"test": "npm run lint && karma start karma.config.cjs",
2323
"prepublishOnly": "npm run build",
2424
"postpublish": "npm publish --ignore-scripts --@github:registry='https://npm.pkg.github.com'"
2525
},

0 commit comments

Comments
 (0)