Update format and format-check script

This commit is contained in:
BSKY 2020-03-23 23:33:02 +09:00
parent c9fbeeff9d
commit 841b042517

View file

@ -8,8 +8,8 @@
"build": "tsc && ncc build -o dist/restore src/restore.ts && ncc build -o dist/save src/save.ts", "build": "tsc && ncc build -o dist/restore src/restore.ts && ncc build -o dist/save src/save.ts",
"test": "tsc --noEmit && jest --coverage", "test": "tsc --noEmit && jest --coverage",
"lint": "eslint **/*.ts --cache", "lint": "eslint **/*.ts --cache",
"format": "prettier --write **/*.ts", "format": "prettier --write .",
"format-check": "prettier --check **/*.ts" "format-check": "prettier --check ."
}, },
"repository": { "repository": {
"type": "git", "type": "git",