include all commands in build:for:npm

This commit is contained in:
Jacob Overgaard
2023-06-19 14:26:19 +02:00
parent 3f441e3b76
commit 12eff14d48

View File

@@ -86,7 +86,7 @@
"build:vite": "tsc && vite build --mode staging",
"build:for:static": "vite build",
"build:for:cms": "npm run build && node ./devops/build/copy-to-cms.js",
"build:for:npm": "npm run build && tsc-alias -f -p src/tsconfig.json",
"build:for:npm": "npm run build && tsc-alias -f -p src/tsconfig.json && npm run generate:jsonschema:dist && npm run wc-analyze && npm run wc-analyze:vscode",
"preview": "vite preview --open",
"test": "web-test-runner --coverage",
"test:watch": "web-test-runner --watch",