build: add format scripts
This commit is contained in:
parent
569ad9bde1
commit
76db8ce9c4
@ -13,7 +13,9 @@
|
||||
"coverage": "npm run clean-coverage && nyc mocha",
|
||||
"test-reports": "npm run clean-coverage && nyc --reporter clover mocha --reporter xunit --reporter-option output=.xunit",
|
||||
"coverage-html": "npm run test-reports && nyc report --reporter lcov && xdg-open coverage/lcov-report/index.html",
|
||||
"start": "http-server public -p 8080"
|
||||
"start": "http-server public -p 8080",
|
||||
"format": "prettier --write .",
|
||||
"format:check": "prettier --check ."
|
||||
},
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
|
Loading…
x
Reference in New Issue
Block a user