config: adjust pre-commit script to run prettier and not prettier:write since the written changes are not staged
This commit is contained in:
parent
0bec8a8a76
commit
47a164169d
|
@ -25,7 +25,7 @@
|
|||
"forge:start": "electron-forge start",
|
||||
"forge:make": "electron-forge --platform win32 --arch x64 make",
|
||||
"forge": "npm run build && npm run forge:make",
|
||||
"precommit": "npm run prettier:write && npm run eslint-check && npm run tslint-check && npm run lint && npm run test:fast",
|
||||
"precommit": "npm run prettier && npm run eslint-check && npm run tslint-check && npm run lint && npm run test:fast",
|
||||
"prepush": "npm run test"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
Loading…
Reference in New Issue