-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathpackage.json
More file actions
148 lines (148 loc) · 4.13 KB
/
package.json
File metadata and controls
148 lines (148 loc) · 4.13 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
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
{
"name": "@inseefr/lunatic",
"version": "3.13.4",
"description": "Library of questionnaire components",
"repository": {
"type": "git",
"url": "https://github.com/InseeFr/Lunatic.git"
},
"author": "INSEE (http://www.insee.fr)",
"contributor": [
{
"name": "Jonathan Boyer",
"email": "contact@grafikart.fr"
},
{
"name": "Laurent Caouissin",
"email": "laurent.caouissin@insee.fr"
},
{
"name": "Dylan Decrulle",
"email": "dylan.decrulle@insee.fr"
},
{
"name": "Renaud Genevois",
"email": "renaud.genevois@insee.fr"
},
{
"name": "Nicolas Laval",
"email": "nicolas.laval@insee.fr"
}
],
"scripts": {
"test": "vitest run",
"test:e2e": "playwright test",
"test:e2e:visual": "playwright test --headed --debug e2e/pairwise.spec.ts",
"test:e2e:codegen": "playwright codegen http://localhost:9999/iframe.html?viewMode=story&id=",
"test:storybook": "test-storybook --url http://localhost:9999 --maxWorkers=4 --no-cache",
"test-watch": "vitest",
"build:types": "node ./tools/schema-ts-generator.js && prettier src/type.source.ts --write",
"check": "tsc --noEmit",
"lint:check": "eslint ./src",
"_format": "prettier **/*.{ts,tsx,json,scss}",
"format": "pnpm run _format -- --write",
"format:check": "pnpm run _format -- --list-different",
"test:coverage": "vitest run --coverage",
"build": "pnpm run build:cjs && pnpm run build:esm",
"build:cjs": "tsc -p tsconfig.build.json && sass ./src/css/main.scss ./dist/main.css && cp -R ./src/css/icons ./dist/icons",
"build:esm": "tsc -p tsconfig-esm.json && sass ./src/css/main.scss ./dist/esm/main.css && cp -R ./src/css/icons ./dist/esm/icons",
"storybook": "storybook dev -p 9999 --no-open",
"build-storybook": "storybook build",
"link-in-app": "tsx scripts/link-in-app.ts"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"module": "dist/esm/index.js",
"license": "MIT",
"files": [
"src/",
"dist/",
"!dist/tsconfig.tsbuildinfo",
"!dist/esm/tsconfig-esm.tsbuildinfo"
],
"keywords": [
"react",
"component",
"react-component",
"library"
],
"exports": {
".": {
"module": "./dist/esm/index.js",
"default": "./dist/index.js"
},
"./main.css": {
"module": "./dist/esm/main.css",
"default": "./dist/main.css"
}
},
"homepage": "https://github.com/InseeFr/Lunatic",
"dependencies": {
"@inseefr/trevas": "^0.1.21",
"@inseefr/vtl-2.0-antlr-tools": "^0.3.2",
"antlr4": "^4.13.2",
"classnames": "^2.5.1",
"http-server": "^14.1.1",
"minisearch": "^7.1.0",
"react-error-boundary": "^4.0.13",
"react-markdown": "^9.0.1",
"react-number-format": "^5.4.0",
"react-tooltip": "^5.28.0",
"remark-breaks": "^4.0.0",
"remark-emoji": "^5.0.2",
"sass": "^1.77.8"
},
"devDependencies": {
"@eslint/js": "^9.9.0",
"@playwright/browser-chromium": "^1.51.1",
"@playwright/test": "^1.52.0",
"@storybook/addon-a11y": "^8.2.9",
"@storybook/addon-essentials": "^8.2.9",
"@storybook/addon-interactions": "^8.2.9",
"@storybook/react": "^8.2.9",
"@storybook/react-vite": "^8.2.9",
"@storybook/test": "^8.2.9",
"@storybook/test-runner": "^0.19.1",
"@tailwindcss/vite": "^4.1.4",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.4.8",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.6.1",
"@types/node": "^22.8.0",
"@types/react": "^19.2.9",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^4.3.1",
"@vitest/coverage-v8": "2.1.2",
"@xyflow/react": "^12.6.0",
"ajv": "^8.17.1",
"concurrently": "^8.2.2",
"daisyui": "^5.0.28",
"eslint": "^9.9.0",
"eslint-plugin-react-hooks": "^5.1.0-rc.0",
"eslint-plugin-react-refresh": "^0.4.9",
"globals": "^15.9.0",
"jsdom": "^24.1.1",
"json-schema-to-typescript": "^15.0.0",
"prettier": "^3.3.3",
"react": "^19.2.3",
"react-dom": "^19.2.3",
"react-hot-keys": "^2.7.3",
"storybook": "^8.2.9",
"tailwindcss": "^4.1.4",
"tsx": "^4.19.1",
"typescript": "^5.4.5",
"typescript-eslint": "^8.11.0",
"vite": "^5.4.0",
"vitest": "^2.0.5"
},
"publishConfig": {
"access": "public"
},
"peerDependencies": {
"react": "^19.2.3"
},
"volta": {
"node": "20.16.0",
"pnpm": "9.15.0"
}
}