File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 "types" : " ./dist/index.d.ts" ,
66 "main" : " ./dist/index.js" ,
77 "scripts" : {
8- "build" : " npm run clean && npx tsc && npm run copyfiles" ,
8+ "build:windows" : " npm run clean && npx tsc && npm run copyfiles:windows" ,
9+ "build:linux" : " npm run clean && npx tsc && npm run copyfiles:linux" ,
910 "clean" : " npx rimraf --glob dist/" ,
10- "copyfiles" : " mkdir \" dist\\ api\\ v1\\ core\\ db\" && cp ./src/api/v1/core/db/ ./dist/api/v1/core -r" ,
11- "dev" : " npm run clean && npm run copyfiles && tsc-watch --onSuccess \" node ./dist/index.js\" " ,
11+ "copyfiles:linux" : " mkdir \" dist\\ api\\ v1\\ core\\ db\" && cp ./src/api/v1/core/db/ ./dist/api/v1/core -r" ,
12+ "copyfiles:windows" : " mkdir \" dist\\ api\\ v1\\ core\\ db\" && xcopy .\\ src\\ api\\ v1\\ core\\ db\\ .\\ dist\\ api\\ v1\\ core\\ db\\ /s /e" ,
13+ "dev:windows" : " npm run clean && npm run copyfiles:windows && tsc-watch --onSuccess \" node ./dist/index.js\" " ,
14+ "dev:linux" : " npm run clean && npm run copyfiles:linux && tsc-watch --onSuccess \" node ./dist/index.js\" " ,
1215 "start" : " node ./dist/index.js" ,
1316 "test" : " vitest" ,
1417 "test:coverage" : " vitest run --coverage"
4851 "typescript" : " ^4.9.5" ,
4952 "vitest" : " ^1.6.0"
5053 }
51- }
54+ }
You can’t perform that action at this time.
0 commit comments