-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
95 lines (95 loc) · 2.61 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
92
93
94
95
{
"name": "@szhsin/react-accordion",
"version": "1.4.0",
"description": "The complete accordion solution for React.",
"author": "Zheng Song",
"license": "MIT",
"repository": "szhsin/react-accordion",
"homepage": "https://szhsin.github.io/react-accordion/",
"main": "./dist/cjs/index.cjs",
"module": "./dist/esm/index.mjs",
"types": "./types/index.d.ts",
"publishConfig": {
"access": "public"
},
"sideEffects": false,
"files": [
"dist/",
"types/"
],
"keywords": [
"react",
"accordion",
"component",
"hook",
"unstyled",
"headless UI",
"design system",
"accessibility",
"wai-aria"
],
"scripts": {
"start": "run-p watch \"types -- --watch\"",
"eg": "npm run dev --prefix example",
"bundle": "rollup -c",
"watch": "rollup -c -w",
"clean": "rm -Rf dist types",
"types": "tsc",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"pret": "prettier -c .",
"pret:fix": "prettier -w .",
"test": "jest",
"test:watch": "jest --watch --verbose",
"test:cov": "jest --coverage=true",
"postbuild": "rm -Rf types/__tests__",
"build": "run-s pret clean types lint bundle"
},
"exports": {
".": {
"types": "./types/index.d.ts",
"require": "./dist/cjs/index.cjs",
"default": "./dist/esm/index.mjs"
},
"./package.json": "./package.json"
},
"peerDependencies": {
"react": "^16.14 || ^17.0 || ^18.0 || ^19.0",
"react-dom": "^16.14 || ^17.0 || ^18.0 || ^19.0"
},
"dependencies": {
"react-transition-state": "^2.2.0"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@babel/preset-react": "^7.26.3",
"@babel/preset-typescript": "^7.26.0",
"@eslint/js": "^9.17.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-node-resolve": "^16.0.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.1.0",
"@types/jest": "^29.5.14",
"@types/react": "^19.0.2",
"@types/react-dom": "^19.0.2",
"babel-plugin-pure-annotations": "^0.1.2",
"eslint": "^9.17.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^28.9.0",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-react-hooks-addons": "^0.4.1",
"globals": "^15.13.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.4.2",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"rollup": "^4.29.1",
"rollup-preserve-directives": "^1.1.3",
"typescript": "^5.7.2",
"typescript-eslint": "^8.19.0"
}
}