Skip to content

Commit

Permalink
Reduce build size by pruning dev dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
JHWelch committed Oct 10, 2024
1 parent fde8207 commit be68a65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"fix": "npm run lint -- --fix",
"dev": "nodemon src/index.ts",
"build": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json --resolve-full-paths",
"postbuild": "cp -R node_modules ../built/node_modules",
"postbuild": "npm prune --omit=dev && mv node_modules ../built/node_modules",
"test": "jest",
"test-watch": "jest --watch",
"test:types": "tsc --noEmit",
Expand Down

0 comments on commit be68a65

Please sign in to comment.