Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
72 lines (72 loc) · 1.82 KB
/
Copy pathpackage.json
File metadata and controls
72 lines (72 loc) · 1.82 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
{
"name": "react-inputx",
"version": "1.1.3",
"description": "Reusable React input with controlled/uncontrolled modes, clear actions, adornments, and debounced callbacks",
"author": "Craig Wilson <wilsocr88@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/wilsocr88/react-inputx.git"
},
"bugs": {
"url": "https://github.com/wilsocr88/react-inputx/issues"
},
"homepage": "https://github.com/wilsocr88/react-inputx#readme",
"main": "lib/index.cjs",
"module": "lib/index.js",
"exports": {
".": {
"import": "./lib/index.js",
"require": "./lib/index.cjs",
"default": "./lib/index.js"
}
},
"files": [
"lib",
"README.md"
],
"sideEffects": false,
"keywords": [
"react",
"input",
"component",
"debounce",
"search",
"clearable"
],
"scripts": {
"dev": "vite",
"build": "npm run build:demo && npm run build:lib",
"build:demo": "vite build",
"clean:lib": "node -e \"require('fs').rmSync('lib', { recursive: true, force: true })\"",
"build:lib": "npm run clean:lib && vite build --mode lib",
"preview": "vite preview",
"test": "vitest run",
"check:package": "npm pack --dry-run",
"prepublishOnly": "npm run build:lib && npm run check:package"
},
"engines": {
"node": ">=18"
},
"peerDependencies": {
"react": ">=17",
"react-dom": ">=17"
},
"dependencies": {
"react-icons": "^5.5.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^7.0.0",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@vitejs/plugin-react": "^5.1.0",
"jsdom": "^29.1.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"vite": "^7.0.4",
"vitest": "^4.1.10"
},
"allowScripts": {
"esbuild@0.28.2": true
}
}