mirror of https://codeberg.org/pzp/pzp-db.git
fix format-code script
This commit is contained in:
parent
3880877726
commit
ba0a78b277
|
@ -54,8 +54,8 @@
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "tape test/*.test.js | tap-arc --bail",
|
"test": "tape test/*.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\"",
|
||||||
"coverage": "c8 --reporter=lcov npm run test"
|
"coverage": "c8 --reporter=lcov npm run test"
|
||||||
},
|
},
|
||||||
"husky": {
|
"husky": {
|
||||||
|
|
Loading…
Reference in New Issue