-
Notifications
You must be signed in to change notification settings - Fork 22
/
package.json
139 lines (139 loc) · 3.82 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
{
"name": "@inseefr/lunatic",
"version": "3.4.7",
"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}",
"format": "npm run _format -- --write",
"format:check": "npm run _format -- --list-different",
"test-coverage": "vitest run --coverage",
"build": "npm run build:cjs && npm 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.1",
"sass": "^1.77.8"
},
"devDependencies": {
"@eslint/js": "^9.9.0",
"@playwright/test": "^1.46.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",
"@testing-library/jest-dom": "^6.4.8",
"@testing-library/react": "^16.0.0",
"@types/node": "^22.8.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.1",
"ajv": "^8.17.1",
"concurrently": "^8.2.2",
"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": "^18.3.1",
"react-dom": "^18.3.1",
"storybook": "^8.2.9",
"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": "^18.3.1 "
},
"volta": {
"node": "20.16.0",
"yarn": "1.22.22"
}
}