diff --git a/api/package.json b/api/package.json index a5ec5f37..8ad7f201 100644 --- a/api/package.json +++ b/api/package.json @@ -8,7 +8,7 @@ "test": "jest", "test:watch": "jest --watch", "start": "npm run build && node dist/start", - "build": "tsc -b .", + "build": "npx tsc -b .", "build-docker": "tsc -p tsconfig-docker.json", "dev": "tsnd --respawn src/start.ts" }, diff --git a/bundle/package.json b/bundle/package.json index 928cd5fb..c9ff0034 100644 --- a/bundle/package.json +++ b/bundle/package.json @@ -4,9 +4,9 @@ "description": "", "main": "src/start.js", "scripts": { - "postinstall": "cd ../api/ && npm i && cd ../cdn/ && npm i && cd ../gateway/ && npm i", + "postinstall": "cd ../util/ && npm i && cd ../api/ && npm i && cd ../cdn/ && npm i && cd ../gateway/ && npm i", "build": "npm run build:api && npm run build:cdn && npm run build:gateway && npm run build:bundle", - "build:bundle": "tsc -b .", + "build:bundle": "npx tsc -b .", "build:api": "cd ../api/ && npm run build", "build:cdn": "cd ../cdn/ && npm run build", "build:gateway": "cd ../gateway/ && npm run build", diff --git a/cdn/package.json b/cdn/package.json index a27b47ea..96f07971 100644 --- a/cdn/package.json +++ b/cdn/package.json @@ -6,7 +6,7 @@ "types": "dist/index.d.ts", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "build": "tsc -b .", + "build": "npx tsc -b .", "start": "npm run build && node dist/start.js" }, "repository": { diff --git a/gateway/package.json b/gateway/package.json index 47739f5b..7cd22a98 100644 --- a/gateway/package.json +++ b/gateway/package.json @@ -6,7 +6,7 @@ "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "start": "npm run build && node dist/start.js", - "build": "tsc -b .", + "build": "npx tsc -b .", "dev": "tsnd --respawn src/start.ts" }, "keywords": [], diff --git a/util/package-lock.json b/util/package-lock.json index f58019b6..43a4e32b 100644 Binary files a/util/package-lock.json and b/util/package-lock.json differ diff --git a/util/package.json b/util/package.json index 8f32c1e3..be1cc73f 100644 --- a/util/package.json +++ b/util/package.json @@ -6,7 +6,7 @@ "types": "dist/index.d.ts", "scripts": { "postinstall": "npm run build", - "build": "tsc -b ." + "build": "npx tsc -b ." }, "repository": { "type": "git", @@ -34,15 +34,15 @@ "@types/node": "^14.17.9", "@types/node-fetch": "^2.5.12", "ajv": "^8.5.0", + "amqplib": "^0.8.0", "dot-prop": "^6.0.1", "env-paths": "^2.2.1", - "typescript": "^4.1.3", - "amqplib": "^0.8.0", "jsonwebtoken": "^8.5.1", - "mongoose-autopopulate": "^0.12.3", - "mongoose": "^5.13.7", "missing-native-js-functions": "^1.2.2", "mongodb": "^3.6.9", - "node-fetch": "^2.6.1" + "mongoose": "^5.13.7", + "mongoose-autopopulate": "^0.12.3", + "node-fetch": "^2.6.1", + "typescript": "^4.1.3" } } diff --git a/webrtc/package.json b/webrtc/package.json index 54c043ee..041dbbe3 100644 --- a/webrtc/package.json +++ b/webrtc/package.json @@ -5,7 +5,7 @@ "main": "index.js", "scripts": { "test": "npm run build && node dist/test.js", - "build": "tsc -b .", + "build": "npx tsc -b .", "start": "npm run build && node dist/start.js" }, "keywords": [],