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
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
.DS_Store

node_modules
12 changes: 12 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"


# Testing Frontend
cd frontend
npm test
cd ..

# Testing Backend Upgrade
cd backend/packages/Upgrade
npm start lint && npm start typecheck && npm test
3 changes: 0 additions & 3 deletions backend/packages/Upgrade/nodemon.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{
"delay": "500",
"events": {
"start": "tslint -c ./tslint.json -t stylish 'src/**/*.ts'"
},
"ignore": ["test", "commands", "src/database"],
"watch": ["src/**/*.ts", ".env"],
"ext": "ts",
Expand Down
Loading