Skip to content

Commit

Permalink
Environment: index.html 生成処理を npm script として追加
Browse files Browse the repository at this point in the history
  • Loading branch information
ThinaticSystem committed Jul 6, 2024
1 parent 9a95467 commit e593f88
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@
"type": "module",
"scripts": {
"generate-routes": "tsr generate",
"generate-html-template": "pnpm exec tsx --tsconfig tsconfig.app.json --loader ./scripts/ignore-assets-loader.js scripts/generate-template-html.js",
"watch-routes": "tsr watch",
"dev": "vite",
"build": "generate-routes && tsc -b && vite build && node ./scripts/generate-ejs.js",
"build": "pnpm run generate-routes && pnpm run generate-html-template && tsc -b && vite build && node ./scripts/generate-ejs.js",
"preview": "vite preview",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"lint:fix": "pnpm lint --fix",
Expand Down

0 comments on commit e593f88

Please sign in to comment.