mirror of
https://github.com/umami-software/umami.git
synced 2026-02-11 16:17:13 +01:00
Update package.json
Added prisma generation to build and post install
This commit is contained in:
parent
777515f754
commit
0352d85bf0
1 changed files with 3 additions and 2 deletions
|
|
@ -18,7 +18,7 @@
|
||||||
"start-docker": "npm-run-all check-db update-tracker set-routes-manifest start-server",
|
"start-docker": "npm-run-all check-db update-tracker set-routes-manifest start-server",
|
||||||
"start-env": "node scripts/start-env.js",
|
"start-env": "node scripts/start-env.js",
|
||||||
"start-server": "node server.js",
|
"start-server": "node server.js",
|
||||||
"build-app": "next build",
|
"build-app": "prisma generate && next build",
|
||||||
"build-components": "rollup -c rollup.components.config.mjs",
|
"build-components": "rollup -c rollup.components.config.mjs",
|
||||||
"build-tracker": "rollup -c rollup.tracker.config.mjs",
|
"build-tracker": "rollup -c rollup.tracker.config.mjs",
|
||||||
"build-db": "npm-run-all copy-db-files build-db-client",
|
"build-db": "npm-run-all copy-db-files build-db-client",
|
||||||
|
|
@ -47,7 +47,8 @@
|
||||||
"postbuild": "node scripts/postbuild.js",
|
"postbuild": "node scripts/postbuild.js",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"cypress-open": "cypress open cypress run",
|
"cypress-open": "cypress open cypress run",
|
||||||
"cypress-run": "cypress run cypress run"
|
"cypress-run": "cypress run cypress run",
|
||||||
|
"postinstall": "prisma generate"
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"**/*.{js,jsx,ts,tsx}": [
|
"**/*.{js,jsx,ts,tsx}": [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue