diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-26 00:22:26 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-26 00:22:26 +0200 |
commit | 41dd600c06d0b1610890794568f74d72684e94c8 (patch) | |
tree | 4f02a9a2e74f99f6632bfa6473757ee9177ad5c1 /util/package.json | |
parent | :bug: patch modules (diff) | |
download | server-41dd600c06d0b1610890794568f74d72684e94c8.tar.xz |
:sparkles: unit test
Diffstat (limited to 'util/package.json')
-rw-r--r-- | util/package.json | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/util/package.json b/util/package.json index 397eb47f..ac204937 100644 --- a/util/package.json +++ b/util/package.json @@ -6,8 +6,9 @@ "types": "dist/index.d.ts", "scripts": { "start": "npm run build && node dist/", + "patch": "patch-package", "test": "npm run build && jest", - "postinstall": "npm run build", + "postinstall": "npm run patch && npm run build", "build": "npx tsc -b .", "generate:schema": "npx typescript-json-schema tsconfig.json '*' -o src/entities/schema.json" }, @@ -46,12 +47,12 @@ "jsonwebtoken": "^8.5.1", "missing-native-js-functions": "^1.2.10", "node-fetch": "^2.6.1", + "patch-package": "^6.4.7", "reflect-metadata": "^0.1.13", "sqlite3": "^5.0.2", - "ts-transform-json-schema": "^2.0.3", "typeorm": "^0.2.37", "typescript": "^4.3.5", - "typescript-json-schema": "github:fosscord/typescript-json-schema" + "typescript-json-schema": "^0.50.1" }, "jest": { "setupFilesAfterEnv": [ |