-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 2.46 KB
/
package.json
File metadata and controls
85 lines (85 loc) · 2.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"name": "hack-the-lab-backend",
"description": "Backend api servicing Michigan Lab's Hack the Lab 2024 Hackathon Event",
"main": "dist/index.js",
"scripts": {
"dev": "npm run docker && NODE_ENV=development nodemon",
"docker": "docker compose -p hack_the_lab up -d",
"rm-docker": "docker compose down -v",
"build": "node_modules/.bin/rimraf ./dist && npx tsc && npx tsc-alias && npm run post:build",
"start": "npm run build && node dist/index.js",
"build:swagger": "node ./swagger.js",
"kill": "kill -9 $(lsof -ti:8080)",
"clean-unimported": "npx unimported --fix",
"format:check": "prettier --check .",
"format:write": "prettier --write .",
"lint:check": "eslint .",
"lint:fix": "eslint --fix .",
"prepare": "husky install",
"post:build": "npm run build:swagger",
"sync-mazes": "node ./syncMazeDb.js"
},
"nodemonConfig": {
"watch": [
"src",
".env"
],
"ext": ".ts",
"exec": "node -r ts-node/register -r tsconfig-paths/register --env-file=.env ./src/index.ts"
},
"husky": {
"hooks": {
"pre-commit": "sh .husky/pre-commit"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write"
]
},
"dependencies": {
"body-parser": "^1.20.2",
"cors": "^2.8.5",
"express": "^4.18.2",
"express-rate-limit": "^7.3.0",
"express-validator": "^7.0.1",
"fs": "^0.0.1-security",
"on-finished": "^2.4.1",
"pg": "^8.11.4",
"redis": "^4.6.13",
"rimraf": "^5.0.5",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^5.0.0",
"ts-node": "^10.9.2",
"winston": "^3.11.0"
},
"devDependencies": {
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/morgan": "^1.9.9",
"@types/node": "^20.12.7",
"@types/on-finished": "^2.3.4",
"@types/pg": "^8.11.4",
"@types/swagger-ui-express": "^4.1.6",
"@typescript-eslint/eslint-plugin": "^7.7.0",
"@typescript-eslint/parser": "^7.7.0",
"dotenv": "^16.4.5",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-simple-import-sort": "^12.1.0",
"eslint-plugin-unused-imports": "^3.1.0",
"husky": "^8.0.0",
"lint-staged": "^15.2.2",
"morgan": "^1.10.0",
"nodemon": "^3.1.0",
"prettier": "^3.2.5",
"tsc-alias": "^1.8.8",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.3.2"
},
"engines": {
"node": "v21.6.2"
},
"author": "davealdon (https://github.com/davealdon)"
}