Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
98 lines (98 loc) · 2.61 KB
/
Copy pathpackage.json
File metadata and controls
98 lines (98 loc) · 2.61 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
{
"name": "@dnd-kit/dom",
"version": "0.5.3",
"type": "module",
"main": "./index.cjs",
"module": "./index.js",
"types": "./index.d.ts",
"sideEffects": false,
"license": "MIT",
"files": [
"LICENSE",
"README.md",
"index.js",
"index.js.map",
"index.d.ts",
"index.d.cts",
"index.cjs",
"index.cjs.map",
"plugins/*",
"modifiers.js",
"modifiers.js.map",
"modifiers.d.ts",
"modifiers.d.cts",
"modifiers.cjs",
"sortable.js",
"sortable.js.map",
"sortable.d.ts",
"sortable.d.cts",
"sortable.cjs",
"sortable.cjs.map",
"utilities.js",
"utilities.js.map",
"utilities.d.ts",
"utilities.d.cts",
"utilities.cjs",
"utilities.cjs.map"
],
"exports": {
".": {
"types": "./index.d.ts",
"import": "./index.js",
"require": "./index.cjs"
},
"./modifiers": {
"types": "./modifiers.d.ts",
"import": "./modifiers.js",
"require": "./modifiers.cjs"
},
"./plugins/*": {
"types": "./plugins/*.d.ts",
"import": "./plugins/*.js",
"require": "./plugins/*.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:core && bun build:sortable && bun build:modifiers && bun build:plugins",
"build:core": "tsup src/core/index.ts",
"build:modifiers": "tsup --entry.modifiers src/modifiers/index.ts",
"build:plugins": "tsup --entry.debug src/plugins/debug/index.ts --outDir ./plugins",
"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:core --watch & bun build:sortable --watch & bun build:modifiers --watch & bun build:plugins --watch",
"test": "bun test",
"lint": "TIMING=1 eslint src/**/*.ts* --fix",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
},
"dependencies": {
"@dnd-kit/abstract": "^0.5.3",
"@dnd-kit/collision": "^0.5.3",
"@dnd-kit/geometry": "^0.5.3",
"@dnd-kit/state": "^0.5.3",
"tslib": "^2.6.2"
},
"devDependencies": {
"@dnd-kit/eslint-config": "*",
"bun-types": "^1.2.15",
"eslint": "^8.38.0",
"tsup": "8.4.0",
"typescript": "^5.5.2"
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/clauderic/dnd-kit"
}
}