prettier rules

This commit is contained in:
Bryan MacFarlane
2020-04-10 09:17:13 -04:00
parent 60c8242c8c
commit 71d14f19d2
3 changed files with 15 additions and 2 deletions

View File

@@ -5,7 +5,10 @@
"main": "index.js",
"scripts": {
"build": "rm -Rf ./_out && tsc && cp package*.json ./_out && cp *.md ./_out && cp LICENSE ./_out && cp actions.png ./_out",
"test": "jest"
"test": "jest",
"format": "prettier --write packages/**/*.ts",
"format-check": "prettier --check packages/**/*.ts",
"audit-check": "npm audit --audit-level=moderate"
},
"repository": {
"type": "git",
@@ -25,6 +28,7 @@
"@types/jest": "^25.1.4",
"@types/node": "^12.12.31",
"jest": "^25.1.0",
"prettier": "^2.0.4",
"proxy": "^1.0.1",
"ts-jest": "^25.2.1",
"typescript": "^3.8.3"