Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
149 lines (149 loc) · 4.54 KB
/
Copy pathpackage.json
File metadata and controls
149 lines (149 loc) · 4.54 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
{
"name": "@nosferatu500/react-sortable-tree",
"version": "7.1.0",
"description": "Accessible drag-and-drop sortable tree for React 19, with virtualized rendering and first-class TypeScript types",
"homepage": "https://nosferatu500.github.io/react-sortable-tree",
"type": "module",
"main": "./lib/index.js",
"module": "./lib/index.js",
"types": "./lib/index.d.ts",
"exports": {
".": {
"types": "./lib/index.d.ts",
"default": "./lib/index.js"
},
"./style.css": "./lib/style.css",
"./package.json": "./package.json"
},
"scripts": {
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"test:build": "npm run build && vitest run --config vitest.build.config.ts",
"prebuild": "npm run typecheck",
"build": "tsdown",
"check:exports": "publint --strict && attw --pack . --ignore-rules cjs-resolves-to-esm --exclude-entrypoints style.css",
"lint": "npm run lint:oxlint && npm run lint:eslint",
"lint:oxlint": "oxlint src",
"lint:eslint": "eslint 'src/**/*.{ts,tsx}' '*.ts' --cache",
"lint:fix": "oxlint src --fix && eslint 'src/**/*.{ts,tsx}' '*.ts' --cache --fix",
"format": "prettier --write .",
"format:check": "prettier --check .",
"bench:setup": "npm run build && node benchmark/pack-fork.mjs && npm --prefix benchmark install && npm --prefix benchmark/legacy install && npm --prefix benchmark/compat19 install --legacy-peer-deps",
"bench": "npm --prefix benchmark run footprint && npm --prefix benchmark run bench",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"prepublishOnly": "npm run test:build && npm run check:exports",
"deploy-storybook": "gh-pages -d storybook-static"
},
"files": [
"lib",
"CHANGELOG.md"
],
"sideEffects": [
"**/*.css"
],
"engines": {
"node": ">=22.12"
},
"devEngines": {
"runtime": {
"name": "node",
"version": ">=24.11",
"onFail": "warn"
}
},
"prettier": {
"semi": false,
"trailingComma": "es5",
"singleQuote": true,
"bracketSameLine": true,
"tabWidth": 2,
"printWidth": 80
},
"repository": {
"type": "git",
"url": "git+https://github.com/nosferatu500/react-sortable-tree.git"
},
"keywords": [
"react",
"react-component",
"react19",
"tree",
"treeview",
"sortable-tree",
"virtual-tree",
"virtualized",
"drag-and-drop",
"dnd",
"sortable",
"nested",
"hierarchy",
"accessibility",
"a11y",
"typescript"
],
"publishConfig": {
"access": "public"
},
"author": "Vitalii Shvetsov",
"contributors": [
"Chris Fritz (original author of react-sortable-tree)"
],
"license": "MIT",
"bugs": "https://github.com/nosferatu500/react-sortable-tree/issues",
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.5",
"@babel/core": "^7.29.7",
"@eslint/js": "^10.0.1",
"@nosferatu500/dnd-core": "^19.2.0",
"@nosferatu500/react-dnd-test-backend": "^19.2.0",
"@nosferatu500/react-dnd-touch-backend": "^19.2.0",
"@storybook/addon-docs": "^10.6.7",
"@storybook/addon-links": "^10.6.7",
"@storybook/react-vite": "^10.6.7",
"@testing-library/dom": "^10.4.2",
"@testing-library/react": "^16.3.3",
"@testing-library/user-event": "^14.6.12",
"@tsdown/css": "^0.23.7",
"@types/node": "^24.19.2",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"babel-plugin-react-compiler": "^1.0.0",
"eslint": "^10.15.0",
"eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-typescript": "^4.4.5",
"eslint-plugin-import-x": "^4.18.1",
"eslint-plugin-promise": "^7.3.0",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-sonarjs": "^4.2.2",
"eslint-plugin-storybook": "^10.6.7",
"eslint-plugin-unicorn": "^80.0.0",
"gh-pages": "^6.3.0",
"globals": "^17.14.0",
"jsdom": "^31.0.1",
"oxlint": "^1.93.0",
"prettier": "^3.10.1",
"publint": "^0.3.25",
"react": "^19.3.1",
"react-dom": "^19.3.1",
"storybook": "^10.6.7",
"tsdown": "^0.23.7",
"typescript": "^6.0.3",
"typescript-eslint": "^8.72.2",
"vite": "^8.3.8",
"vitest": "^5.1.0"
},
"peerDependencies": {
"@nosferatu500/react-dnd": "^19.2.0",
"@nosferatu500/react-dnd-html5-backend": "^19.2.0",
"react": "^19.3.0",
"react-dom": "^19.3.0"
},
"dependencies": {
"@nosferatu500/react-dnd": "^19.2.0",
"@nosferatu500/react-dnd-html5-backend": "^19.2.0",
"@nosferatu500/react-dnd-keyboard-backend": "^19.2.0",
"virtua": "^0.54.2"
}
}