mirror of https://codeberg.org/pzp/pzp-promise.git
update test scripts
This commit is contained in:
parent
207f6a4692
commit
05d0523d1d
|
@ -43,8 +43,10 @@
|
||||||
"typescript": "^5.0.2"
|
"typescript": "^5.0.2"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"clean-check": "tsc --build --clean",
|
||||||
"test": "node --test",
|
"prepublishOnly": "npm run clean-check && tsc --build",
|
||||||
|
"postpublish": "npm run clean-check",
|
||||||
|
"test": "npm run clean-check && node --test",
|
||||||
"format-code": "prettier --write \"*.js\" \"(test|lib)/*.js\"",
|
"format-code": "prettier --write \"*.js\" \"(test|lib)/*.js\"",
|
||||||
"format-code-staged": "pretty-quick --staged --pattern \"*.js\" --pattern \"(test|lib)/*.js\"",
|
"format-code-staged": "pretty-quick --staged --pattern \"*.js\" --pattern \"(test|lib)/*.js\"",
|
||||||
"coverage": "c8 --reporter=lcov npm run test"
|
"coverage": "c8 --reporter=lcov npm run test"
|
||||||
|
|
Loading…
Reference in New Issue