-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 1.8 KB
/
Copy pathpackage.json
File metadata and controls
73 lines (73 loc) · 1.8 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
{
"name": "react-dropkit",
"version": "0.2.0",
"description": "A modern, accessible, TypeScript-first React file upload library with drag-and-drop, previews, progress tracking, and zero backend opinions.",
"author": "",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/YOUR_USERNAME/react-dropkit"
},
"homepage": "https://github.com/YOUR_USERNAME/react-dropkit#readme",
"bugs": {
"url": "https://github.com/YOUR_USERNAME/react-dropkit/issues"
},
"keywords": [
"react",
"file-upload",
"dropzone",
"drag-and-drop",
"file-picker",
"typescript",
"accessible",
"a11y",
"image-preview",
"progress-bar",
"upload",
"react-component"
],
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"sideEffects": false,
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"lint": "tsc --noEmit",
"prepublishOnly": "npm run build",
"release": "npm run build && npm publish --access public"
},
"peerDependencies": {
"react": ">=17",
"react-dom": ">=17"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.4.0",
"@testing-library/react": "^15.0.0",
"@testing-library/user-event": "^14.5.0",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0",
"@vitest/coverage-v8": "^1.6.0",
"jsdom": "^24.0.0",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"tsup": "^8.0.0",
"typescript": "^5.4.0",
"vitest": "^1.6.0"
}
}