-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathpackage.json
151 lines (151 loc) · 5.79 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
147
148
149
150
151
{
"name": "proconnect-identite",
"version": "1.0.0",
"private": true,
"license": "MIT",
"type": "module",
"imports": {
"#cypress/*": "./cypress/*.ts"
},
"main": "src/index.js",
"workspaces": [
"packages/devtools/typescript",
"packages/core",
"packages/crisp",
"packages/debounce",
"packages/email",
"packages/insee",
"packages/identite"
],
"scripts": {
"build": "run-s build:**",
"build:assets": "vite build --clearScreen false",
"build:workspaces": "npm run build --if-present --workspaces",
"build:db:conditionaly-load-fixtures": "if [ \"$RUN_FIXTURES\" = \"True\" ]; then npm run fixtures:load; fi",
"build:db:migrate": "npm run --silent migrate -- up",
"delete-database": "if [ \"$ENABLE_DATABASE_DELETION\" = \"True\" ]; then tsx scripts/run-sql-script.ts scripts/delete_all.sql; fi",
"predev": "npm run build:workspaces",
"dev": "NODE_ENV=development concurrently \"npm:watch:*\"",
"fixtures:load": "npm run --silent build:db:migrate && tsx scripts/run-sql-script.ts scripts/fixtures.sql && npm run update-organization-info 2000",
"fixtures:load-ci": "tsx scripts/run-sql-script.ts",
"lint": "prettier --write '**/*.ts'",
"migrate": "dotenvx --quiet run -f .env.${NODE_ENV:-development}.local .env.local .env.${NODE_ENV:-development} .env -- node-pg-migrate",
"start": "tsx src/index.ts",
"test": "run-s test:*",
"test:lint": "prettier '**/*.ts' --list-different",
"test:type-check": "tsc --noEmit",
"test:unit": "NODE_ENV=test mocha --require tsx test/*.ts",
"test:unit:watch": "npm run test:unit -- --watch --watch-files src/**/*.ts,test/**/*.ts",
"test:workspaces": "npm run test --if-present --workspaces",
"update-organization-info": "tsx scripts/update-organizations-info.ts",
"version": "changeset version && npm install --package-lock-only",
"watch:assets": "NODE_ENV=development vite build --clearScreen false --watch",
"watch:ejs": "CHOKIDAR_USEPOLLING=true copy-and-watch --clean --watch \"src/views/**/*.ejs\" src/views/*.ejs build/views/",
"watch:js": "tsc --watch --preserveWatchOutput",
"watch:node": "tsx --inspect --watch src/index.ts",
"watch:workspaces:core": "npm run dev --if-present --workspace=@gouvfr-lasuite/proconnect.core",
"watch:workspaces:email": "npm run dev --if-present --workspace=@gouvfr-lasuite/proconnect.email",
"watch:workspaces:identite": "npm run dev --if-present --workspace=@gouvfr-lasuite/proconnect.identite",
"watch:workspaces:insee": "npm run dev --if-present --workspace=@gouvfr-lasuite/proconnect.insee"
},
"prettier": {
"plugins": [
"prettier-plugin-organize-imports"
]
},
"dependencies": {
"@gouvfr-lasuite/proconnect.core": "workspace:*",
"@gouvfr-lasuite/proconnect.crisp": "workspace:*",
"@gouvfr-lasuite/proconnect.debounce": "workspace:*",
"@gouvfr-lasuite/proconnect.email": "workspace:*",
"@gouvfr-lasuite/proconnect.identite": "workspace:*",
"@gouvfr-lasuite/proconnect.insee": "workspace:*",
"@sentry/node": "^7.120.0",
"@simplewebauthn/browser": "^8.3.4",
"@simplewebauthn/server": "^8.3.5",
"@sunknudsen/totp": "^1.1.0",
"await-to-js": "^3.0.0",
"axios": "^1.7.7",
"connect-redis": "^7.1.1",
"console-log-level": "^1.4.1",
"cookie-parser": "^1.4.7",
"csrf-sync": "^4.0.3",
"dotenv": "^16.4.5",
"ejs": "^3.1.10",
"express": "^4.21.1",
"express-basic-auth": "^1.2.1",
"express-session": "^1.18.1",
"helmet": "^8.0.0",
"html-to-text": "^9.0.5",
"http-errors": "^2.0.0",
"ioredis": "^5.4.1",
"lodash-es": "^4.17.21",
"moment": "^2.30.1",
"moment-timezone": "^0.5.45",
"morgan": "^1.10.0",
"nocache": "^4.0.0",
"nodemailer": "^6.9.15",
"oidc-provider": "^8.5.1",
"pg": "^8.13.0",
"qrcode": "^1.5.4",
"rate-limiter-flexible": "^2.4.2",
"tsx": "^4.19.2",
"zod": "^3.23.8",
"zod-validation-error": "^3.3.1"
},
"devDependencies": {
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.10",
"@dotenvx/dotenvx": "^1.19.2",
"@fullhuman/postcss-purgecss": "^6.0.0",
"@gouvfr-lasuite/proconnect.devtools.typescript": "workspace:*",
"@gouvfr/dsfr": "^1.13.0",
"@kitajs/html": "^4.2.4",
"@kitajs/ts-html-plugin": "^4.1.0",
"@panva/jose": "^1.9.3",
"@simplewebauthn/types": "^10.0.0",
"@simplewebauthn/typescript-types": "^8.3.4",
"@sinonjs/fake-timers": "^11.2.2",
"@types/chai": "^5.0.1",
"@types/chai-as-promised": "^7.1.8",
"@types/console-log-level": "^1.4.5",
"@types/cookie-parser": "^1.4.7",
"@types/ejs": "^3.1.5",
"@types/express": "^4.17.21",
"@types/express-session": "^1.18.0",
"@types/html-to-text": "^9.0.4",
"@types/http-errors": "^2.0.4",
"@types/lodash": "^4.17.10",
"@types/lodash-es": "^4.17.12",
"@types/mocha": "^10.0.10",
"@types/morgan": "^1.9.9",
"@types/node": "^22.10.2",
"@types/nodemailer": "^6.4.16",
"@types/oidc-provider": "^8.5.2",
"@types/qrcode": "^1.5.5",
"@types/sinonjs__fake-timers": "^8.1.5",
"axe-core": "^4.8.4",
"chai": "^5.1.2",
"chai-as-promised": "^8.0.1",
"concurrently": "^9.0.1",
"copy-and-watch": "^0.1.6",
"csv": "^6.3.9",
"cypress": "^14.0.2",
"cypress-axe": "^1.6.0",
"cypress-maildev": "^1.3.2",
"lodash": "^4.17.21",
"mocha": "^11.0.1",
"nock": "^13.5.6",
"node-pg-migrate": "^7.6.1",
"npm-run-all2": "^6.1.2",
"prettier": "^3.4.2",
"prettier-plugin-organize-imports": "^4.1.0",
"tld-extract": "^2.1.0",
"typescript": "^5.7.2",
"vite": "^5.4.12"
},
"packageManager": "[email protected]+sha512.acf301ad9b9ddba948fcb72341e2f0fcae477f56a95cc2a092934d133a7461062633cefbf93d5934a3dc0768674e2edee9f04dcfcc4bb4c327ff0e3a7d552a1b",
"engines": {
"node": "^22.13.1"
}
}