Skip to content

Commit

Permalink
feat: add html files to build
Browse files Browse the repository at this point in the history
  • Loading branch information
Sherlemious committed Nov 30, 2024
1 parent 06d46aa commit 3f034c9
Show file tree
Hide file tree
Showing 2 changed files with 137 additions and 1 deletion.
134 changes: 134 additions & 0 deletions backend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"scripts": {
"dev": "tsx watch src/server.ts",
"start-nodemon": "nodemon",
"build": "npm i && tsc",
"build": "npm i && tsc && npm run copy-html",
"copy-html": "copyfiles -u 1 src/**/*.html dist",
"start": "tsx ./dist/server.js",
"test": "tsc --project tsconfig.test.json && jest",
"lint": "prettier --check . --config ../.prettierrc",
Expand Down Expand Up @@ -43,6 +44,7 @@
"@types/node": "^22.7.2",
"@types/nodemailer": "^6.4.17",
"@types/supertest": "^6.0.2",
"copyfiles": "^2.4.1",
"jest": "^29.7.0",
"nodemon": "^3.1.7",
"prettier": "^3.3.3",
Expand Down

0 comments on commit 3f034c9

Please sign in to comment.