-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
115 lines (115 loc) · 3.89 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
111
112
113
114
115
{
"name": "c2c_tracking",
"version": "2.4.1",
"engines": {
"node": ">=20.0.0"
},
"description": "Tiny server to handle connection with activity trackers such as Strava, Garmin or Suunto",
"type": "commonjs",
"main": "dist/index.js",
"scripts": {
"start": "ts-node src/index.ts | pino-pretty -c -t",
"start:dev": "node --watch \"src/**\" --ext \"ts,json\" --ignore \"src/**/*.spec.ts\" --exec \"ts-node src/index.ts | pino-pretty -c -t -i req.headers,res.headers\"",
"build": "tsc",
"lint": "prettier --check \"**/*.{ts,js,json,css,scss,less,md,html}\" && eslint --report-unused-disable-directives --ext .ts,.js .",
"prepare": "husky",
"test": "npm run test:unit && npm run test:psql",
"test:ci": "npm run test:ci:unit && npm run test:ci:s3 && npm run test:ci:psql",
"test:unit": "jest --runInBand --detectOpenHandles",
"test:ci:unit": "jest --config jest.config.ci.mjs --runInBand --detectOpenHandles --forceExit",
"test:psql": "jest --config jest.config.psql.mjs --runInBand",
"test:ci:s3": "jest --config jest.config.s3.ci.mjs --runInBand",
"test:ci:psql": "npm run test:ci:psql:init && jest --config jest.config.psql.ci.mjs --runInBand",
"test:ci:psql:init": "ts-node test/environment/init-db.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/c2corg/c2c_tracking.git"
},
"author": "https://www.camptocamp.org",
"license": "MIT",
"bugs": {
"url": "https://github.com/c2corg/c2c_tracking/issues"
},
"homepage": "https://github.com/c2corg/c2c_tracking#readme",
"dependencies": {
"@aws-sdk/client-s3": "3.633.0",
"@c2corg/fit-parser-extract-geometry": "1.0.2",
"@keyv/redis": "3.0.1",
"@koa/cors": "5.0.0",
"@koa/router": "12.0.1",
"@mapbox/polyline": "1.2.1",
"@paralleldrive/cuid2": "2.2.2",
"@types/json-bigint": "1.0.4",
"async": "3.2.6",
"axios": "1.7.7",
"cls-rtracer": "2.6.3",
"convict": "6.2.4",
"crypto-js": "4.2.0",
"dayjs": "1.11.13",
"dotenv": "16.4.5",
"dotenv-expand": "11.0.6",
"iso8601-duration": "2.1.2",
"json-bigint": "1.0.0",
"keyv": "5.0.1",
"knex": "3.1.0",
"koa": "2.15.3",
"koa-bodyparser": "4.4.1",
"koa-helmet": "7.0.2",
"koa-passport": "6.0.0",
"koa-pino-logger": "4.0.0",
"node-watch": "0.7.4",
"passport": "0.7.0",
"passport-jwt": "4.0.1",
"pg": "8.12.0",
"prom-client": "15.1.3",
"sanitize-filename": "1.6.3",
"tiny-invariant": "1.3.3",
"validator": "13.12.0",
"zod": "3.23.8"
},
"devDependencies": {
"@shopify/jest-koa-mocks": "5.3.1",
"@tsconfig/node20": "20.1.4",
"@tsconfig/strictest": "2.0.5",
"@types/async": "3.2.24",
"@types/convict": "6.1.6",
"@types/crypto-js": "4.2.2",
"@types/jest": "29.5.13",
"@types/koa": "2.15.0",
"@types/koa__cors": "5.0.0",
"@types/koa__router": "12.0.4",
"@types/koa-bodyparser": "4.3.12",
"@types/koa-passport": "6.0.3",
"@types/koa-pino-logger": "3.0.4",
"@types/mapbox__polyline": "1.0.5",
"@types/node": "22.5.5",
"@types/passport-jwt": "4.0.1",
"@types/pg": "8.11.10",
"@types/supertest": "6.0.2",
"@types/validator": "13.12.2",
"@typescript-eslint/eslint-plugin": "7.9.0",
"@typescript-eslint/parser": "7.18.0",
"eslint": "8.57.1",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.6.3",
"eslint-plugin-import": "2.30.0",
"eslint-plugin-jest": "28.8.3",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-security": "3.0.1",
"husky": "9.1.6",
"jest": "29.7.0",
"jest-junit": "16.0.0",
"lint-staged": "15.2.10",
"node-mocks-http": "1.15.1",
"passport-custom": "1.1.1",
"pino-pretty": "11.2.2",
"prettier": "3.3.3",
"supertest": "7.0.0",
"ts-jest": "29.2.5",
"ts-node": "10.9.2",
"type-fest": "4.26.1",
"typescript": "5.6.2"
}
}