-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
146 lines (146 loc) · 4.5 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
{
"name": "@etalab/api-bal",
"version": "0.0.1",
"description": "API permettant la gestion de bases d’adresses à l’échelon local",
"contributors": [
"Jérôme Desboeufs <jerome.desboeufs@data.gouv.fr>",
"Théophile Merlière <theophile.merliere@data.gouv.fr>",
"Guillaume Fay <guillaume.fay@beta.gouv.fr>",
"Fabien Tafforeau <fabien.tafforeau@beta.gouv.fr>"
],
"author": "Équipe Adresse <adresse@data.gouv.fr>",
"license": "MIT",
"private": false,
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "nest build api && nest build cron",
"format": "prettier --write \"apps/**/*.ts\" \"libs/**/*.ts\"",
"start": "node dist/apps/api/main.js",
"start:api": "node dist/apps/api/main.js",
"start:cron": "node dist/apps/cron/main.js",
"start:debug": "nest start --debug --watch",
"dev": "nest start --watch",
"dev:api": "nest start api --watch",
"dev:cron": "nest start cron --watch",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "yarn test:api && yarn test:cron",
"test:api": "jest --config ./apps/api/test/jest-e2e.json",
"test:cron": "jest --config ./apps/cron/test/jest-e2e.json",
"update-cadastre": "node ./scripts/update-communes-cadastre.js",
"push-staging": "./scripts/push-staging.sh",
"typeorm": "typeorm-ts-node-commonjs",
"typeorm:migration:run": "yarn typeorm migration:run -- -d ./typeorm.config.ts",
"typeorm:migration:down": "yarn typeorm migration:revert -- -d ./typeorm.config.ts"
},
"dependencies": {
"@ban-team/adresses-util": "^0.9.0",
"@ban-team/shared-data": "^1.3.0",
"@ban-team/validateur-bal": "^2.20.0",
"@etalab/decoupage-administratif": "^4.0.0",
"@etalab/project-legal": "^0.6.0",
"@mapbox/tilebelt": "^1.0.2",
"@nestjs-modules/mailer": "^2.0.2",
"@nestjs/axios": "^3.0.0",
"@nestjs/cli": "^10.0.0",
"@nestjs/common": "^10.0.0",
"@nestjs/config": "^3.1.1",
"@nestjs/core": "^10.0.0",
"@nestjs/platform-express": "^10.3.7",
"@nestjs/schedule": "^3.0.4",
"@nestjs/serve-static": "^4.0.2",
"@nestjs/swagger": "^7.1.13",
"@nestjs/typeorm": "^10.0.2",
"@testcontainers/postgresql": "^10.10.4",
"@turf/turf": "^6.5.0",
"@types/express": "^4.17.17",
"@types/geojson-vt": "^3.2.3",
"@types/multer": "^1.4.10",
"axios": "^1.6.0",
"axios-mock-adapter": "^1.22.0",
"bluebird": "^3.7.2",
"body-parser": "^1.20.3",
"cache-manager": "^5.7.4",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.0",
"compression": "^1.7.4",
"csv-write-stream": "^2.0.0",
"date-fns": "^2.30.0",
"dotenv": "^16.3.1",
"geojson-vt": "^3.2.0",
"get-stream": "^6.0.1",
"got": "11.8.5",
"handlebars": "^4.7.8",
"hasha": "^5.2.2",
"http-errors": "^2.0.0",
"into-stream": "^6.0.0",
"lodash": "^4.17.21",
"mongodb": "^6.1.0",
"nodemailer": "^6.9.9",
"pg": "^8.11.5",
"pumpify": "^2.0.1",
"randomcolor": "^0.6.2",
"reflect-metadata": "^0.1.13",
"rxjs": "^7.8.1",
"ts-loader": "^9.4.3",
"typeorm": "^0.3.20",
"uuid": "^9.0.1",
"vt-pbf": "^3.1.3",
"winston": "^3.14.2"
},
"devDependencies": {
"@nestjs/schematics": "^10.0.0",
"@nestjs/testing": "^10.0.0",
"@types/cors": "^2.8.15",
"@types/jest": "^29.5.2",
"@types/node": "^20.3.1",
"@types/nodemailer": "^6.4.15",
"@types/supertest": "^2.0.12",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"ava": "^5.3.1",
"eslint": "^8.42.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"jest": "^29.5.0",
"nock": "^13.3.3",
"nyc": "^15.1.0",
"prettier": "^3.0.0",
"source-map-support": "^0.5.21",
"supertest": "^6.3.3",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.1.3"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": ".",
"testRegex": "spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "./coverage",
"testEnvironment": "node",
"moduleNameMapper": {
"^@/lib/(.*)$": "<rootDir>/apps/api/src/lib/$1",
"^@/modules/(.*)$": "<rootDir>/apps/api/src/modules/$1",
"^@/shared/(.*)$": "<rootDir>/libs/shared/src/$1"
},
"roots": [
"<rootDir>/apps/",
"<rootDir>/libs/"
]
},
"engines": {
"node": "22"
}
}