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

View File

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