-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
125 lines (125 loc) · 4.06 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
{
"name": "@inseefr/lunatic-dsfr",
"version": "2.4.4",
"description": "Couche graphique pour Lunatic reposant sur le Système de Design de l'État (DSFR)",
"repository": {
"type": "git",
"url": "git://github.com/inseefr/lunatic-dsfr.git"
},
"author": "INSEE (http://www.insee.fr)",
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"module": "dist/esm/index.js",
"scripts": {
"knip": "knip",
"build": "tsc -p tsconfig.build.json && tsc -p tsconfig-esm.json",
"check": "tsc --noEmit",
"lint:check": "eslint ./src",
"lint": "npm run lint:check -- --fix",
"_format": "prettier '**/*.{ts,tsx,js,json,md}'",
"format": "npm run _format -- --write",
"format:check": "npm run _format -- --list-different",
"link-in-main-project": "ts-node --skipProject scripts/link-in-app.ts",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"prestorybook": "react-dsfr update-icons",
"prebuild-storybook": "react-dsfr update-icons",
"postinstall": "husky",
"test": "vitest",
"test:e2e": "playwright test",
"test:e2e:visual": "playwright test --headed --debug e2e/pairwise.spec.ts",
"test:e2e:codegen": "playwright codegen http://localhost:6006/iframe.html?viewMode=story&id=",
"link-in-app": "tsx scripts/link-in-app.ts"
},
"exports": {
".": {
"module": "./dist/esm/index.js",
"default": "./dist/index.js"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix"
],
"*.{ts,tsx,json,md}": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged -v"
}
},
"files": [
"src/",
"dist/",
"!dist/tsconfig.tsbuildinfo"
],
"keywords": [],
"homepage": "https://inseefr.github.io/Lunatic-DSFR",
"peerDependencies": {
"@codegouvfr/react-dsfr": "^1.11.3",
"@emotion/react": "^11.13.0",
"@inseefr/lunatic": "^3.4.10",
"@mui/material": "^5.16.7",
"@types/react": "^18.x",
"react": "^18.x",
"tss-react": "^4.9.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
},
"devDependencies": {
"@codegouvfr/react-dsfr": "^1.11.3",
"@emotion/react": "^11.13.0",
"@emotion/styled": "^11.13.0",
"@eslint/js": "^9.9.0",
"@inseefr/lunatic": "^3.4.10",
"@mui/material": "^5.16.7",
"@playwright/test": "^1.46.1",
"@storybook/addon-a11y": "^8.2.9",
"@storybook/addon-essentials": "^8.2.9",
"@storybook/addon-interactions": "^8.2.9",
"@storybook/addon-links": "^8.2.9",
"@storybook/builder-vite": "^8.2.9",
"@storybook/react": "^8.2.9",
"@storybook/react-vite": "^8.2.9",
"@storybook/theming": "^8.2.9",
"@testing-library/dom": "^10.0.0",
"@testing-library/jest-dom": "^6.4.8",
"@testing-library/react": "^16.0.0",
"@types/node": "^22.3.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.1",
"eslint": "^9.9.0",
"eslint-plugin-react-hooks": "^5.1.0-rc-d48603a5-20240813",
"eslint-plugin-react-refresh": "^0.4.9",
"globals": "^15.9.0",
"husky": "^9.1.4",
"jsdom": "^24.1.1",
"knip": "^5.27.2",
"lint-staged": "^15.2.9",
"prettier": "^3.3.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"storybook": "^8.2.9",
"storybook-dark-mode": "^4.0.2",
"ts-node": "^10.9.2",
"tss-react": "^4.9.12",
"typescript": "^5.5.4",
"typescript-eslint": "^8.1.0",
"vite": "^5.4.1",
"vite-tsconfig-paths": "^5.0.1",
"vitest": "^2.0.5"
},
"dependencies": {
"react-number-format": "^5.4.0"
},
"publishConfig": {
"access": "public"
}
}