forked from numerique-gouv/moncomptepro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
85 lines (85 loc) · 3.11 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
{
"name": "moncomptepro",
"version": "1.0.0",
"main": "src/index.js",
"engines": {
"node": ">=16.17.1"
},
"scripts": {
"lint": "prettier --write */*.ts",
"start": "node build/index.js",
"dev": "concurrently \"npm:watch-js\" \"npm:watch-node\" \"npm:watch-ejs\"",
"build": "tsc && node-pg-migrate up && ts-node scripts/generate-keys.js && bash -c 'cp -r src/views build/views' && bash -c 'cp node_modules/choices.js/public/assets/{scripts/choices.min.js,styles/choices.min.css} public/' && bash -c 'cp -r node_modules/@gouvfr/dsfr/dist/{dsfr.min.css,fonts,icons,utility} public/'",
"import": "ts-node scripts/import.js",
"update-organization-info": "ts-node --files scripts/update-organizations-info.ts",
"migrate": "node-pg-migrate",
"load-fixtures": " node-pg-migrate up && psql -v ON_ERROR_STOP=1 -f scripts/fixtures.sql && npm run update-organization-info 2000",
"delete-database": "psql -v ON_ERROR_STOP=1 -f scripts/delete_all.sql",
"load-ci-fixtures": "node-pg-migrate up && psql -v ON_ERROR_STOP=1 -f",
"test:lint": "prettier */*.ts --list-different",
"test": "DO_NOT_VALIDATE_MAIL=False ts-mocha -p tsconfig.json test/*.ts",
"watch-js": "tsc --watch",
"watch-node": "nodemon --watch build --ext js,ejs --quiet build/index.js",
"watch-ejs": "CHOKIDAR_USEPOLLING=true copy-and-watch --clean --watch \"src/views/**/*.ejs\" src/views/*.ejs build/views/"
},
"license": "MIT",
"dependencies": {
"@gouvfr/dsfr": "~1.8.5",
"@panva/jose": "^1.9.3",
"@sentry/node": "^7.60.1",
"@sentry/tracing": "^7.60.1",
"@types/bcryptjs": "^2.4.2",
"@types/csurf": "^1.11.2",
"@types/ejs": "^3.1.2",
"@types/express": "^4.17.17",
"@types/express-session": "^1.17.7",
"@types/http-errors": "^2.0.1",
"@types/lodash": "^4.14.196",
"@types/morgan": "^1.9.4",
"@types/node": "^18.17.1",
"@types/oidc-provider": "^7.14.0",
"@zootools/email-spell-checker": "^1.12.0",
"axios": "^0.27.2",
"bcryptjs": "^2.4.3",
"body-parser": "^1.20.2",
"choices.js": "^10.2.0",
"connect-redis": "^7.1.0",
"csurf": "^1.11.0",
"csv": "^5.5.3",
"ejs": "^3.1.9",
"express": "^4.18.2",
"express-basic-auth": "^1.2.1",
"express-session": "^1.17.3",
"helmet": "^7.0.0",
"http-errors": "^2.0.0",
"ioredis": "^5.3.2",
"is-disposable-email-domain": "^1.0.7",
"lodash": "^4.17.21",
"morgan": "^1.10.0",
"nanoid": "^3.3.6",
"node-pg-migrate": "^6.2.2",
"oidc-provider": "^7.14.3",
"pg": "^8.11.1",
"rate-limiter-flexible": "^2.4.2",
"tld-extract": "^2.1.0",
"ts-node": "^10.9.1",
"typescript": "^5.1.6",
"zod": "^3.21.4"
},
"devDependencies": {
"@sinonjs/fake-timers": "^10.3.0",
"@types/chai": "^4.3.5",
"@types/chai-as-promised": "^7.1.5",
"@types/mocha": "^10.0.1",
"@types/sinonjs__fake-timers": "^8.1.2",
"chai": "^4.3.7",
"chai-as-promised": "^7.1.1",
"concurrently": "^8.2.0",
"copy-and-watch": "^0.1.6",
"cypress-mailslurp": "^1.7.0",
"nock": "^13.3.2",
"nodemon": "^3.0.1",
"prettier": "^3.0.0",
"ts-mocha": "^10.0.0"
}
}