Install Prettier / Husky

This commit is contained in:
rijkvanzanten
2020-06-16 10:37:33 -04:00
parent 9642a6fe86
commit fd5db634a4
2 changed files with 1090 additions and 0 deletions

1076
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -27,8 +27,22 @@
},
"homepage": "https://github.com/directus/api-node#readme",
"devDependencies": {
"eslint-plugin-prettier": "^3.1.4",
"husky": "^4.2.5",
"lint-staged": "^10.2.10",
"prettier": "^2.0.5",
"ts-node": "^8.10.2",
"tslint": "^6.1.2",
"typescript": "^3.9.5"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts}": [
"prettier --write"
]
}
}