mirror of
https://github.com/sveltejs/svelte.git
synced 2024-11-28 07:52:41 +01:00
only lint when publishing. too slow to run on every test
This commit is contained in:
parent
f7479bc57b
commit
bb6cd30ff2
@ -30,12 +30,12 @@
|
||||
"coverage": "c8 report --reporter=text-lcov > coverage.lcov && c8 report --reporter=html",
|
||||
"codecov": "codecov",
|
||||
"precodecov": "npm run coverage",
|
||||
"build": "rollup -c && npm run lint && npm run tsd",
|
||||
"build": "rollup -c && npm run tsd",
|
||||
"prepare": "npm run build",
|
||||
"dev": "rollup -cw",
|
||||
"pretest": "npm run build",
|
||||
"posttest": "agadoo internal/index.mjs",
|
||||
"prepublishOnly": "PUBLISH=true npm test",
|
||||
"prepublishOnly": "npm run lint && PUBLISH=true npm test",
|
||||
"tsd": "tsc -p src/compiler --emitDeclarationOnly && tsc -p src/runtime --emitDeclarationOnly",
|
||||
"lint": "eslint \"{src,test}/**/*.{ts,js}\""
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user