forked from StellarState/SS-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
102 lines (102 loc) · 3.24 KB
/
Copy pathpackage.json
File metadata and controls
102 lines (102 loc) · 3.24 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
94
95
96
97
98
99
100
101
102
{
"name": "stellarsettle-api",
"version": "0.1.0",
"description": "Backend API for StellarSettle invoice financing platform",
"main": "dist/index.js",
"private": true,
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/StellarState/SS-backend.git"
},
"bugs": {
"url": "https://github.com/StellarState/SS-backend/issues"
},
"engines": {
"node": ">=22.0.0",
"npm": ">=10.0.0"
},
"scripts": {
"dev": "nodemon --exec ts-node -r tsconfig-paths/register src/index.ts",
"clean": "rm -rf dist coverage",
"prebuild": "npm run clean",
"build": "tsc -p tsconfig.json",
"start": "node -r tsconfig-paths/register dist/index.js",
"test": "jest",
"test:ci": "jest --ci --runInBand --forceExit --detectOpenHandles",
"test:coverage": "jest --coverage",
"test:watch": "jest --watch",
"test:e2e": "jest tests/e2e --verbose",
"lint": "eslint \"src/**/*.ts\"",
"lint:fix": "eslint \"src/**/*.ts\" --fix",
"format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"",
"format:check": "prettier --check \"src/**/*.ts\" \"tests/**/*.ts\"",
"type-check": "tsc --noEmit",
"db:migrate": "node -r ts-node/register ./node_modules/typeorm/cli.js migration:run -d src/config/data-source.ts",
"db:migrate:revert": "node -r ts-node/register ./node_modules/typeorm/cli.js migration:revert -d src/config/data-source.ts",
"db:migrate:show": "node -r ts-node/register ./node_modules/typeorm/cli.js migration:show -d src/config/data-source.ts",
"verify:openapi": "ts-node -r tsconfig-paths/register scripts/verify-openapi-sync.ts",
"ci": "npm run lint && npm run type-check && npm run build && npm run test:ci",
"prepare": "husky"
},
"nodemonConfig": {
"watch": [
"src"
],
"ext": "ts,json",
"ignore": [
"src/**/*.test.ts",
"src/**/*.spec.ts",
"dist",
"coverage"
],
"delay": "500"
},
"dependencies": {
"bcrypt": "^5.1.1",
"cors": "^2.8.5",
"decimal.js": "^10.6.0",
"dotenv": "^16.3.1",
"express": "^5.2.1",
"express-rate-limit": "^7.1.5",
"helmet": "^7.1.0",
"ip-range-check": "^0.2.0",
"joi": "^17.11.0",
"jsonwebtoken": "^9.0.2",
"multer": "^2.1.1",
"pg": "^8.11.3",
"reflect-metadata": "^0.2.1",
"sanitize-html": "^2.13.0",
"sqlite3": "^5.1.7",
"stellar-sdk": "^11.2.0",
"typeorm": "^0.3.17",
"winston": "^3.11.0"
},
"devDependencies": {
"@commitlint/cli": "^20.5.0",
"@commitlint/config-conventional": "^20.5.0",
"@types/bcrypt": "^5.0.2",
"@types/cors": "^2.8.17",
"@types/decimal.js": "^0.0.32",
"@types/express": "^5.0.0",
"@types/jest": "^29.5.14",
"@types/jsonwebtoken": "^9.0.5",
"@types/multer": "^2.1.0",
"@types/node": "^22.0.0",
"@types/sanitize-html": "^2.13.0",
"@types/supertest": "^6.0.3",
"@typescript-eslint/eslint-plugin": "^6.18.0",
"@typescript-eslint/parser": "^6.18.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"nodemon": "^3.0.2",
"prettier": "^3.2.4",
"supertest": "^6.3.4",
"ts-jest": "^29.4.12",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.3.3"
}
}