Fix error when running setup:cli
This commit is contained in:
parent
3fca30a7ef
commit
31ee48d579
3 changed files with 1 additions and 4 deletions
|
@ -63,9 +63,7 @@
|
|||
"ts-node": "ts-node",
|
||||
"eslint": "eslint",
|
||||
"resolve-tspaths": "resolve-tspaths",
|
||||
"resolve-tspaths:all": "npm run resolve-tspaths:server && npm run resolve-tspaths:cli",
|
||||
"resolve-tspaths:server": "npm run resolve-tspaths -- --project tsconfig.json --src . --out dist",
|
||||
"resolve-tspaths:cli": "npm run resolve-tspaths -- --project ./server/tools/tsconfig.json --src ./server/tools --out ./dist/server/tools",
|
||||
"concurrently": "concurrently",
|
||||
"mocha": "mocha",
|
||||
"ci": "bash ./scripts/ci.sh",
|
||||
|
|
|
@ -13,4 +13,4 @@ mkdir -p "./dist/server/tools"
|
|||
cp -r "./server/tools/node_modules" "./dist/server/tools"
|
||||
|
||||
cd ./server/tools
|
||||
../../node_modules/.bin/tsc-watch --build --verbose --onSuccess 'sh -c "cd ../../ && npm run resolve-tspaths:all"'
|
||||
../../node_modules/.bin/tsc-watch --build --verbose --onSuccess 'sh -c "cd ../../ && npm run resolve-tspaths:server"'
|
||||
|
|
|
@ -14,5 +14,4 @@ rm -rf ./dist/server/tools/
|
|||
|
||||
cp -r "./server/tools/node_modules" "./dist/server/tools"
|
||||
|
||||
npm run resolve-tspaths:cli
|
||||
npm run resolve-tspaths:server
|
||||
|
|
Loading…
Reference in a new issue