Task: Fixed package json for yarn serve and fixed tsconfig for build with all packages to src only
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Sambo Chea 2021-09-15 08:52:20 +07:00
parent 1dfad5d122
commit 70f0ef93f8
2 changed files with 3 additions and 2 deletions

View File

@ -7,7 +7,7 @@
"scripts": {
"start": "ts-node-dev --respawn --transpile-only src/app.ts",
"build": "rm -rf dist && tsc",
"serve": "yarn run build && node dist/app.js",
"serve": "yarn build && node dist/app.js",
"bootstrap": "lerna bootstrap",
"test": "echo \"Error: no test specified\" && exit 1",
"prepare": "husky install"

View File

@ -3,7 +3,7 @@
"target": "es5",
"module": "commonjs",
"moduleResolution": "node",
"sourceMap": true,
"sourceMap": false,
"outDir": "dist",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
@ -12,5 +12,6 @@
"skipLibCheck": true,
"experimentalDecorators": true
},
"include": ["src/**/*"],
"exclude": ["node_modules"]
}