Set up Prettier command

This commit is contained in:
Iván Ovejero 2022-06-27 11:45:26 +02:00
commit 57751f3fe5

View file

@ -19,6 +19,7 @@
"scripts": { "scripts": {
"dev": "npm run watch", "dev": "npm run watch",
"build": "tsc && gulp", "build": "tsc && gulp",
"format": "prettier nodes credentials --write",
"lint": "tslint -p tsconfig.json -c tslint.json && node_modules/eslint/bin/eslint.js ./nodes", "lint": "tslint -p tsconfig.json -c tslint.json && node_modules/eslint/bin/eslint.js ./nodes",
"lintfix": "tslint --fix -p tsconfig.json -c tslint.json && node_modules/eslint/bin/eslint.js --fix ./nodes", "lintfix": "tslint --fix -p tsconfig.json -c tslint.json && node_modules/eslint/bin/eslint.js --fix ./nodes",
"watch": "tsc --watch", "watch": "tsc --watch",