Skip to content

Commit bb6cd30

Browse files
committed
only lint when publishing. too slow to run on every test
1 parent f7479bc commit bb6cd30

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
@@ -30,12 +30,12 @@
3030
"coverage": "c8 report --reporter=text-lcov > coverage.lcov && c8 report --reporter=html",
3131
"codecov": "codecov",
3232
"precodecov": "npm run coverage",
33-
"build": "rollup -c && npm run lint && npm run tsd",
33+
"build": "rollup -c && npm run tsd",
3434
"prepare": "npm run build",
3535
"dev": "rollup -cw",
3636
"pretest": "npm run build",
3737
"posttest": "agadoo internal/index.mjs",
38-
"prepublishOnly": "PUBLISH=true npm test",
38+
"prepublishOnly": "npm run lint && PUBLISH=true npm test",
3939
"tsd": "tsc -p src/compiler --emitDeclarationOnly && tsc -p src/runtime --emitDeclarationOnly",
4040
"lint": "eslint \"{src,test}/**/*.{ts,js}\""
4141
},

0 commit comments

Comments
 (0)