-
Notifications
You must be signed in to change notification settings - Fork 53
Expand file tree
/
Copy pathpackage.json
More file actions
90 lines (90 loc) · 2.57 KB
/
Copy pathpackage.json
File metadata and controls
90 lines (90 loc) · 2.57 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
{
"name": "neuro-backend",
"version": "1.0.0",
"description": "Neuro-Backend API with hardened CORS configuration",
"main": "src/app.ts",
"scripts": {
"start": "node dist/src/app.js",
"dev": "nodemon --exec ts-node src/app.ts",
"build": "tsc",
"test": "jest",
"test:unit": "jest tests/unit",
"test:integration": "jest tests/integration",
"prisma:generate": "npx prisma generate",
"prepare": "husky"
"test:cors": "jest tests/cors.test.ts",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "eslint src tests",
"format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"",
"typecheck": "tsc --noEmit",
"clean": "rm -rf dist coverage",
"validate:spec": "npx @apidevtools/swagger-parser validate docs/openapi.yaml",
"build:spec": "mkdir -p dist/docs && cp docs/openapi.yaml dist/docs/openapi.yaml && npm run validate:spec",
"prebuild": "npm run clean && npm run build:spec",
"prestart": "npm run build"
},
"keywords": [
"neuro",
"backend",
"cors",
"security",
"express",
"typescript"
],
"author": "Neurowealth",
"license": "MIT",
"engines": {
"node": ">=18.0.0",
"npm": ">=9.0.0"
},
"lint-staged": {
"src/**/*.ts": ["eslint --fix", "prettier --write"],
"tests/**/*.ts": ["eslint --fix", "prettier --write"]
},
"prisma": {
"schema": "prisma/schema.prisma",
"seed": "ts-node prisma/seed.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Neurowealth/Backend.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/Neurowealth/Backend/issues"
},
"homepage": "https://github.com/Neurowealth/Backend#readme",
"dependencies": {
"@prisma/client": "^7.8.0",
"@stellar/stellar-sdk": "^16.0.1",
"@types/node-cron": "^3.0.11",
"@types/supertest": "^7.2.0",
"cors": "^2.8.5",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"ioredis": "^5.11.1"
},
"devDependencies": {
"@aws-sdk/client-ssm": "^3.1075.0",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.10",
"@types/js-yaml": "^4.0.9",
"@types/jsonwebtoken": "^9.0.10",
"@types/node": "^20.10.6",
"@types/swagger-ui-express": "^4.1.8",
"@typescript-eslint/eslint-plugin": "^6.16.0",
"@typescript-eslint/parser": "^6.16.0",
"eslint": "^8.56.0",
"jest": "^29.7.0",
"nodemon": "^3.0.2",
"prettier": "^3.1.1",
"supertest": "^6.3.3",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
}
}