Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
127 lines (127 loc) · 4.11 KB
/
Copy pathpackage.json
File metadata and controls
127 lines (127 loc) · 4.11 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "@pdc/service",
"description": "The service backend for the Philanthropy Data Commons",
"main": "dist/index.js",
"scripts": {
"build": "npm run cleanup && npm run build:node && npm run build:assets && npm run build:openapi",
"build:node": "tsc -p tsconfig.json",
"build:assets": "copyfiles -u 1 \"src/**/*.sql\" \"src/**/.keep\" \"src/public/**\" \"src/skills/**\" dist",
"build:openapi": "redocly bundle \"src/openapi/api.json\" -o \"dist/openapi/api.json\"",
"cleanup": "rimraf dist",
"format": "npm run format:eslint && npm run format:prettier && npm run format:sqlfluff",
"format:eslint": "eslint ./src --fix || true",
"format:prettier": "prettier . --write",
"format:sqlfluff": "./venv/bin/sqlfluff fix src/database/",
"lint": "npm run lint:eslint && npm run lint:prettier && npm run lint:tsc && npm run lint:openapi && npm run lint:sqlfluff && npm run lint:docker-compose",
"lint:docker-compose": "dclint ./compose-ci.yml",
"lint:eslint": "eslint ./src --max-warnings=0",
"lint:openapi": "npx @redocly/cli lint src/openapi/api.json",
"lint:tsc": "tsc --noEmit -p tsconfig.dev.json",
"lint:prettier": "prettier . --check",
"lint:sqlfluff": "./venv/bin/sqlfluff lint src/database/",
"migrate": "ts-node src/scripts/migrate.ts | pino-pretty",
"install:python": "[ ! -d \"venv\" ] && python3 -m venv venv; ./venv/bin/pip install -r sqlfluff/requirements.txt",
"start": "ts-node src/index.ts | pino-pretty",
"test": "npm run test:unit && npm run test:integration",
"test:unit": "jest --config=jest.config.unit.js",
"test:integration": "jest --config=jest.config.int.js",
"test:ci": "jest --config=jest.config.ci.js"
},
"repository": {
"type": "git",
"url": "https://github.com/PhilanthropyDataCommons/service.git"
},
"keywords": [
"Philanthropy",
"Common",
"Application",
"Grant",
"Management",
"System"
],
"author": "Open Tech Strategies",
"license": "AGPL-3.0",
"bugs": {
"url": "https://github.com/PhilanthropyDataCommons/pdc/issues"
},
"homepage": "https://github.com/PhilanthropyDataCommons/pdc#readme",
"engines": {
"node": "26"
},
"type": "commonjs",
"devDependencies": {
"@eslint/js": "^9.39.5",
"@jest/globals": "^30.5.2",
"@redocly/cli": "^2.54.3",
"@smithy/util-stream": "^4.8.2",
"@tsconfig/node26": "^26.0.1",
"@types/cors": "^2.8.19",
"@types/express": "^5.0.6",
"@types/jest": "^30.0.0",
"@types/language-tags": "^1.0.4",
"@types/mime-types": "^3.0.1",
"@types/node": "^26.6.5",
"@types/pg": "^8.23.1",
"@types/supertest": "^7.2.1",
"@types/swagger-ui-express": "^4.1.8",
"@types/validator": "^13.15.10",
"aws-sdk-client-mock": "^4.1.0",
"copyfiles": "^2.4.1",
"dclint": "^3.1.0",
"eslint": "^9.39.5",
"eslint-config-love": "154.1.0",
"eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-typescript": "^4.4.5",
"eslint-plugin-pino": "^1.0.3",
"eslint-plugin-sort-exports": "^0.9.1",
"expect-type": "^1.4.0",
"jest": "^30.5.2",
"jsonwebtoken": "^9.0.3",
"mock-jwks": "^1.0.10",
"nock": "^14.0.17",
"pino-pretty": "^13.1.3",
"prettier": "3.9.9",
"rimraf": "^6.1.3",
"supertest": "^7.3.0",
"swagger-spec-validator": "^6.0.0",
"ts-jest": "^29.4.13",
"ts-node": "^10.9.2",
"typescript": "^6.0.3",
"typescript-eslint": "^8.70.1",
"yaml": "^2.9.1"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.1139.0",
"@aws-sdk/s3-presigned-post": "^3.1139.0",
"@aws-sdk/s3-request-presigner": "^3.1139.0",
"ajv": "^8.18.0",
"ajv-formats": "^3.0.1",
"ajv-keywords": "^5.1.0",
"cors": "^2.8.6",
"csv-parse": "^7.0.2",
"express": "^5.2.1",
"express-jwt": "^8.5.1",
"graphile-worker": "^0.18.0",
"jwks-rsa": "^3.2.2",
"language-tags": "^1.0.9",
"mime-types": "^3.0.2",
"monocle-ts": "^2.3.13",
"newtype-ts": "^0.3.5",
"node-stream-zip": "^1.16.0",
"pino": "^10.3.1",
"pino-http": "^11.0.0",
"postgres-schema-migrations": "^6.1.0",
"require-env-variable": "^4.0.2",
"swagger-ui-dist": "^5.32.14",
"swagger-ui-express": "^5.0.1",
"tinypg": "^7.0.0",
"tmp-promise": "^3.0.3",
"uuid": "^11.1.0",
"validator": "^13.15.35"
},
"overrides": {
"mock-jwks": {
"nock": "14"
}
}
}