Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -350,4 +350,5 @@ MigrationBackup/
.ionide/

uploade-api/node_modules
uploade-api/build
uploade-api/build
package-lock.json
3 changes: 0 additions & 3 deletions .npmrc

This file was deleted.

4 changes: 3 additions & 1 deletion api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
"start": "NODE_ENV=production node dist/server.js",
"dev": "NODE_ENV=production tsx watch ./src/server.ts",
"prettify": "prettier --write .",
"lint:fix": "eslint --fix --ext .ts . --ignore-pattern './node_modules/' --ignore-pattern './dist/'",
"windev": "SET NODE_ENV=production&& tsx watch ./src/server.ts",
"winstart": "SET NODE_ENV=production&& node dist/server.js",
"lint:fix": "eslint --ext .ts --ignore-pattern './node_modules/' --ignore-pattern './dist/'",
"precommit": "npm run prettify && npm run lint:fix"
},
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"husky": {
"hooks": {
"pre-commit": "npx validate-branch-name && cd api && npm run precommit && cd ../ui && npm run precommit && cd .. && git add ."
"pre-commit": "npx validate-branch-name && cd ./api && npm run precommit && cd ./ui && npm run precommit && npm run precommit && cd ./ && cd .. && git add ."
}
},
"validate-branch-name": {
Expand Down