🐛 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": "jest",
"test:watch": "jest --watch", "test:watch": "jest --watch",
"start": "npm run build && node dist/start", "start": "npm run build && node dist/start",
"build": "tsc -b .", "build": "npx tsc -b .",
"build-docker": "tsc -p tsconfig-docker.json", "build-docker": "tsc -p tsconfig-docker.json",
"dev": "tsnd --respawn src/start.ts" "dev": "tsnd --respawn src/start.ts"
}, },

View File

@ -4,9 +4,9 @@
"description": "", "description": "",
"main": "src/start.js", "main": "src/start.js",
"scripts": { "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": "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:api": "cd ../api/ && npm run build",
"build:cdn": "cd ../cdn/ && npm run build", "build:cdn": "cd ../cdn/ && npm run build",
"build:gateway": "cd ../gateway/ && npm run build", "build:gateway": "cd ../gateway/ && npm run build",

View File

@ -6,7 +6,7 @@
"types": "dist/index.d.ts", "types": "dist/index.d.ts",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"build": "tsc -b .", "build": "npx tsc -b .",
"start": "npm run build && node dist/start.js" "start": "npm run build && node dist/start.js"
}, },
"repository": { "repository": {

View File

@ -6,7 +6,7 @@
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"start": "npm run build && node dist/start.js", "start": "npm run build && node dist/start.js",
"build": "tsc -b .", "build": "npx tsc -b .",
"dev": "tsnd --respawn src/start.ts" "dev": "tsnd --respawn src/start.ts"
}, },
"keywords": [], "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", "types": "dist/index.d.ts",
"scripts": { "scripts": {
"postinstall": "npm run build", "postinstall": "npm run build",
"build": "tsc -b ." "build": "npx tsc -b ."
}, },
"repository": { "repository": {
"type": "git", "type": "git",
@ -34,15 +34,15 @@
"@types/node": "^14.17.9", "@types/node": "^14.17.9",
"@types/node-fetch": "^2.5.12", "@types/node-fetch": "^2.5.12",
"ajv": "^8.5.0", "ajv": "^8.5.0",
"amqplib": "^0.8.0",
"dot-prop": "^6.0.1", "dot-prop": "^6.0.1",
"env-paths": "^2.2.1", "env-paths": "^2.2.1",
"typescript": "^4.1.3",
"amqplib": "^0.8.0",
"jsonwebtoken": "^8.5.1", "jsonwebtoken": "^8.5.1",
"mongoose-autopopulate": "^0.12.3",
"mongoose": "^5.13.7",
"missing-native-js-functions": "^1.2.2", "missing-native-js-functions": "^1.2.2",
"mongodb": "^3.6.9", "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", "main": "index.js",
"scripts": { "scripts": {
"test": "npm run build && node dist/test.js", "test": "npm run build && node dist/test.js",
"build": "tsc -b .", "build": "npx tsc -b .",
"start": "npm run build && node dist/start.js" "start": "npm run build && node dist/start.js"
}, },
"keywords": [], "keywords": [],