forked from clauderic/dnd-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.13 KB
/
package.json
File metadata and controls
84 lines (84 loc) · 2.13 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
{
"name": "@dnd-kit/react",
"version": "0.4.0",
"main": "./index.cjs",
"module": "./index.js",
"type": "module",
"types": "./index.d.ts",
"sideEffects": false,
"license": "MIT",
"files": [
"LICENSE",
"README.md",
"index.js",
"index.d.ts",
"index.cjs",
"hooks.js",
"hooks.d.ts",
"hooks.cjs",
"sortable.js",
"sortable.d.ts",
"sortable.cjs",
"utilities.js",
"utilities.d.ts",
"utilities.cjs"
],
"exports": {
".": {
"types": "./index.d.ts",
"import": "./index.js",
"require": "./index.cjs"
},
"./hooks": {
"types": "./hooks.d.ts",
"import": "./hooks.js",
"require": "./hooks.cjs"
},
"./sortable": {
"types": "./sortable.d.ts",
"import": "./sortable.js",
"require": "./sortable.cjs"
},
"./utilities": {
"types": "./utilities.d.ts",
"import": "./utilities.js",
"require": "./utilities.cjs"
}
},
"scripts": {
"build": "bun build:utilities && bun build:hooks && bun build:core && bun build:sortable",
"build:core": "tsup src/core/index.ts",
"build:hooks": "tsup --entry.hooks src/hooks/index.ts",
"build:sortable": "tsup --entry.sortable src/sortable/index.ts",
"build:utilities": "tsup --entry.utilities src/utilities/index.ts",
"dev": "bun build:utilities --watch & bun build:hooks --watch & bun build:core --watch & bun build:sortable --watch",
"lint": "TIMING=1 eslint src/**/*.ts* --fix",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
},
"dependencies": {
"@dnd-kit/abstract": "^0.4.0",
"@dnd-kit/dom": "^0.4.0",
"@dnd-kit/state": "^0.4.0",
"tslib": "^2.6.2"
},
"peerDependencies": {
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0"
},
"devDependencies": {
"@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3",
"eslint": "^8.38.0",
"@dnd-kit/eslint-config": "*",
"react": "^19.0.0",
"tsup": "8.3.0",
"typescript": "^5.5.2"
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/clauderic/dnd-kit"
}
}