-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
163 lines (163 loc) · 5.39 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
152
153
154
155
156
157
158
159
160
161
162
163
{
"name": "impactco2",
"version": "1.0.0",
"private": true,
"browser": {
"fs": false,
"os": false,
"path": false
},
"scripts": {
"build:ecvs": "yarn build:empreinte & yarn build:agribalyse",
"build:empreinte": "ts-node src/scripts/buildFromEmpreinte.ts",
"build:agribalyse": "ts-node src/scripts/buildFromAgribalyse.ts",
"build:boisson": "ts-node src/scripts/buildFromAgribalyse.ts boissons",
"test": "yarn testu && yarn testc && yarn testa && yarn teste",
"testa": "NODE_ENV=test jest ./testa",
"testc": "NODE_ENV=test jest ./testc",
"teste": "NODE_ENV=test playwright test --reporter=list",
"testu": "NODE_ENV=test jest ./testu",
"jest:local": "NODE_ENV=test jest --watch",
"testa:local": "NODE_ENV=test jest --watch ./testa",
"testc:local": "DEBUG_PRINT_LIMIT=10000 NODE_ENV=test jest --watch ./testc",
"teste:local": "NODE_ENV=test playwright test --ui",
"testu:local": "NODE_ENV=test jest --watch ./testu",
"dev": "next dev",
"build": "yarn webpack && next build",
"build:analyze": "ANALYZE=true next build",
"postbuild": "next-sitemap",
"webpack": "dotenv -e .env.local webpack",
"stats": "dotenv -e .env ts-node src/scripts/getStats.ts",
"start": "next start",
"lint": "next lint",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"chromatic": "chromatic --exit-zero-on-changes",
"testIframes": "npx playwright install chromium; npx ts-node -r dotenv/config src/scripts/testIframes.ts"
},
"engines": {
"node": "22",
"yarn": "1.22"
},
"dependencies": {
"@iframe-resizer/child": "^5.3.2",
"@iframe-resizer/parent": "^5.3.2",
"@incubateur-ademe/publicodes-acv-numerique": "^1.2.0",
"@incubateur-ademe/publicodes-impact-livraison": "^0.3.1",
"@next/bundle-analyzer": "^15.0.2",
"@prisma/client": "^5.21.1",
"@publicodes/react-ui": "^1.5.4",
"@r2wc/react-to-web-component": "^2.0.3",
"@sentry/nextjs": "^8.36.0",
"@socialgouv/matomo-next": "^1.9.1",
"@tanstack/react-query": "^5.59.19",
"@tanstack/react-query-next-experimental": "^5.59.19",
"axios": "^1.7.7",
"classnames": "^2.5.1",
"dotenv-cli": "^7.4.2",
"fuse.js": "^7.0.0",
"helmet": "^8.0.0",
"html-to-image": "^1.11.11",
"markdown-to-jsx": "^7.5.0",
"next": "^14.2.13",
"next-intl": "^3.24.0",
"next-query-params": "^5.0.1",
"next-sitemap": "^4.2.3",
"notion-client": "^7.0.1",
"postcss": "^8.4.47",
"postcss-flexbugs-fixes": "^5.0.2",
"postcss-import": "^16.1.0",
"postcss-nested": "^7.0.2",
"postcss-preset-env": "^10.0.9",
"preact": "^10.24.3",
"publicodes": "1.4.0",
"qrcode": "^1.5.4",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-notion-x": "^7.0.1",
"react-share": "^5.1.0",
"sharp": "^0.33.5",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-react": "^5.17.14",
"ts-node": "^10.9.2",
"zod": "^3.23.8"
},
"devDependencies": {
"@babel/cli": "^7.25.9",
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.25.9",
"@babel/preset-typescript": "^7.26.0",
"@babel/runtime": "^7.26.0",
"@playwright/test": "^1.48.2",
"@statoscope/webpack-plugin": "^5.28.2",
"@storybook/addon-a11y": "^8.4.2",
"@storybook/addon-essentials": "^8.4.2",
"@storybook/addon-interactions": "^8.4.2",
"@storybook/addon-links": "^8.4.2",
"@storybook/blocks": "^8.4.2",
"@storybook/nextjs": "^8.4.2",
"@storybook/react": "^8.4.2",
"@storybook/testing-library": "^0.2.2",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.5.2",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/jest": "^29.5.14",
"@types/node-pdftk": "^2.1.9",
"@types/qrcode": "^1.5.5",
"@types/react-highlight-words": "^0.20.0",
"@types/react-slick": "^0.23.13",
"@types/swagger-jsdoc": "^6.0.4",
"@types/swagger-ui-react": "^4.18.3",
"@typescript-eslint/eslint-plugin": "^8.13.0",
"@typescript-eslint/parser": "^8.13.0",
"babel-loader": "^9.2.1",
"chromatic": "^11.16.5",
"css-loader": "6.11.0",
"eslint": "8.57.0",
"eslint-config-next": "^15.0.2",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^28.8.3",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-storybook": "^0.11.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.2.10",
"next-router-mock": "^0.9.13",
"next-statoscope": "^1.0.1",
"next-test-api-route-handler": "^4.0.14",
"nock": "^13.5.5",
"node-mocks-http": "^1.16.1",
"node-pdftk": "^2.1.3",
"nyc": "^17.1.0",
"pdf-merger-js": "^5.1.2",
"playwright": "^1.48.2",
"postcss-loader": "^8.1.1",
"prettier": "^3.3.3",
"prisma": "^5.21.1",
"storybook": "^8.4.2",
"storybook-dark-mode": "^4.0.2",
"style-loader": "^4.0.0",
"terser-webpack-plugin": "^5.3.10",
"typescript": "^5.6.3",
"undici": "^6.20.1",
"webpack": "^5.96.1",
"webpack-cli": "^5.1.4"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --write",
"eslint --fix"
],
"*.{html,css,less,ejs}": [
"prettier --write"
]
},
"readme": "ERROR: No README data found!",
"_id": "[email protected]",
"resolutions": {
"jackspeak": "2.1.1"
}
}