-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
176 lines (176 loc) · 4.97 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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
{
"name": "@gilbarbara/components",
"version": "0.15.1",
"description": "A collection of imperfect React components",
"author": "Gil Barbara <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/gilbarbara/components"
},
"bugs": {
"url": "https://github.com/gilbarbara/components/issues"
},
"homepage": "https://github.com/gilbarbara/components",
"license": "MIT",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"files": [
"dist",
"src"
],
"types": "dist/index.d.ts",
"sideEffects": false,
"keywords": [],
"peerDependencies": {
"@emotion/react": "^11.0.0",
"@emotion/styled": "^11.0.0",
"react": "17 - 19",
"react-dom": "17 - 19"
},
"dependencies": {
"@emotion/is-prop-valid": "^1.3.1",
"@gilbarbara/deep-equal": "^0.3.1",
"@gilbarbara/helpers": "^0.9.5",
"@gilbarbara/hooks": "^0.9.0",
"@gilbarbara/react-dropdown": "^0.2.2",
"@gilbarbara/types": "^0.2.2",
"@react-aria/visually-hidden": "^3.8.18",
"colorizr": "^3.0.7",
"csstype": "^3.1.3",
"date-fns": "^3.6.0",
"deepmerge-ts": "^7.1.3",
"is-lite": "^1.2.1",
"react-day-picker": "^8.10.1",
"react-hook-form": "^7.54.2",
"react-inlinesvg": "^4.1.7",
"react-innertext": "^1.1.5",
"scroll": "^3.0.1",
"scrollparent": "^2.1.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.17.3",
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.0",
"@gilbarbara/eslint-config": "^0.8.4",
"@gilbarbara/prettier-config": "^1.0.0",
"@gilbarbara/tsconfig": "^0.2.3",
"@size-limit/preset-small-lib": "^11.1.6",
"@storybook/addon-a11y": "^8.4.7",
"@storybook/addon-actions": "^8.4.7",
"@storybook/addon-coverage": "^1.0.5",
"@storybook/addon-docs": "^8.4.7",
"@storybook/addon-essentials": "^8.4.7",
"@storybook/addon-links": "^8.4.7",
"@storybook/addon-storysource": "^8.4.7",
"@storybook/addon-viewport": "^8.4.7",
"@storybook/blocks": "^8.4.7",
"@storybook/experimental-addon-test": "^8.4.7",
"@storybook/manager-api": "^8.4.7",
"@storybook/preview-api": "^8.4.7",
"@storybook/react": "^8.4.7",
"@storybook/react-vite": "^8.4.7",
"@storybook/test": "^8.4.7",
"@storybook/test-runner": "^0.21.0",
"@storybook/theming": "^8.4.7",
"@storybook/types": "^8.4.7",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.1.0",
"@types/node": "^22.10.6",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"@types/react-syntax-highlighter": "^15.5.13",
"@types/scroll": "^3.0.3",
"@types/scrollparent": "^2.0.3",
"@vitejs/plugin-react-swc": "^3.7.2",
"@vitest/browser": "^2.1.8",
"@vitest/coverage-v8": "^2.1.8",
"chromatic": "^11.23.0",
"del-cli": "^6.0.0",
"husky": "^9.1.7",
"is-ci-cli": "^2.2.0",
"jest-extended": "^4.0.2",
"jsdom": "^26.0.0",
"playwright": "^1.49.1",
"prettier": "^3.4.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-syntax-highlighter": "^15.6.1",
"repo-tools": "^0.3.1",
"size-limit": "^11.1.6",
"storybook": "^8.4.7",
"ts-node": "^10.9.2",
"tsup": "^8.3.5",
"typescript": "^5.7.3",
"vite": "^5.4.11",
"vite-tsconfig-paths": "^5.1.4",
"vitest": "^2.1.8"
},
"scripts": {
"build": "pnpm run clean && tsup",
"clean": "del dist/*",
"watch": "tsup --watch",
"lint": "eslint --fix .storybook src stories",
"test": "is-ci \"test:coverage\" \"test:watch\"",
"test:coverage": "TZ=UTC vitest run --coverage",
"test:watch": "TZ=UTC vitest watch",
"typecheck": "tsc -p stories/tsconfig.json",
"typevalidation": "attw -P",
"size": "size-limit",
"storybook:dev": "storybook dev -p 6006",
"storybook:build": "storybook build -o build",
"prepublishOnly": "pnpm run validate",
"validate": "pnpm run lint && pnpm run typecheck && pnpm run test:coverage && pnpm run build && pnpm run size && npm run typevalidation",
"prepare": "husky"
},
"tsup": {
"dts": true,
"entry": [
"src/index.ts"
],
"format": [
"cjs",
"esm"
],
"sourcemap": true,
"splitting": false
},
"eslintConfig": {
"extends": [
"@gilbarbara/eslint-config",
"@gilbarbara/eslint-config/vitest",
"@gilbarbara/eslint-config/testing-library"
],
"rules": {
"testing-library/no-await-sync-events": "off",
"react-hooks/exhaustive-deps": [
"warn",
{
"additionalHooks": "(use.*Effect.*)"
}
]
}
},
"prettier": "@gilbarbara/prettier-config",
"size-limit": [
{
"name": "commonjs",
"path": "./dist/index.js",
"limit": "150 KB",
"ignore": [
"date-fns"
]
},
{
"name": "esm",
"path": "./dist/index.mjs",
"limit": "110 KB"
}
]
}