This repository was archived by the owner on Mar 16, 2025. It is now read-only.
File tree 3 files changed +5
-9
lines changed
3 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 6
6
" src/generated/**/*"
7
7
],
8
8
"ext" : " ts" ,
9
- "exec" : " npx tsoa routes && npx tsx src/index.ts"
9
+ "exec" : " npm run generate && npx tsx src/index.ts"
10
10
}
Original file line number Diff line number Diff line change 36
36
"main" : " lib/index.js" ,
37
37
"scripts" : {
38
38
"dev" : " nodemon" ,
39
- "build" : " npm run generate && npm run check-types && ./scripts/build.js" ,
39
+ "build" : " npm run generate && tsc --noEmit && ./scripts/build.js" ,
40
40
"start" : " node lib/index.js" ,
41
- "generate" : " tsoa spec-and-routes && npm run spec:format" ,
42
- "spec:format" : " ./scripts/formatSpec.js" ,
41
+ "generate" : " tsoa spec-and-routes && ./scripts/formatSpec.js" ,
43
42
"docker:build" : " docker build -t e2b/chatgpt-plugin-api ." ,
44
- "docker:run" : " docker run --init -p 3000:3000 e2b/chatgpt-plugin-api" ,
45
- "check-types" : " tsc --noEmit"
43
+ "docker:start" : " docker run --init -p 3000:3000 e2b/chatgpt-plugin-api"
46
44
}
47
45
}
Original file line number Diff line number Diff line change 3
3
4
4
const esbuild = require ( 'esbuild' )
5
5
6
- const isDev = process . env . NODE_ENV === 'development'
7
-
8
6
const makeAllPackagesExternalPlugin = {
9
7
name : 'make-all-packages-external' ,
10
8
setup ( build ) {
@@ -19,7 +17,7 @@ const makeAllPackagesExternalPlugin = {
19
17
esbuild
20
18
. build ( {
21
19
bundle : true ,
22
- minify : ! isDev ,
20
+ minify : true ,
23
21
tsconfig : 'tsconfig.json' ,
24
22
platform : 'node' ,
25
23
target : 'node18' ,
You can’t perform that action at this time.
0 commit comments