-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
78 lines (78 loc) · 3.54 KB
/
package.json
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
{
"author": "Jacob Lurie",
"license": "ISC",
"name": "nightlight-backend",
"version": "1.0.0",
"description": "Backend for the nightlight mobile application Express, MongoDB, Mongoose, and Node.",
"main": "src/server.ts",
"scripts": {
"start": "docker compose up",
"start:test": "ENVIRONMENT=test npm-run-all -p redis worker",
"redis": "docker-compose up redis",
"worker": "ts-node src/queue/setup/workers.setup.ts",
"express": "nodemon src/index.ts",
"build": "rm -rf build/ && prettier --write src/ && tsc",
"format": "prettier --write '**/*.{js,jsx,ts,tsx,json,css,scss,md}'",
"format:check": "prettier --check '**/*.{js,jsx,ts,tsx,json,css,scss,md}'",
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"typescript:check": "tsc --esModuleInterop",
"seed": "ENVIRONMENT=test nyc mocha -r dotenv/config --exit --timeout 8000 -r ts-node/register src/tests/seed.test.ts",
"test:venue-utils": "ENVIRONMENT=test nyc mocha -r dotenv/config --timeout 8000 --exit -r ts-node/register src/tests/venue.utils.test.ts",
"test:notifs-utils": "ENVIRONMENT=test nyc mocha -r dotenv/config --timeout 8000 --exit -r ts-node/register src/tests/notification.utils.test.ts",
"test:validation-utils": "ENVIRONMENT=test nyc mocha -r dotenv/config --timeout 8000 --exit -r ts-node/register src/tests/validation.utils.test.ts",
"test:venues": "ENVIRONMENT=test nyc mocha -r dotenv/config --timeout 12000 --exit -r ts-node/register src/tests/venue.controller.test.ts",
"test:users": "ENVIRONMENT=test nyc mocha -r dotenv/config --timeout 8000 --exit -r ts-node/register src/tests/user.controller.test.ts",
"test:groups": "ENVIRONMENT=test nyc mocha -r dotenv/config --timeout 8000 --exit -r ts-node/register src/tests/group.controller.test.ts",
"test:notifs": "ENVIRONMENT=test nyc mocha -r dotenv/config --timeout 8000 --exit -r ts-node/register src/tests/notification.controller.test.ts",
"test:pings": "ENVIRONMENT=test nyc mocha -r dotenv/config --timeout 8000 --exit -r ts-node/register src/tests/ping.controller.test.ts",
"test": "ENVIRONMENT=test nyc mocha -r dotenv/config --timeout 20000 --exit -r ts-node/register src/tests/*.test.ts",
"prepare": "husky install"
},
"dependencies": {
"@bull-board/express": "^5.0.0",
"@faker-js/faker": "^7.6.0",
"@types/axios": "^0.14.0",
"@types/express": "^4.17.16",
"@types/mocha": "^10.0.1",
"@types/mongodb": "^4.0.7",
"@types/mongoose": "^5.11.97",
"@types/morgan": "^1.9.4",
"@types/supertest": "^2.0.12",
"axios": "^1.3.4",
"bull-arena": "^3.30.4",
"bullmq": "^3.10.1",
"cloudinary": "^1.35.0",
"dotenv": "^16.0.3",
"express": "^4.18.2",
"fetch": "^1.1.0",
"firebase-admin": "^11.5.0",
"helmet": "^6.0.1",
"ioredis": "^5.3.1",
"mongoose": "^6.9.0",
"morgan": "^1.10.0",
"multer": "^1.4.5-lts.1",
"nodemon": "^2.0.20",
"socket.io": "^4.5.4",
"streamifier": "^0.1.1",
"supertest": "^6.3.3",
"ts-node": "^10.9.1"
},
"devDependencies": {
"@types/multer": "^1.4.7",
"@types/streamifier": "^0.1.0",
"@typescript-eslint/eslint-plugin": "^5.59.11",
"@typescript-eslint/parser": "^5.59.11",
"chai": "^4.1.2",
"chai-http": "^4.0.0",
"eslint": "^8.43.0",
"eslint-plugin-autofix": "^1.1.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-react": "^7.32.2",
"husky": "^8.0.0",
"mocha": "^5.2.0",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"prettier": "^2.8.3",
"typescript": "^4.9.5"
}
}