check style a different way

This commit is contained in:
softprops 2020-01-05 17:41:51 -05:00
parent 5733db0089
commit e6a400341a
2 changed files with 10 additions and 9 deletions

View file

@ -7,7 +7,8 @@
"scripts": {
"build": "ncc build src/main.ts --minify",
"test": "jest",
"fmt": "prettier --write 'src/**/*.ts' '__tests__/**/*.ts'"
"fmt": "prettier --write 'src/**/*.ts' '__tests__/**/*.ts'",
"fmtcheck": "prettier --check 'src/**/*.ts' '__tests__/**/*.ts'"
},
"repository": {
"type": "git",