forked from davidtheclark/react-aria-menubutton
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
107 lines (107 loc) · 2.86 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
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "react-aria-menubutton",
"version": "7.0.3",
"description": "A fully accessible and flexible React-powered menu button",
"main": "dist/index.js",
"scripts": {
"lint": "eslint .",
"demo-bundle": "webpack --mode production --config ./webpack-demo.config.js",
"demo-watch": "webpack --mode development --config ./webpack-demo.config.js --watch",
"start": "npm run demo-watch & http-server demo",
"jest": "jest",
"test": "npm run lint && npm run jest",
"umd-unminified": "webpack --mode development --config ./webpack-umd.config.js",
"umd-minified": "webpack --mode production --config ./webpack-umd.config.js",
"umd": "npm run umd-unminified && npm run umd-minified",
"format": "prettier --single-quote --write src/**/*.js demo/js/*.js",
"build": "babel src -d dist --ignore src/__tests__",
"prepublishOnly": "npm run umd && npm run build"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": "eslint"
},
"repository": {
"type": "git",
"url": "https://github.com/davidtheclark/react-aria-menubutton.git"
},
"author": {
"name": "David Clark",
"email": "david.dave.clark@gmail.com",
"url": "http://davidtheclark.com"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/davidtheclark/react-aria-menubutton/issues"
},
"homepage": "https://github.com/davidtheclark/react-aria-menubutton",
"keywords": [
"react",
"reactjs",
"react-component",
"aria",
"accessibility",
"menu",
"dropdown",
"widget"
],
"dependencies": {
"focus-group": "^0.3.1",
"jest-environment-jsdom": "^29.5.0",
"prop-types": "^15.8.1",
"teeny-tap": "^0.2.0"
},
"peerDependencies": {
"react": "^16.3.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@babel/cli": "^7.21.0",
"@babel/core": "^7.21.4",
"@babel/eslint-parser": "^7.21.3",
"@babel/preset-env": "^7.21.4",
"@babel/preset-react": "^7.18.6",
"babel-loader": "9.1.2",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.7",
"enzyme-to-json": "^3.6.2",
"eslint": "^8.39.0",
"http-server": "^14.1.1",
"husky": "^8.0.3",
"jest": "^29.5.0",
"jsdom": "21.1.1",
"jsdom-global": "3.0.2",
"lint-staged": "^13.2.1",
"prettier": "^1.19.1",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-test-renderer": "^16.14.0",
"webpack": "^5.80.0",
"webpack-cli": "^5.0.2"
},
"babel": {
"presets": [
"@babel/preset-react",
[
"@babel/preset-env",
{
"loose": true
}
]
],
"plugins": [
"@babel/plugin-proposal-class-properties"
]
},
"jest": {
"testEnvironment": "jsdom",
"setupFiles": [
"./src/__tests__/helpers/jest-setup.js"
],
"testRegex": "/__tests__/.*\\.test.js$",
"clearMocks": true
}
}