summary refs log tree commit diff
path: root/package.json
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-04-14 15:01:53 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-04-14 15:01:53 +0200
commit6ac4067c39cdcae1cef1718273aaa8796460ffd9 (patch)
tree753cb7c53c914f33e989849753d1ef97767603f6 /package.json
parent:bug: fix message schema (diff)
parent:sparkles: add npm i fosscord-server-util to postinstall (diff)
downloadserver-ts-6ac4067c39cdcae1cef1718273aaa8796460ffd9.tar.xz
Merge branch 'master' of https://github.com/discord-open-source/discord-api
Diffstat (limited to 'package.json')
-rw-r--r--package.json15
1 files changed, 11 insertions, 4 deletions
diff --git a/package.json b/package.json

index deded2a4..1b7e8e39 100644 --- a/package.json +++ b/package.json
@@ -4,10 +4,12 @@ "description": "This repository contains the HTTP API Server", "main": "index.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1", - "start": "npm run build && node dist/", + "test": "jest", + "test:watch": "jest --watch", + "start": "npm run build:util && npm run build && node dist/", "build": "tsc -b .", - "postinstall": "patch-package" + "build:util": "tsc -b ./node_modules/fosscord-server-util/", + "postinstall": "npm i github:fosscord/fosscord-server-util && patch-package" }, "repository": { "type": "git", @@ -21,6 +23,7 @@ }, "homepage": "https://github.com/fosscord/fosscord-api#readme", "dependencies": { + "@types/jest": "^26.0.22", "bcrypt": "^5.0.0", "body-parser": "^1.19.0", "dotenv": "^8.2.0", @@ -33,8 +36,10 @@ "jsonwebtoken": "^8.5.1", "lambert-db": "^1.1.8", "lambert-server": "^1.0.10", - "missing-native-js-functions": "^1.2.4", + "missing-native-js-functions": "^1.2.6", "mongodb": "^3.6.4", + "mongoose": "^5.12.3", + "mongoose-autopopulate": "^0.12.3", "mongoose-long": "^0.3.2", "multer": "^1.4.2", "patch-package": "^6.2.2" @@ -47,7 +52,9 @@ "@types/multer": "^1.4.5", "@types/node": "^14.14.22", "@types/node-fetch": "^2.5.7", + "@zerollup/ts-transform-paths": "^1.7.18", "0x": "^4.10.2", + "jest": "^26.6.3", "node-fetch": "^2.6.1", "ts-node": "^9.1.1", "typescript": "^4.1.2"