-
Notifications
You must be signed in to change notification settings - Fork 56
/
package.json
91 lines (91 loc) · 2.47 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": "@szhsin/react-menu",
"version": "4.1.0",
"description": "React component for building accessible menu, dropdown, submenu, context menu and more.",
"author": "Zheng Song",
"license": "MIT",
"repository": "szhsin/react-menu",
"homepage": "https://szhsin.github.io/react-menu/",
"main": "dist/index.js",
"module": "dist/es/index.js",
"types": "types/index.d.ts",
"publishConfig": {
"access": "public"
},
"sideEffects": [
"*.css"
],
"files": [
"dist",
"types/*.d.ts",
"style-utils"
],
"scripts": {
"bundle": "rollup -c",
"watch": "rollup -c -w",
"css": "sass src/styles:dist --no-source-map",
"clean": "rm -rf dist && mkdir -p dist",
"start": "run-p \"css -- --watch\" watch",
"build": "run-s clean pret lint css bundle",
"test": "jest",
"test:watch": "jest --watch --verbose",
"test:cov": "jest --coverage=true",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"pret": "prettier -c .",
"pret:fix": "prettier -w .",
"types": "dtslint --localTs node_modules/typescript/lib types",
"tsc": "cd types && tsc",
"eg": "npm run dev --prefix example"
},
"peerDependencies": {
"react": ">=16.14.0",
"react-dom": ">=16.14.0"
},
"dependencies": {
"prop-types": "^15.7.2",
"react-transition-state": "^2.1.0"
},
"devDependencies": {
"@babel/core": "^7.24.4",
"@babel/preset-env": "^7.24.4",
"@babel/preset-react": "^7.24.1",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-node-resolve": "^15.2.3",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.2",
"@types/jest": "^29.5.12",
"@types/react": "^18.3.2",
"babel-plugin-pure-annotations": "^0.1.2",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"dtslint": "^4.2.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-hooks-addons": "^0.3.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.2.5",
"react": "^18.3.1",
"react-dom": "^18.2.0",
"rollup": "^4.17.2",
"sass": "^1.77.2",
"typescript": "^5.4.5"
},
"keywords": [
"react",
"menu",
"component",
"submenu",
"context menu",
"dropdown",
"tooltip",
"checkbox",
"radio button",
"accessibility",
"wai-aria"
]
}