force lint, test, and build before publishing
This commit is contained in:
parent
0f8ffd285d
commit
d715fabeb5
2 changed files with 4 additions and 1 deletions
|
|
@ -11,5 +11,7 @@ npx rollup -c
|
||||||
"""
|
"""
|
||||||
|
|
||||||
[tasks.test]
|
[tasks.test]
|
||||||
depends = ["lint"]
|
|
||||||
run = "npx jest"
|
run = "npx jest"
|
||||||
|
|
||||||
|
[tasks.prepublish]
|
||||||
|
depends = ["lint", "test", "build"]
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "mise run build",
|
"build": "mise run build",
|
||||||
|
"prepublishOnly": "mise run prepublish",
|
||||||
"test": "mise run test"
|
"test": "mise run test"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue