-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathpackage.json
126 lines (126 loc) · 4.97 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
{
"name": "@cdt/frontend",
"version": "4.171.1",
"description": "Code du travail frontend",
"private": true,
"homepage": "https://code-du-travail.beta.gouv.fr/",
"keywords": [],
"main": "src/index.js",
"scripts": {
"dev": "yarn predev && next dev",
"predev": "react-dsfr update-icons && panda codegen",
"lint:js": "next lint --quiet",
"lint:css": "stylelint './{src,pages}/**/*.{js,ts,tsx,jsx,css}' --quiet",
"lint": "yarn lint:css && next lint",
"precommit": "lint-staged",
"start": "next start",
"tsup": "tsup",
"prebuild": "yarn tsup && node dist/prebuild.js && react-dsfr update-icons && panda codegen",
"build": "yarn prebuild && next build",
"build:analyze": "yarn prebuild && ANALYZE=true next build",
"pretest:api": "yarn 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",
"test": "yarn pretest:api && ELASTICSEARCH_URL=http://localhost:9200 NEXT_PUBLIC_ES_INDEX_PREFIX=cdtn_test NEXT_PUBLIC_APP_ENV=test NODE_ENV=test jest --silent",
"test:watch": "npm run test -- --watch",
"test:frontend": "NEXT_PUBLIC_APP_ENV=test NODE_ENV=test jest --silent --testPathIgnorePatterns='.*\\.es\\.test\\.ts$|.*\\.script\\.test\\.ts$'",
"test:frontend:update": "npm run test:frontend -- --updateSnapshot",
"test:api": "yarn pretest:api && ELASTICSEARCH_URL=http://localhost:9200 NEXT_PUBLIC_ES_INDEX_PREFIX=cdtn_test NEXT_PUBLIC_APP_ENV=test NODE_ENV=test jest --silent --testPathPattern='.*\\.es\\.test\\.ts$'",
"test:api:update": "npm run test:api -- --updateSnapshot",
"test:update": "npm run test:frontend:update",
"test:e2e": "cypress run",
"test:e2e:ui": "cypress open",
"type-check": "tsc --noEmit",
"type-check:watch": "npm 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": "yarn tsup && node dist/clean-redirects.js"
},
"dependencies": {
"@codegouvfr/react-dsfr": "^1.16.0",
"@elastic/elasticsearch": "^8.13.1",
"@matejmazur/react-katex": "^3.1.3",
"@opentelemetry/instrumentation-generic-pool": "^0.37.0",
"@opentelemetry/instrumentation-http": "^0.52.0",
"@opentelemetry/instrumentation-net": "^0.37.0",
"@sentry/nextjs": "^8.24.0",
"@socialgouv/cdtn-elasticsearch": "^2.44.2",
"@socialgouv/cdtn-logger": "^2.0.0",
"@socialgouv/cdtn-types": "^2.51.0",
"@socialgouv/cdtn-ui": "workspace:^",
"@socialgouv/cdtn-utils": "workspace:^",
"@socialgouv/fiches-travail-data": "^4.241.0",
"@socialgouv/matomo-next": "^1.6.1",
"@socialgouv/modeles-social": "workspace:^",
"@socialgouv/reference-article": "^1.0.1",
"cors": "^2.8.5",
"date-fns": "^2.22.1",
"debounce-promise": "^3.1.2",
"downshift": "^9.0.6",
"final-form": "^4.20.2",
"final-form-arrays": "^3.0.2",
"final-form-calculate": "^1.3.2",
"fuzzball": "^2.1.2",
"html-react-parser": "^5.0.6",
"html-validate": "^8.9.1",
"immer": "^9.0.14",
"katex": "^0.16.10",
"lit": "2.6.1",
"lodash.deburr": "^4.1.0",
"memoizee": "^0.4.15",
"next": "14.2.11",
"p-debounce": "^2.1.0",
"prettier": "^3.3.3",
"prop-types": "^15.8.1",
"publicodes": "1.0.0-beta.60",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-final-form": "^6.5.3",
"react-final-form-arrays": "^3.1.3",
"react-final-form-listeners": "^1.0.3",
"react-image-lightbox": "^5.1.4",
"react-svg-spinner": "^1.0.4",
"react-uid": "^2.3.1",
"sharp": "^0.33.4",
"styled-components": "^5.3.6",
"uuid": "^9.0.0",
"xss": "^1.0.10",
"zustand": "^4.3.6"
},
"devDependencies": {
"@pandacss/dev": "^0.45.2",
"@testing-library/cypress": "^10.0.2",
"@testing-library/dom": "^8.11.3",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^13.5.0",
"@types/cors": "^2.8.13",
"@types/debounce-promise": "^3.1.4",
"@types/jest": "^29.5.12",
"@types/xml2js": "^0.4.14",
"cypress": "^13.13.2",
"cypress-html-validate": "^6.1.0",
"cypress-iframe": "^1.0.1",
"cypress-real-events": "^1.13.0",
"eslint": "^8",
"eslint-config-next": "14.2.5",
"eslint-plugin-cypress": "^3.4.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.2.10",
"mockdate": "^3.0.5",
"next-router-mock": "^0.9.13",
"nextjs-http-supertest": "^1.0.6",
"postcss": "^8.4.44",
"sass": "^1.77.8",
"stylelint": "^14.16.0",
"stylelint-config-rational-order": "^0.1.2",
"stylelint-config-standard-scss": "^6.1.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-order": "^6.0.0",
"stylelint-processor-styled-components": "^1.10.0",
"supertest": "^6.3.3",
"testing-library-selector": "0.3.1",
"tsup": "^8.3.5",
"typescript": "^5.5.4",
"xml2js": "^0.6.2"
}
}