-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
101 lines (101 loc) · 2.86 KB
/
package.json
File metadata and controls
101 lines (101 loc) · 2.86 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"name": "@szhsin/react-autocomplete",
"version": "1.2.0",
"description": "A modular, lightweight, and headless React autocomplete solution.",
"author": "Zheng Song",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/szhsin/react-autocomplete.git"
},
"homepage": "https://szhsin.github.io/react-autocomplete/",
"type": "module",
"main": "./dist/cjs/index.cjs",
"module": "./dist/esm/index.mjs",
"types": "./types/index.d.ts",
"sideEffects": false,
"publishConfig": {
"access": "public"
},
"files": [
"dist/",
"features/",
"types/"
],
"keywords": [
"react",
"autocomplete",
"select",
"combobox",
"dropdown",
"headless"
],
"scripts": {
"start": "run-p watch \"types -- --watch\"",
"bundle": "rollup -c",
"watch": "rollup -c -w",
"clean": "rm -Rf dist types",
"types": "tsc",
"prepare": "rm -Rf types/__tests__",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"pret": "prettier -c .",
"pret:fix": "prettier -w .",
"build": "run-s pret clean types lint bundle",
"test": "jest",
"test:watch": "jest --watch",
"eg": "npm run dev --prefix examples"
},
"exports": {
".": {
"types": "./types/index.d.ts",
"require": "./dist/cjs/index.cjs",
"default": "./dist/esm/index.mjs"
},
"./features/atom": {
"types": "./types/features/atom/index.d.ts",
"require": "./dist/cjs/features/atom/index.cjs",
"default": "./dist/esm/features/atom/index.mjs"
},
"./features/molecule": {
"types": "./types/features/molecule/index.d.ts",
"require": "./dist/cjs/features/molecule/index.cjs",
"default": "./dist/esm/features/molecule/index.mjs"
}
},
"peerDependencies": {
"react": "^16.8 || ^17 || ^18 || ^19"
},
"devDependencies": {
"@babel/core": "^7.29.0",
"@babel/preset-env": "^7.29.2",
"@babel/preset-react": "^7.28.5",
"@babel/preset-typescript": "^7.28.5",
"@rollup/plugin-babel": "^7.0.0",
"@rollup/plugin-node-resolve": "^16.0.3",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/jest": "^30.0.0",
"@types/react": "^19.2.14",
"babel-plugin-pure-annotations": "^0.1.2",
"deplift": "^1.3.0",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-jest": "^29.15.1",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-hooks-addons": "^0.5.1",
"globals": "^17.4.0",
"jest": "^30.3.0",
"jest-dom-extended": "^0.2.1",
"jest-environment-jsdom": "^30.3.0",
"npm-run-all2": "^8.0.4",
"prettier": "^3.8.1",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"rollup": "^4.60.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.57.2"
}
}