Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
130 lines (130 loc) · 3.65 KB
/
Copy pathpackage.json
File metadata and controls
130 lines (130 loc) · 3.65 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
{
"name": "@attebyte/react-tree-select",
"version": "2.1.0",
"description": "Accessible React tree select and checkbox tree component with tri-state (indeterminate) selection, keyboard navigation, TypeScript generics and customizable, Tailwind-friendly styling.",
"keywords": [
"react",
"react-component",
"tree",
"tree-select",
"treeselect",
"tree-view",
"treeview",
"checkbox-tree",
"checkbox",
"tree-checkbox",
"multi-select",
"indeterminate",
"tri-state",
"hierarchy",
"nested",
"accessible",
"a11y",
"aria",
"wai-aria",
"keyboard-navigation",
"typescript",
"tailwind",
"tailwindcss",
"file-tree",
"folder-tree"
],
"homepage": "https://rts.attebyte.io",
"bugs": {
"url": "https://github.com/Attebyte/react-tree-select/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Attebyte/react-tree-select.git"
},
"license": "MIT",
"author": "Tristan Attebery (https://attebyte.io)",
"type": "module",
"main": "dist/main.js",
"types": "dist/main.d.ts",
"exports": {
".": {
"types": "./dist/main.d.ts",
"import": "./dist/main.js",
"default": "./dist/main.js"
},
"./style.css": {
"types": "./dist/style.css.d.ts",
"default": "./dist/style.css"
},
"./dist/style.css": {
"types": "./dist/style.css.d.ts",
"default": "./dist/style.css"
},
"./package.json": "./package.json"
},
"sideEffects": [
"**/*.css"
],
"files": [
"dist"
],
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"@attebyte:registry": "https://registry.npmjs.org/",
"access": "public"
},
"engines": {
"node": ">=20"
},
"scripts": {
"dev": "storybook dev -p 6006",
"build": "tsc --p ./tsconfig.build.json && vite build",
"build-site": "npm run build && npm run build-storybook && npm ci --prefix website && npm run build --prefix website",
"lint": "eslint . --report-unused-disable-directives --max-warnings 0",
"typecheck": "tsc",
"prepublishOnly": "npm run lint && npm run typecheck && npm run test:run && npm run build",
"test": "vitest --project unit",
"test:run": "vitest run --project unit",
"test:storybook": "vitest run --project storybook",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build -o storybook-static"
},
"peerDependencies": {
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0"
},
"dependencies": {
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"tailwind-merge": "^3.7.0"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@microsoft/api-extractor": "^7.59.4",
"@storybook/addon-a11y": "^10.6.3",
"@storybook/addon-docs": "^10.6.3",
"@storybook/addon-vitest": "^10.6.3",
"@storybook/react-vite": "^10.6.3",
"@tailwindcss/vite": "^4.3.3",
"@testing-library/dom": "^10.4.2",
"@testing-library/react": "^16.3.3",
"@testing-library/user-event": "^14.6.8",
"@types/node": "^24.19.2",
"@types/react": "^19.2.0",
"@types/react-dom": "^19.2.0",
"@vitejs/plugin-react": "^6.1.2",
"@vitest/browser-playwright": "^5.0.5",
"eslint": "^10.13.0",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.7",
"globals": "^17.13.0",
"jsdom": "^30.1.3",
"playwright": "^1.64.1",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"react-icons": "^5.7.0",
"storybook": "^10.6.3",
"tailwindcss": "^4.3.3",
"typescript": "~6.0.3",
"typescript-eslint": "^8.72.0",
"vite": "^8.3.4",
"vite-plugin-dts": "^5.1.2",
"vitest": "^5.0.5"
}
}