File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed
Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 11node_modules
22.env
3- yarn.lock
3+ yarn.lock
4+ build
Original file line number Diff line number Diff line change 44 "main" : " index.js" ,
55 "license" : " MIT" ,
66 "scripts" : {
7- "dev" : " nodemon --watch \" src/\" --exec \" ts-node src/index.ts\" -e ts"
7+ "dev" : " nodemon --watch \" src/\" --exec \" ts-node src/index.ts\" -e ts" ,
8+ "build" : " rimraf ./build && tsc" ,
9+ "start" : " npm run build && node build/index.js"
810 },
911 "dependencies" : {
1012 "cors" : " ^2.8.5" ,
1618 "@types/cors" : " ^2.8.7" ,
1719 "@types/express" : " ^4.17.8" ,
1820 "nodemon" : " ^2.0.4" ,
21+ "rimraf" : " ^3.0.2" ,
1922 "ts-node" : " ^9.0.0" ,
2023 "typescript" : " ^4.0.2"
2124 }
22- }
25+ }
Original file line number Diff line number Diff line change 1111 // "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
1212 // "sourceMap": true, /* Generates corresponding '.map' file. */
1313 // "outFile": "./", /* Concatenate and emit output to single file. */
14- "outDir" : " ./dist " , /* Redirect output structure to the directory. */
14+ "outDir" : " ./build " , /* Redirect output structure to the directory. */
1515 // "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
1616 // "composite": true, /* Enable project compilation */
1717 // "removeComments": true, /* Do not emit comments to output. */
You can’t perform that action at this time.
0 commit comments