-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 2.83 KB
/
package.json
File metadata and controls
93 lines (93 loc) · 2.83 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
86
87
88
89
90
91
92
93
{
"name": "red-alliance-api",
"version": "0.18.0",
"description": "The Red Alliance API",
"main": "index.js",
"repository": "https://github.com/titanscouting/red-alliance-api",
"author": "Titan Scouting",
"license": "BSD-3-Clause",
"private": false,
"scripts": {
"start": "ts-node-dev src/index.ts",
"start:prod": "node built/src/index.js",
"build": "tsc && mkdir -p built/src/api-docs/api/ && cp -r src/api-docs/api/ built/src/api-docs/ && npm run build:privacy",
"build:privacy": "mkdir -p built/public/ && cp public/privacy-policy.pdf built/public/",
"test-lint": "eslint . --ext .ts",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"test": "PORT=9999 nyc --reporter=text ts-mocha --timeout 10000 --exit",
"test:windows": "set PORT=9999 && nyc --reporter=text ts-mocha --timeout 10000 --exit",
"coverage": "npm test && nyc report --reporter=lcov",
"doc": "typedoc --out docs src/db-handlers/ --exclude src/routes/ --exclude src/routes/index.ts --name 'The Red Alliance API' --includeVersion --hideGenerator",
"precommit-msg": "echo 'Pre-commit checks...' && exit 0"
},
"pre-commit": [
"precommit-msg",
"lint"
],
"nyc": {
"extension": [
".ts",
".tsx"
],
"exclude": [
"test/**.js",
"src/**.ts"
],
"reporter": [
"html"
],
"all": true
},
"dependencies": {
"@babel/register": "^7.29.3",
"@types/express": "^5.0.6",
"@types/node": "^25.6.0",
"bcrypt": "^6.0.0",
"dotenv": "^17.4.2",
"express": "^5.2.1",
"express-jwt": "^8.5.1",
"express-rate-limit": "^8.4.1",
"express-validation": "^4.1.1",
"google-auth-library": "^10.6.2",
"jsdoc": "^4.0.5",
"mongo-express-req": "^4.13.0",
"morgan": "^1.10.1",
"node-fetch": "^2.7.0",
"nodemon": "^3.1.14",
"redis": "^5.12.1",
"socket.io": "^4.8.3",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^5.0.1",
"tsdoc": "^0.0.4",
"typescript": "^6.0.3",
"uuid": "^14.0.0",
"uuid-apikey": "^1.5.3",
"validator": "^13.15.35"
},
"devDependencies": {
"@istanbuljs/nyc-config-babel": "^3.0.0",
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@types/expect": "^24.3.2",
"@types/mocha": "^10.0.10",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"chai": "^6.2.2",
"chai-http": "^5.1.2",
"chai-json": "^1.0.0",
"coveralls": "^3.1.0",
"eslint": "^8.57.1",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"minimist": ">=1.2.8",
"mocha": "^11.7.5",
"nyc": "^18.0.0",
"pre-commit": "^2.0.0",
"source-map-support": "^0.5.19",
"ts-mocha": "^11.1.0",
"ts-node": "^10.9.2",
"ts-node-dev": "^2.0.0",
"typedoc": "^0.28.19",
"validator": "^13.15.35"
}
}