-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
91 lines (91 loc) · 2.42 KB
/
package.json
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
{
"name": "react-drag-drop-browser",
"version": "3.0.1",
"type": "module",
"description": "Simple, customizable components for selecting files, with drag and drop.",
"repository": {
"type": "git",
"url": "git+https://github.com/chidimo/react-drag-drop-browser.git"
},
"bugs": {
"url": "https://github.com/chidimo/react-drag-drop-browser"
},
"homepage": "https://github.com/chidimo/react-drag-drop-browser",
"keywords": [
"drag",
"drop",
"react",
"browse",
"drag-and-drop"
],
"author": "Chidi Orji ([email protected])",
"license": "MIT",
"files": [
"dist/**/*",
"LICENSE",
"README.md"
],
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/cjs/types/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/esm/types/index.d.ts",
"default": "./dist/esm/index.mjs"
},
"require": {
"types": "./dist/cjs/types/index.d.ts",
"default": "./dist/cjs/index.js"
}
}
},
"release": {
"branches": [
"main"
]
},
"publishConfig": {
"access": "public"
},
"scripts": {
"clean": "rimraf dist",
"copy-files": "shx cp src/styles.css dist/esm/styles.css",
"build": "npm run clean && npm run build:esm && npm run build:cjs",
"build:esm": "tsc -p ./tsconfig.esm.json && mv dist/esm/index.js dist/esm/index.mjs",
"build:cjs": "tsc -p ./tsconfig.cjs.json",
"postbuild": "npm run copy-files",
"prepublishOnly": "npm run build",
"test": "jest",
"semantic-release": "semantic-release"
},
"devDependencies": {
"@babel/cli": "^7.24.8",
"@babel/core": "^7.24.9",
"@babel/preset-env": "^7.25.0",
"@babel/preset-react": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.4.8",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.12",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"rimraf": "^6.0.1",
"semantic-release": "^24.0.0",
"shx": "^0.3.4",
"ts-jest": "^29.2.3",
"ts-node": "^10.9.2",
"tslib": "^2.6.3",
"typescript": "^5.5.4"
},
"peerDependencies": {
"react": "^17.0.0 || ^18.0.0",
"react-dom": "^17.0.0 || ^18.0.0"
}
}