-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 4.47 KB
/
package.json
File metadata and controls
107 lines (107 loc) · 4.47 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
{
"name": "@cdt/frontend",
"version": "4.222.0",
"description": "Code du travail frontend",
"private": true,
"homepage": "https://code-du-travail.beta.gouv.fr/",
"keywords": [],
"main": "src/index.js",
"scripts": {
"dev": "react-dsfr update-icons && panda codegenv && next dev",
"lint": "eslint .",
"precommit": "lint-staged",
"start": "next start",
"tsup": "tsup",
"build": "pnpm tsup && node dist/prebuild-cli.js && react-dsfr update-icons && panda codegen && next build",
"build:analyze": "pnpm tsup && node dist/prebuild-cli.js && react-dsfr update-icons && panda codegen && ANALYZE=true next build",
"test": "pnpm tsup && ELASTICSEARCH_URL=http://localhost:9200 NEXT_PUBLIC_ES_INDEX_PREFIX=cdtn_test NEXT_PUBLIC_APP_ENV=test NODE_ENV=test node dist/generate-data.js && ELASTICSEARCH_URL=http://localhost:9200 NEXT_PUBLIC_ES_INDEX_PREFIX=cdtn_test NEXT_PUBLIC_APP_ENV=test NODE_ENV=test jest --silent",
"test:watch": "pnpm test --watch",
"test:frontend": "NEXT_PUBLIC_APP_ENV=test NODE_ENV=test jest --silent --testPathIgnorePatterns='.*\\.es\\.test\\.ts$|.*\\.script\\.test\\.ts$'",
"test:frontend:update": "pnpm test:frontend --updateSnapshot",
"test:api": "pnpm tsup && ELASTICSEARCH_URL=http://localhost:9200 NEXT_PUBLIC_ES_INDEX_PREFIX=cdtn_test NEXT_PUBLIC_APP_ENV=test NODE_ENV=test node dist/generate-data.js && ELASTICSEARCH_URL=http://localhost:9200 NEXT_PUBLIC_ES_INDEX_PREFIX=cdtn_test NEXT_PUBLIC_APP_ENV=test NODE_ENV=test jest --silent --testPathPatterns='.*\\.es\\.test\\.ts$'",
"test:api:update": "pnpm test:api --updateSnapshot",
"test:update": "pnpm test:frontend:update",
"test:e2e:old": "cypress run",
"test:e2e:old:ui": "cypress open",
"test:e2e:old:install": "cypress install",
"test:e2e": "playwright test",
"test:e2e:ui": "playwright test --ui",
"test:e2e:install": "playwright install",
"type-check": "tsc --noEmit",
"type-check:watch": "pnpm run type-check -- --watch",
"format": "prettier --write \"**/*.{js,ts,tsx,jsx,json,md}\"",
"format:check": "prettier --check \"**/*.{js,ts,tsx,jsx,json,md}\"",
"clean:redirects": "pnpm tsup && node dist/clean-redirects.js"
},
"dependencies": {
"@codegouvfr/react-dsfr": "^1.31.1",
"@elastic/elasticsearch": "^8.19.1",
"@matejmazur/react-katex": "^3.1.3",
"@opentelemetry/instrumentation-generic-pool": "^0.54.0",
"@opentelemetry/instrumentation-http": "^0.211.0",
"@opentelemetry/instrumentation-net": "^0.55.0",
"@sentry/nextjs": "~10.38.0",
"@socialgouv/cdtn-elasticsearch": "^2.66.6",
"@socialgouv/cdtn-types": "^2.66.6",
"@socialgouv/cdtn-utils": "link:../code-du-travail-utils",
"@socialgouv/matomo-next": "^1.11.0",
"@socialgouv/modeles-social": "link:../code-du-travail-modeles",
"date-fns": "^4.1.0",
"debounce-promise": "^3.1.2",
"downshift": "^9.2.0",
"fuse.js": "^7.1.0",
"fuzzball": "^2.2.3",
"html-react-parser": "^5.2.16",
"immer": "^11.1.3",
"katex": "^0.16.28",
"lodash.deburr": "^4.1.0",
"memoizee": "^0.4.17",
"next": "~16.1.6",
"publicodes": "1.0.0-beta.60",
"react": "~19.2.4",
"react-dom": "~19.2.4",
"sharp": "^0.34.5",
"talisman": "^1.1.4",
"uuid": "^13.0.0",
"xss": "^1.0.15",
"zustand": "^5.0.11"
},
"devDependencies": {
"@axe-core/playwright": "^4.11.1",
"@pandacss/dev": "^1.8.1",
"@playwright/test": "^1.58.2",
"@testing-library/cypress": "^10.1.0",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/cors": "^2.8.19",
"@types/debounce-promise": "^3.1.9",
"@types/jest": "^30.0.0",
"@types/node": "~25.2.0",
"@types/react": "~19.2.11",
"@types/react-dom": "~19.2.3",
"@types/xml2js": "^0.4.14",
"babel-plugin-react-compiler": "^1.0.0",
"cypress": "^15.9.0",
"cypress-html-validate": "^8.1.0",
"cypress-iframe": "^1.0.1",
"cypress-real-events": "^1.15.0",
"eslint": "^9.39.2",
"eslint-config-next": "~16.1.6",
"eslint-plugin-cypress": "^5.2.1",
"html-validate": "^10.7.0",
"jest": "^30.2.0",
"jest-environment-jsdom": "^30.2.0",
"lint-staged": "^16.2.7",
"mockdate": "^3.0.5",
"next-router-mock": "^1.0.5",
"postcss": "^8.5.6",
"prettier": "^3.8.1",
"sass": "^1.97.3",
"testing-library-selector": "0.3.1",
"tsup": "^8.5.1",
"typescript": "^5.9.3",
"xml2js": "^0.6.2"
}
}