-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathpackage.json
More file actions
82 lines (82 loc) · 2.03 KB
/
package.json
File metadata and controls
82 lines (82 loc) · 2.03 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
{
"name": "@thisux/sveltednd",
"version": "0.4.0",
"private": false,
"description": "A lightweight, flexible drag and drop library for Svelte 5 applications.",
"author": "sanju <work@sanju.sh>",
"contributors": [
"sanju <work@sanju.sh>"
],
"license": "MIT",
"keywords": [
"svelte",
"drag",
"drop",
"dnd",
"drag-and-drop",
"typescript",
"svelte5"
],
"scripts": {
"dev": "vite dev",
"build": "vite build && bun run package",
"preview": "vite preview",
"package": "svelte-kit sync && svelte-package && publint",
"prepublishOnly": "bun run package",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"format": "prettier --write .",
"lint": "prettier --check . && eslint .",
"test:unit": "vitest",
"test": "bun run test:unit -- --run",
"prepare": "[ -z \"$CI\" ] && husky || true"
},
"files": [
"dist",
"!dist/**/*.test.*",
"!dist/**/*.spec.*"
],
"sideEffects": [
"**/*.css"
],
"svelte": "./dist/index.js",
"types": "./dist/index.d.ts",
"type": "module",
"exports": {
".": {
"svelte": "./dist/index.js",
"import": "./dist/index.js",
"require": "./dist/index.js"
}
},
"peerDependencies": {
"svelte": "^5.0.0"
},
"devDependencies": {
"@commitlint/cli": "^20.5.0",
"@commitlint/config-conventional": "^20.5.0",
"@eslint/js": "^10.0.1",
"@sveltejs/adapter-cloudflare": "^7.2.8",
"@sveltejs/kit": "^2.55.0",
"@sveltejs/package": "^2.5.7",
"@types/eslint": "^9.6.1",
"autoprefixer": "^10.4.27",
"eslint": "^10.1.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-svelte": "^3.16.0",
"globals": "^17.4.0",
"happy-dom": "^20.8.9",
"husky": "^9.1.7",
"prettier": "^3.8.1",
"prettier-plugin-svelte": "^3.5.1",
"prettier-plugin-tailwindcss": "^0.7.2",
"publint": "^0.3.18",
"svelte": "^5.55.1",
"svelte-check": "^4.4.6",
"tailwindcss": "^3.4.19",
"typescript": "^5.9.3",
"typescript-eslint": "^8.58.0",
"vite": "^8.0.0",
"vitest": "^4.1.2"
}
}