Add postinstall script to build tinypdf-plus
The tinypdf-plus package from GitHub needs to be built after installation to generate the dist folder. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
908c82916d
commit
4e8c9fd140
1 changed files with 2 additions and 1 deletions
|
|
@ -10,7 +10,8 @@
|
||||||
"lint": "eslint src/**/*.ts",
|
"lint": "eslint src/**/*.ts",
|
||||||
"seed": "npx prisma db seed",
|
"seed": "npx prisma db seed",
|
||||||
"seed:demo": "node prisma/seed-demo.js",
|
"seed:demo": "node prisma/seed-demo.js",
|
||||||
"seed:all": "npx prisma db seed && node prisma/seed-demo.js"
|
"seed:all": "npx prisma db seed && node prisma/seed-demo.js",
|
||||||
|
"postinstall": "cd node_modules/tinypdf-plus && npm run build || true"
|
||||||
},
|
},
|
||||||
"prisma": {
|
"prisma": {
|
||||||
"seed": "node dist/prisma/seed.js"
|
"seed": "node dist/prisma/seed.js"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue