🐛 fix tsc missing

This commit is contained in:
Flam3rboy 2021-08-15 00:58:53 +02:00
parent dfa71c3868
commit 380704a866
7 changed files with 101 additions and 277 deletions

View File

@ -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"
},

View File

@ -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",

View File

@ -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": {

View File

@ -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": [],

354
util/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -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"
}
}

View File

@ -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": [],