🐛 prepare/postinstall only works for packages not local npm install
This commit is contained in:
parent
390493b8d4
commit
77ac8a96a7
@ -4,7 +4,7 @@
|
|||||||
"description": "",
|
"description": "",
|
||||||
"main": "src/start.js",
|
"main": "src/start.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepare": "cd ../util && npm --production=false i && cd ../api && npm --production=false i && cd ../cdn && npm --production=false i && cd ../gateway && npm --production=false i",
|
"setup": "cd ../util && npm --production=false i && cd ../api && npm --production=false i && cd ../cdn && npm --production=false i && cd ../gateway && npm --production=false i && npm install && npm run start",
|
||||||
"build": "npm run build:util && npm run build:api && npm run build:cdn && npm run build:gateway && npm run build:bundle",
|
"build": "npm run build:util && npm run build:api && npm run build:cdn && npm run build:gateway && npm run build:bundle",
|
||||||
"postinstall": "ts-patch install -s",
|
"postinstall": "ts-patch install -s",
|
||||||
"build:bundle": "npx tsc -b .",
|
"build:bundle": "npx tsc -b .",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user