split between format check and format write
This commit is contained in:
parent
836d50a982
commit
b0015925d0
1 changed files with 2 additions and 1 deletions
|
@ -7,7 +7,8 @@
|
||||||
"main": "rm -r dist 2> /dev/null; npx tsc && node ./dist/index.js",
|
"main": "rm -r dist 2> /dev/null; npx tsc && node ./dist/index.js",
|
||||||
"debug": "npx tsnd --respawn ./src/index.ts",
|
"debug": "npx tsnd --respawn ./src/index.ts",
|
||||||
"lint": "npx eslint src",
|
"lint": "npx eslint src",
|
||||||
"format": "npx prettier --check src"
|
"format-check": "npx prettier --check src",
|
||||||
|
"format-write": "npx prettier --write src"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
Loading…
Reference in a new issue