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 | 6f16392aa452c07e60ac4775b002c26f02e27609 (patch) | |
tree | dba49954cfdf4b673afd17925a5a84d287481bac /util/package.json | |
parent | :bug: patch modules (diff) | |
download | server-6f16392aa452c07e60ac4775b002c26f02e27609.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": [ |