Skip to content

Commit

Permalink
fix(api): fixed postbuild asset copy
Browse files Browse the repository at this point in the history
  • Loading branch information
marinoandrea committed Feb 29, 2024
1 parent 1306ae1 commit a942d76
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/rimun-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"scripts": {
"build": "tsc --build --verbose",
"build": "tsc --build --verbose && npm run postbuild",
"serve": "NODE_ENV=development nodemon -e ts -r tsconfig-paths/register -w src/ src/index.ts",
"start": "node --trace-uncaught -r tsconfig-paths/register dist/src/index.js"
"start": "node --trace-uncaught -r tsconfig-paths/register dist/src/index.js",
"postbuild": "mkdir -p dist/src/services/exports/pdf/assets && cp -R src/services/exports/pdf/assets dist/src/services/exports/pdf"
},
"dependencies": {
"@prisma/client": "^5.10.2",
Expand Down

0 comments on commit a942d76

Please sign in to comment.