Same npm fix for running tsc from ./node_modules for backend

This commit is contained in:
wiz 2020-11-23 17:26:22 +09:00
parent e51a4ce028
commit 824bc21035
No known key found for this signature in database
GPG Key ID: A394E332255A6173

View File

@ -20,7 +20,9 @@
], ],
"main": "index.ts", "main": "index.ts",
"scripts": { "scripts": {
"build": "tsc", "ng": "./node_modules/@angular/cli/bin/ng",
"tsc": "./node_modules/typescript/bin/tsc",
"build": "npm run tsc",
"start": "node --max-old-space-size=4096 dist/index.js", "start": "node --max-old-space-size=4096 dist/index.js",
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1"
}, },