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]
|
||||
depends = ["lint"]
|
||||
run = "npx jest"
|
||||
|
||||
[tasks.prepublish]
|
||||
depends = ["lint", "test", "build"]
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@
|
|||
"types": "dist/index.d.ts",
|
||||
"scripts": {
|
||||
"build": "mise run build",
|
||||
"prepublishOnly": "mise run prepublish",
|
||||
"test": "mise run test"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue