Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
156 lines (156 loc) · 4.4 KB
/
Copy pathpackage.json
File metadata and controls
156 lines (156 loc) · 4.4 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
149
150
151
152
153
154
155
156
{
"name": "design-react-kit",
"description": "Componenti React per Bootstrap 5",
"keywords": [
"react",
"bootstrap",
"bootstrap-italia"
],
"author": "Presidenza del Consiglio dei Ministri",
"contributors": [
"Matteo Avesani",
"Gianluca Esposito",
"Matteo Manchi",
"Paolo Mariotti",
"Marco Liberati",
"Francesco Zaia",
"Sanyam Dogra",
"Silvio Relli",
"Sabatino Galasso",
"Andrea Stagi",
"Federico Turbino",
"Nicola Squartini",
"Davide Bizzi"
],
"bugs": {
"url": "https://github.com/italia/design-react-kit/issues"
},
"version": "5.10.0",
"license": "BSD-3",
"type": "module",
"module": "./dist/index.js",
"main": "./dist/index.cjs",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"module": "./dist/index.js",
"main": "./dist/index.cjs"
}
},
"sideEffects": [
"dist/track-focus.js",
"src/track-focus.js",
"dist/index.ts",
"dist/index.js",
"src/index.ts"
],
"files": [
"dist",
"src"
],
"repository": {
"type": "git",
"url": "git+https://github.com/italia/design-react-kit.git"
},
"engines": {
"node": ">=20"
},
"scripts": {
"start": "NODE_OPTIONS=--max_old_space_size=16384 npm run storybook:serve",
"build": "tsup && tsc",
"test": "jest ./src ./test --passWithNoTests",
"test:ci": "jest ./src ./test --passWithNoTests --runInBand --ci",
"lint": "npx eslint .",
"prepare": "tsup && tsc && husky install",
"format-code": "npx prettier . --write",
"storybook:serve": "storybook dev -p 9001",
"storybook:build": "storybook build --docs",
"storybook:build:base": "storybook build",
"version": "conventional-changelog -p angular -i CHANGELOG.md -s && node scripts/wait-confirm && git add CHANGELOG.md",
"postversion": "echo \"You can now publish your version using 'git push --follow-tags'\""
},
"peerDependencies": {
"bootstrap-italia": "^2.18.0",
"react": ">=18.2.0"
},
"browserslist": [
"extends browserslist-config-design-italia"
],
"lint-staged": {
"./{src,stories,test}/**/*.{js,ts,tsx,jsx,mdx}": "yarn lint"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.25.9",
"@babel/preset-typescript": "^7.26.0",
"@commitlint/cli": "^18.4.3",
"@commitlint/config-conventional": "^18.4.3",
"@eslint/js": "^9.10.0",
"@storybook/addon-a11y": "^9.1.2",
"@storybook/addon-docs": "^9.1.2",
"@storybook/addon-links": "^9.1.2",
"@storybook/addon-onboarding": "^9.1.2",
"@storybook/react-vite": "^9.1.2",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^16.3.0",
"@types/is-number": "^7.0.3",
"@types/jest": "^29.5.12",
"@types/node": "^20.12.2",
"@types/react": "^18.2.75",
"@types/react-bootstrap": "^0.32.37",
"@types/react-dom": "^18.2.24",
"@types/react-transition-group": "^4.4.10",
"@types/uuid": "^10.0.0",
"bootstrap-italia": "^2.18.0",
"browserslist-config-design-italia": "^1.0.0",
"conventional-changelog": "^7.1.1",
"eslint": "^9.10.0",
"eslint-plugin-mdx": "^3.1.5",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react-refresh": "^0.4.11",
"eslint-plugin-storybook": "^9.1.2",
"globals": "^15.9.0",
"husky": "^8.0.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-transform-stub": "^2.0.0",
"lint-staged": "15.2.10",
"prettier": "^3.2.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-layout-masonry": "^1.2.0",
"sass-embedded": "^1.90.0",
"storybook": "^9.1.2",
"ts-jest": "^29.1.2",
"tslib": "^2.4.0",
"tsup": "^8.0.2",
"typeface-lora": "^1.1.13",
"typeface-roboto-mono": "^1.1.13",
"typescript": "^5.4.5",
"typescript-eslint": "^8.4.0",
"vite": "^6.4.2"
},
"dependencies": {
"@splidejs/react-splide": "^0.7.12",
"accessible-autocomplete": "^3.0.1",
"classnames": "^2.3.1",
"is-number": "^7.0.0",
"react-bootstrap": "^2.10.6",
"react-toastify": "^7.0.4",
"react-transition-group": "^4.4.5",
"reactstrap": "9.2.2",
"webfontloader": "^1.6.28"
},
"resolutions": {
"@types/react": "18.2.75",
"@types/react-dom": "18.2.24"
},
"overrides": {
"react-stickup": {
"react": "^18.2.0"
}
}
}