forked from asachs01/lectio-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
126 lines (126 loc) · 4.71 KB
/
package.json
File metadata and controls
126 lines (126 loc) · 4.71 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
{
"name": "lectionary-api",
"version": "1.0.1",
"description": "A modern REST API for serving lectionary readings and liturgical calendar data",
"main": "dist/index.js",
"scripts": {
"start": "node dist/index.js || npx ts-node src/index.ts",
"dev": "nodemon --exec ts-node src/index.ts",
"build": "tsc",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint src/**/*.ts --fix",
"typecheck": "tsc --noEmit",
"prepare": "husky",
"docker:build": "docker-compose build",
"docker:up": "docker-compose up -d",
"docker:down": "docker-compose down",
"docker:dev": "docker-compose --profile dev up -d",
"docker:logs": "docker-compose logs -f",
"docker:clean": "docker-compose down -v && docker system prune -f",
"db:generate": "typeorm migration:generate -d ormconfig.js",
"db:migrate": "typeorm migration:run -d ormconfig.js",
"db:run-migrations": "node dist/scripts/run-migrations.js || npx ts-node src/scripts/run-migrations.ts",
"db:revert": "typeorm migration:revert -d ormconfig.js",
"db:drop": "typeorm schema:drop -d ormconfig.js",
"db:sync": "typeorm schema:sync -d ormconfig.js",
"db:seed": "ts-node src/scripts/import-rcl-with-dates.ts",
"db:seed:prod": "node dist/scripts/import-rcl-with-dates.js && node dist/scripts/import-daily-lectionary.js && node dist/scripts/add-missing-seasons-migration.js && node dist/scripts/fix-rcl-proper-readings.js",
"db:seed-production-alt": "node dist/scripts/import-rcl-with-dates.js && node dist/scripts/import-daily-lectionary.js && node dist/scripts/add-missing-seasons-migration.js && node dist/scripts/fix-rcl-proper-readings.js",
"db:fix-seasons": "node dist/scripts/add-missing-seasons-migration.js",
"db:fix-rcl-proper": "node src/scripts/production-fix-runner.js",
"entities:validate": "ts-node src/scripts/validate-entities.ts",
"db:test": "ts-node src/scripts/test-db-connection.ts",
"db:test:complete": "ts-node src/scripts/complete-db-test.ts",
"data:import-lectionary": "ts-node src/scripts/import-lectionary-data.ts",
"data:import-rcl": "ts-node src/scripts/import-rcl-with-dates.ts",
"data:import-rcl:prod": "node dist/scripts/import-rcl-with-dates.js",
"data:import-daily": "ts-node src/scripts/import-daily-lectionary.ts",
"data:import-catholic": "ts-node src/scripts/import-catholic-lectionary.ts",
"data:import-catholic:prod": "node dist/scripts/import-catholic-lectionary.js",
"db:seed-production": "sh scripts/seed-production.sh"
},
"keywords": [
"lectionary",
"liturgical",
"calendar",
"rest",
"api",
"church",
"readings",
"rcl",
"catholic",
"episcopal",
"lutheran"
],
"author": "Your Name",
"license": "MIT",
"dependencies": {
"@opentelemetry/api": "^1.9.0",
"@opentelemetry/auto-instrumentations-node": "^0.62.1",
"@opentelemetry/exporter-metrics-otlp-http": "^0.203.0",
"@opentelemetry/exporter-prometheus": "^0.203.0",
"@opentelemetry/instrumentation-express": "^0.52.0",
"@opentelemetry/instrumentation-http": "^0.203.0",
"@opentelemetry/resources": "^2.2.0",
"@opentelemetry/sdk-metrics": "^2.0.1",
"@opentelemetry/sdk-node": "^0.203.0",
"@opentelemetry/semantic-conventions": "^1.38.0",
"cls-hooked": "^4.2.2",
"compression": "^1.7.4",
"cors": "^2.8.5",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"express-rate-limit": "^7.1.5",
"helmet": "^7.1.0",
"ioredis": "^5.7.0",
"pg": "^8.11.3",
"prom-client": "^15.1.3",
"rate-limiter-flexible": "^7.2.0",
"redis": "^4.6.10",
"reflect-metadata": "^0.1.13",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^5.0.0",
"typeorm": "^0.3.17",
"uuid": "^9.0.1",
"winston": "^3.11.0",
"winston-loki": "^6.1.3"
},
"devDependencies": {
"@types/cls-hooked": "^4.3.9",
"@types/compression": "^1.7.5",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.8",
"@types/node": "^20.10.4",
"@types/pg": "^8.10.9",
"@types/supertest": "^2.0.16",
"@types/swagger-jsdoc": "^6.0.4",
"@types/swagger-ui-express": "^4.1.6",
"@types/uuid": "^9.0.7",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"eslint": "^8.56.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"lint-staged": "^15.5.2",
"nodemon": "^3.0.2",
"supertest": "^6.3.3",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.3.3"
},
"lint-staged": {
"*.{ts,js}": [
"eslint --fix"
],
"*.ts": [
"bash -c 'npm run typecheck'"
]
},
"engines": {
"node": ">=20.0.0"
}
}