-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.66 KB
/
package.json
File metadata and controls
84 lines (84 loc) · 2.66 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
{
"name": "ibs-tracker-api",
"version": "1.0.0",
"description": "",
"main": "./dist/index.js",
"type": "module",
"scripts": {
"build:tsc": "tsc && tsc-alias -p tsconfig.json",
"build": "esbuild src/index.ts --bundle --platform=node --outdir=dist --format=esm --packages=external",
"build:watch": "esbuild src/index.ts --bundle --platform=node --outdir=dist --format=esm --packages=external --watch",
"start": "NODE_ENV=production npm run clean && npm run build && node dist/index.js",
"dev": "sh ./src/tests_api/setup/setupTestDB.sh && NODE_ENV=dev concurrently --kill-others \"yarn build:watch\" \"nodemon dist/index.js\" ; sh ./src/tests_api/setup/cleanupTestDB.sh",
"test": "NODE_ENV=test node --experimental-vm-modules $(yarn bin jest) --verbose --runInBand",
"api:test": "sh ./src/tests_api/setup/setupTestDB.sh && yarn test ; sh ./src/tests_api/setup/cleanupTestDB.sh",
"lint": "eslint .",
"start:test": "NODE_ENV=test ts-node src/main.ts",
"clean": "rm -rf dist"
},
"repository": {
"type": "git",
"url": "git+https://github.com/aidadenisa/ibs-tracker-api.git"
},
"author": "Aida O",
"license": "MIT",
"bugs": {
"url": "https://github.com/aidadenisa/ibs-tracker-api/issues"
},
"homepage": "https://github.com/aidadenisa/ibs-tracker-api#readme",
"dependencies": {
"@getbrevo/brevo": "^2.1.1",
"bcrypt": "^5.1.0",
"cors": "^2.8.5",
"date-fns": "^2.30.0",
"dotenv": "^16.0.3",
"express": "^4.18.2",
"express-rate-limit": "^7.1.5",
"jsonwebtoken": "^9.0.2",
"mongoose": "^8.2.0",
"mongoose-unique-validator": "^4.0.0",
"sib-api-v3-sdk": "^8.5.0"
},
"devDependencies": {
"@babel/preset-typescript": "^7.23.3",
"@jest/globals": "29.1.2",
"@types/bcrypt": "^5.0.2",
"@types/cors": "^2.8.17",
"@types/date-fns": "^2.6.0",
"@types/express": "^4.17.21",
"@types/jest": "29.1.2",
"@types/jsonwebtoken": "^9.0.5",
"@types/node": "^20.11.20",
"@types/supertest": "^6.0.2",
"@types/winston": "^2.4.4",
"concurrently": "^8.2.2",
"esbuild": "^0.20.1",
"eslint": "^8.32.0",
"jest": "29.1.2",
"nodemon": "^2.0.20",
"supertest": "^6.3.3",
"ts-jest": "29.1.2",
"ts-migrate": "^0.1.35",
"ts-migrate-server": "^0.1.33",
"tsc-alias": "^1.8.8",
"typescript": "^5.3.3",
"winston": "^3.11.0"
},
"jest": {
"testEnvironment": "node",
"preset": "ts-jest",
"transform": {
"^.+\\.ts?$": "ts-jest"
},
"transformIgnorePatterns": [
"./node_modules/"
],
"rootDir": ".",
"moduleNameMapper": {
"@/(.*)": "<rootDir>/src/$1"
}
},
"engines": {
"node": ">=12.0.0"
}
}