summary refs log tree commit diff
path: root/package.json
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-01-05 18:56:39 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-01-05 18:56:39 +1100
commit7ba0eb17269b38f3bb617485e9745fa6ee673c7b (patch)
tree28b145f59270435c8a732b52f72e74777990e15e /package.json
parentDon't send private user data in ready event (diff)
downloadserver-7ba0eb17269b38f3bb617485e9745fa6ee673c7b.tar.xz
Prettier precommit hook
Diffstat (limited to '')
-rw-r--r--package.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/package.json b/package.json
index 78838986..2dfdfcb4 100644
--- a/package.json
+++ b/package.json
@@ -3,6 +3,7 @@
 	"version": "1.0.0",
 	"description": "A Fosscord server written in Node.js",
 	"scripts": {
+		"prepare": "husky install",
 		"postinstall": "npx patch-package",
 		"start": "node dist/bundle/start.js",
 		"start:api": "node dist/api/start.js",
@@ -51,7 +52,9 @@
 		"@types/sharp": "^0.31.0",
 		"@types/ws": "^8.5.3",
 		"express": "^4.18.1",
+		"husky": "^8.0.0",
 		"prettier": "^2.7.1",
+		"pretty-quick": "^3.1.3",
 		"typescript": "^4.8.3"
 	},
 	"dependencies": {