From ec9bc3731c3dff7a3260b77f6066d766d7ce77dd Mon Sep 17 00:00:00 2001 From: memetrollsXD Date: Fri, 5 Aug 2022 07:39:42 +0200 Subject: [PATCH] Update dependencies and include typescript Fixes Error: Cannot find module 'typescript' #31 --- package-lock.json | 9 +++------ package.json | 5 +++-- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1a5fe2b..310fa2c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,8 @@ "express": "^4.18.1", "mongodb": "^4.8.0", "node-kcp-token": "github:memetrollsxd/node-kcp", - "protobufjs": "^7.0.0" + "protobufjs": "^7.0.0", + "typescript": "^4.7.4" }, "devDependencies": { "ts-node-dev": "^2.0.0" @@ -1571,8 +1572,6 @@ "version": "4.7.4", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz", "integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==", - "dev": true, - "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -2823,9 +2822,7 @@ "typescript": { "version": "4.7.4", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz", - "integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==", - "dev": true, - "peer": true + "integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==" }, "unpipe": { "version": "1.0.0", diff --git a/package.json b/package.json index 692943d..5f4cbe5 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ "express": "^4.18.1", "mongodb": "^4.8.0", "node-kcp-token": "github:memetrollsxd/node-kcp", - "protobufjs": "^7.0.0" + "protobufjs": "^7.0.0", + "typescript": "^4.7.4" } -} +} \ No newline at end of file