summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--package-lock.json18
-rw-r--r--package.json5
2 files changed, 21 insertions, 2 deletions
diff --git a/package-lock.json b/package-lock.json

index a2afd614..83b4ace0 100644 --- a/package-lock.json +++ b/package-lock.json
@@ -17,6 +17,7 @@ "lambert-server": "^1.1.7", "missing-native-js-functions": "^1.2.3", "node-fetch": "^2.6.1", + "typescript": "^4.2.3", "uuid": "^8.3.2", "ws": "^7.4.2" }, @@ -1702,6 +1703,18 @@ "node": ">= 0.6" } }, + "node_modules/typescript": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.2.3.tgz", + "integrity": "sha512-qOcYwxaByStAWrBf4x0fibwZvMRG+r4cQoTjbPtUlrWjBHbmCAww1i448U0GJ+3cNNEtebDteo/cHOR3xJ4wEw==", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=4.2.0" + } + }, "node_modules/unpipe": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", @@ -3079,6 +3092,11 @@ "mime-types": "~2.1.24" } }, + "typescript": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.2.3.tgz", + "integrity": "sha512-qOcYwxaByStAWrBf4x0fibwZvMRG+r4cQoTjbPtUlrWjBHbmCAww1i448U0GJ+3cNNEtebDteo/cHOR3xJ4wEw==" + }, "unpipe": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", diff --git a/package.json b/package.json
index 06047d1d..85cf4148 100644 --- a/package.json +++ b/package.json
@@ -6,8 +6,8 @@ "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "start": "npm run build:util && npm run build && node dist/", - "build": "tsc -b .", - "build:util": "tsc -b ./node_modules/fosscord-server-util/" + "build": "npx tsc -b .", + "build:util": "npx tsc -b ./node_modules/fosscord-server-util/" }, "keywords": [], "author": "", @@ -21,6 +21,7 @@ "lambert-server": "^1.1.7", "missing-native-js-functions": "^1.2.3", "node-fetch": "^2.6.1", + "typescript": "^4.2.3", "uuid": "^8.3.2", "ws": "^7.4.2" },