mirror of https://codeberg.org/pzp/pzp-hub.git
add setup and start npm scripts
This commit is contained in:
parent
99dda683b6
commit
fbab10d6ca
|
@ -41,6 +41,8 @@
|
||||||
"tape": "^5.6.3"
|
"tape": "^5.6.3"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"setup": "npm install --omit=dev",
|
||||||
|
"start": "node lib/index.js",
|
||||||
"test": "tape test/*.js | tap-arc --bail",
|
"test": "tape test/*.js | tap-arc --bail",
|
||||||
"format-code": "prettier --write \"(lib|test)/**/*.js\"",
|
"format-code": "prettier --write \"(lib|test)/**/*.js\"",
|
||||||
"format-code-staged": "pretty-quick --staged --pattern \"(lib|test)/**/*.js\"",
|
"format-code-staged": "pretty-quick --staged --pattern \"(lib|test)/**/*.js\"",
|
||||||
|
|
Loading…
Reference in New Issue