forked from BaseAdresseNationale/mes-adresses-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
169 lines (169 loc) · 5.55 KB
/
Copy pathpackage.json
File metadata and controls
169 lines (169 loc) · 5.55 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
{
"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"
},
"resolutions": {
"cpu-features": "npm:noop3@13.8.1"
},
"scripts": {
"build": "nest build api && nest build cron && nest build importer",
"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",
"overture": "node --max-old-space-size=4096 dist/apps/importer/main.js",
"overture:find": "yarn overture find",
"overture:import": "yarn overture import",
"overture:dev": "ts-node -r tsconfig-paths/register -P tsconfig.json apps/importer/src/main.ts",
"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:unit && 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",
"update-cog": "node ./scripts/update-communes-precedentes-by-chef-lieu.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",
"generate:openapi:signalement": "openapi --input http://localhost:5005/api-json --output ./libs/shared/src/openapi-signalement",
"test:unit": "jest --testPathIgnorePatterns '/node_modules/' '/test/'"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.787.0",
"@ban-team/adresses-util": "^0.9.0",
"@ban-team/formatter-bal": "^0.1.4",
"@ban-team/shared-data": "^1.4.3",
"@ban-team/validateur-bal": "^3.5.2",
"@duckdb/node-api": "1.5.4-r.1",
"@etalab/decoupage-administratif": "^6.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/bullmq": "^11.0.3",
"@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": "^6.1.0",
"@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/jspdf": "^2.0.0",
"@types/multer": "^1.4.10",
"axios": "^1.7.0",
"axios-mock-adapter": "^1.22.0",
"bluebird": "^3.7.2",
"body-parser": "^1.20.3",
"bullmq": "^5.58.5",
"cache-manager": "^5.7.4",
"canvas": "^3.2.0",
"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",
"docx": "^9.6.1",
"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",
"jspdf": "2.5.2",
"jspdf-autotable": "^5.0.2",
"lodash": "^4.17.21",
"mongodb": "^6.1.0",
"nodemailer": "^6.9.9",
"papaparse": "^5.5.2",
"pg": "^8.11.5",
"pumpify": "^2.0.1",
"reflect-metadata": "^0.1.13",
"rxjs": "^7.8.1",
"sharp": "^0.34.4",
"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/papaparse": "^5.3.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",
"openapi-typescript-codegen": "^0.29.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": "24"
}
}