forked from codegouvfr/react-dsfr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
131 lines (131 loc) · 4.44 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
{
"name": "@codegouvfr/react-dsfr",
"version": "1.13.6",
"description": "French State Design System React integration library",
"repository": {
"type": "git",
"url": "git://github.com/codegouvfr/react-dsfr.git"
},
"scripts": {
"prepare": "patch-package",
"build": "ts-node -T scripts/build",
"_link": "ts-node -T scripts/link-in-integration-apps.ts",
"link-external": "ts-node -T scripts/link-in-external-project.ts",
"start-cra": "yarn build && yarn _link && ((tsc -w -p src) & (cd test/integration/cra && yarn start))",
"start-vite": "yarn build && yarn _link && ((tsc -w -p src) & (cd test/integration/vite && yarn dev))",
"start-next-pagesdir": "yarn build && yarn _link && ((tsc -w -p src) & (cd test/integration/next-pagesdir && yarn dev))",
"start-next-appdir": "yarn build && yarn _link && ((tsc -w -p src) & (cd test/integration/next-appdir && yarn dev))",
"test": "vitest",
"lint:check": "eslint . --ext .ts,.tsx",
"lint": "yarn lint:check --fix",
"_format": "prettier '**/*.{ts,tsx,json,md}'",
"format": "yarn _format --write",
"format:check": "yarn _format --list-different",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"prestorybook": "yarn build && node dist/bin/react-dsfr update-icons",
"prebuild-storybook": "yarn prestorybook"
},
"bin": {
"react-dsfr": "dist/bin/react-dsfr.js",
"copy-dsfr-to-public": "dist/bin/copy-dsfr-to-public.js",
"only-include-used-icons": "dist/bin/only-include-used-icons.js"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix"
],
"*.{ts,tsx,json,md}": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged -v"
}
},
"author": {
"name": "u/garronej"
},
"license": "MIT",
"files": [
"src/",
"dist/",
"!dist/tsconfig.tsbuildinfo",
"!dist/bin/tsconfig.tsbuildinfo",
"dsfr/"
],
"keywords": [
"dsfr",
"design system",
"react",
"typescript"
],
"homepage": "https://github.com/codegouvfr/react-dsfr",
"dependencies": {
"tsafe": "^1.7.2",
"yargs-parser": "^21.1.1"
},
"peerDependencies": {
"@gouvfr/dsfr-chart": "^1.0.0"
},
"peerDependenciesMeta": {
"@gouvfr/dsfr-chart": {
"optional": true
}
},
"devDependencies": {
"@gouvfr/dsfr-chart": "^1.0.0",
"@babel/core": "^7.20.2",
"@emotion/react": "^11.10.4",
"@emotion/styled": "^11.10.4",
"@gouvfr/dsfr": "1.12.1",
"@mui/icons-material": "^5.14.18",
"@mui/material": "^5.14.18",
"@storybook/addon-a11y": "^6.5.16",
"@storybook/addon-actions": "^6.5.13",
"@storybook/addon-essentials": "^6.5.13",
"@storybook/addon-interactions": "^6.5.13",
"@storybook/addon-links": "^6.5.13",
"@storybook/builder-webpack5": "^6.5.13",
"@storybook/manager-webpack5": "^6.5.13",
"@storybook/react": "^6.5.13",
"@storybook/testing-library": "^0.0.13",
"@tanstack/react-virtual": "^3.0.0-beta.39",
"@types/css": "^0.0.33",
"@types/memoizee": "^0.4.8",
"@types/node": "^18.7.18",
"@types/react": "18.0.21",
"@types/react-dom": "18.0.6",
"@typescript-eslint/eslint-plugin": "^5.43.0",
"@typescript-eslint/parser": "^5.43.0",
"babel-loader": "^8.3.0",
"chromatic": "^6.17.2",
"css": "^3.0.0",
"eslint": "^7.26.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-storybook": "^0.6.7",
"evt": "^2.4.2",
"fzf": "^0.5.1",
"husky": "^4.3.8",
"lint-staged": "^11.0.0",
"memoizee": "^0.4.15",
"next": "13.5.1",
"parse-numeric-range": "^1.3.0",
"powerhooks": "^0.22.0",
"prettier": "^2.3.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"remixicon": "^4.2.0",
"storybook-dark-mode": "^1.1.2",
"ts-node": "^10.9.1",
"tss-react": "^4.9.1",
"type-route": "^1.0.1",
"typescript": "^4.9.1",
"vitest": "^0.24.3",
"patch-package": "^8.0.0"
},
"main": "dist/fr/index.js",
"types": "dist/fr/index.d.ts",
"module": "dist/fr/index.js"
}