-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
110 lines (110 loc) · 4.32 KB
/
package.json
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
{
"name": "statswales",
"version": "1.0.0",
"description": "This is the StatsWales private alpha repository. This repository is here to allow us to experiment with a number of technologies to prove out a number of hypotheses and establish the technologies we may wish to take in to Beta.",
"main": "server.js",
"scripts": {
"clean": "rimraf dist/*",
"tsc": "tsc",
"prettier:ci": "prettier --config .prettierrc 'src/**/*.ts' --check",
"prettier:fix": "prettier --config .prettierrc 'src/**/*.ts' --write",
"lint:ci": "eslint .",
"lint:fix": "eslint . --fix",
"build": "npm-run-all clean tsc",
"pretest": "f() { if [ $(command -v podman) ]; then podman compose up -d db-test; else docker compose up -d db-test; fi }; f",
"test": "APP_ENV=ci jest --coverage",
"test:ci": "APP_ENV=ci jest --ci --coverage --config=jest.config.ts",
"check": "npm-run-all prettier:fix lint:fix test build",
"predev": "f() { if [ $(command -v podman) ]; then podman compose up -d db-dev redis; else docker compose up -d db-dev redis; fi }; f",
"dev:check": "npm-run-all check dev",
"dev": "APP_ENV=local ts-node-dev --respawn src/server.ts | pino-colada",
"start": "npm run build && node dist/server.js | pino-colada",
"start:container": "node dist/server.js",
"typeorm": "APP_ENV=local typeorm-ts-node-commonjs",
"typeorm-seeding": "ts-node ./node_modules/@jorgebodega/typeorm-seeding/dist/cli.js",
"migration:show": "APP_ENV=local npm run typeorm migration:show -- --dataSource=./src/db/data-source.ts",
"migration:run": "APP_ENV=local npm run typeorm migration:run -- --dataSource=./src/db/data-source.ts",
"migration:drop": "npm run typeorm schema:drop -- --dataSource=./src/db/data-source.ts",
"migration:revert": "APP_ENV=local npm run typeorm migration:revert -- --dataSource=./src/db/data-source.ts",
"migration:generate": "APP_ENV=local npm run typeorm migration:generate -- --dataSource=./src/db/data-source.ts",
"seed:run": "APP_ENV=local npm run typeorm-seeding -- -d ./src/db/data-source.ts ./src/seeders/*.ts"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@shopify/eslint-plugin": "^46.0.0",
"@types/better-sqlite3": "^7.6.9",
"@types/cookie-parser": "^1.4.7",
"@types/cors": "^2.8.17",
"@types/express": ">=4.17.21",
"@types/express-session": "^1.18.0",
"@types/fs-extra": "^9.0.13",
"@types/jest": "^29.5.12",
"@types/lodash": "^4.17.7",
"@types/multer": "^1.4.11",
"@types/node": "^20.11.27",
"@types/passport": "^1.0.16",
"@types/passport-google-oauth20": "^2.0.16",
"@types/passport-jwt": "^4.0.1",
"@types/shelljs": "^0.8.15",
"@types/supertest": "^6.0.2",
"@types/tmp": "^0.2.6",
"@types/uuid": "^10.0.0",
"better-sqlite3": "^9.5.0",
"eslint": "^8.57.1",
"fs-extra": "^10.1.0",
"jest": "^29.7.0",
"jest-junit": "^16.0.0",
"jest-junit-reporter": "^1.1.0",
"nodemon": "^3.1.0",
"npm-run-all": "^4.1.5",
"pino-colada": "^2.2.2",
"prettier": "^3.2.5",
"rimraf": "^6.0.1",
"shelljs": "^0.8.5",
"supertest": "^6.3.4",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"ts-node-dev": "^2.0.0",
"typescript": "^5.3.3",
"typescript-eslint": "^8.6.0"
},
"dependencies": {
"@azure/identity": "^4.4.1",
"@azure/storage-blob": "^12.24.0",
"@azure/storage-file-datalake": "^12.16.0",
"@jorgebodega/typeorm-seeding": "^7.1.0",
"body-parser": "^1.20.2",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"connect-redis": "^7.1.1",
"cookie-parser": "^1.4.6",
"csv": "^6.3.8",
"date-fns": "^4.1.0",
"dotenv": "^16.4.4",
"duckdb-async": "^1.1.3",
"express": ">=4.19.2",
"express-rate-limit": "^7.4.0",
"express-session": "^1.18.0",
"express-validator": "^7.2.0",
"i18next": "^23.10.1",
"i18next-fs-backend": "^2.3.1",
"i18next-http-middleware": "^3.5.0",
"jsonwebtoken": "^9.0.2",
"lodash": "^4.17.21",
"multer": "^1.4.5-lts.1",
"openid-client": "^5.6.5",
"passport": "^0.7.0",
"passport-google-oauth20": "^2.0.0",
"passport-jwt": "^4.0.1",
"pg": "^8.11.5",
"pino": "^8.19.0",
"pino-http": "^10.2.0",
"redis": "^4.7.0",
"reflect-metadata": "^0.2.2",
"tmp": "^0.2.3",
"typeorm": "^0.3.20",
"uuid": "^10.0.0"
}
}