Adding prettier on back and pusher (not running them right now)

This commit is contained in:
David Négrier 2021-06-23 16:23:16 +02:00
parent d2be9fa931
commit 4cac260f81
9 changed files with 27 additions and 3 deletions

View file

@ -11,7 +11,9 @@
"profile": "tsc && node --prof ./dist/server.js",
"test": "ts-node node_modules/jasmine/bin/jasmine --config=jasmine.json",
"lint": "DEBUG= node_modules/.bin/eslint src/ . --ext .ts",
"fix": "DEBUG= node_modules/.bin/eslint --fix src/ . --ext .ts"
"fix": "DEBUG= node_modules/.bin/eslint --fix src/ . --ext .ts",
"pretty": "yarn prettier --write src/",
"pretty-check": "yarn prettier --check src/"
},
"repository": {
"type": "git",
@ -65,6 +67,7 @@
"@typescript-eslint/parser": "^2.26.0",
"eslint": "^6.8.0",
"jasmine": "^3.5.0",
"prettier": "^2.3.1",
"ts-node-dev": "^1.0.0-pre.44",
"typescript": "^3.8.3"
}