summary refs log tree commit diff
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json11
1 files changed, 7 insertions, 4 deletions
diff --git a/package.json b/package.json

index ee6a3c6b..650b8c0a 100644 --- a/package.json +++ b/package.json
@@ -3,11 +3,13 @@ "version": "1.0.0", "description": "A Fosscord server written in Node.js", "scripts": { + "postinstall": "npx patch-package", "start": "node dist/bundle/start.js", - "build": "tsc -p ." + "build": "tsc -p .", + "generate:rights": "node scripts/rights.js" }, - "main": "dist/bundle/start.js", - "types": "src/bundle/index.js", + "main": "dist/bundle/index.js", + "types": "src/bundle/index.ts", "repository": { "type": "git", "url": "git+https://github.com/fosscord/fosscord-server.git" @@ -39,7 +41,7 @@ "typescript": "^4.8.3" }, "dependencies": { - "ajv": "^8.11.0", + "ajv": "^8.6.2", "ajv-formats": "^2.1.1", "bcrypt": "^5.0.1", "cheerio": "^1.0.0-rc.12", @@ -67,6 +69,7 @@ "sharp": "^0.31.0", "sqlite3": "^5.1.1", "typeorm": "^0.3.10", + "typescript-json-schema": "^0.50.1", "ws": "^8.9.0" }, "optionalDependencies": {