Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 1.94 KB
/
Copy pathpackage.json
File metadata and controls
77 lines (77 loc) · 1.94 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
{
"name": "react-dropdown",
"version": "2.0.0",
"description": "A lightweight, accessible dropdown component for React",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"style": "./style.css",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./style.css": "./style.css",
"./package.json": "./package.json"
},
"files": [
"dist",
"CHANGELOG.md",
"style.css"
],
"sideEffects": [
"*.css"
],
"repository": {
"type": "git",
"url": "git+https://github.com/fraserxu/react-dropdown.git"
},
"keywords": [
"react",
"react-component",
"component",
"dropdown",
"select",
"accessible"
],
"author": {
"name": "Fraser Xu",
"email": "xvfeng123@gmail.com",
"url": "https://fraserxu.me"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/fraserxu/react-dropdown/issues"
},
"homepage": "https://github.com/fraserxu/react-dropdown#readme",
"peerDependencies": {
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0"
},
"devDependencies": {
"@testing-library/dom": "^10.4.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"jsdom": "^29.1.1",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"typescript": "^5.9.3",
"vite": "^8.1.4",
"vitest": "^4.1.10"
},
"scripts": {
"build": "vite build --config vite.lib.config.ts && tsc -p tsconfig.build.json",
"build:demo": "vite build --config vite.demo.config.ts",
"dev": "vite example",
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "tsc --noEmit",
"check": "npm run typecheck && npm test && npm run build",
"prepublishOnly": "npm run check"
},
"packageManager": "npm@11.6.1"
}