-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
71 lines (71 loc) · 2.06 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
{
"name": "react-higher-event",
"version": "4.3.1",
"description": "Declarative React API to listen to higher events",
"type": "module",
"sideEffects": false,
"exports": "lib/index.js",
"main": "lib/index.js",
"files": [
"lib"
],
"scripts": {
"build": "rm -fr lib/ && babel src --out-dir lib --ignore 'src/**/*.test.js'",
"examples": "yarn build && cd examples && yarn && yarn start",
"format": "prettier --write package.json README.md CHANGELOG.md ./examples/src/ ./src/",
"test": "vitest run",
"test:watch": "vitest",
"pub": "yarn test && yarn flow && yarn build && yarn publish",
"flow": "flow"
},
"repository": "https://github.com/bloodyowl/react-higher-event.git",
"keywords": [
"react",
"higher-event",
"click",
"outside"
],
"author": "bloodyowl <mlbli@me.com>",
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.22.6",
"@babel/core": "^7.22.6",
"@babel/preset-env": "^7.22.9",
"@babel/preset-flow": "^7.22.5",
"@babel/preset-react": "^7.22.5",
"@bunchtogether/vite-plugin-flow": "^1.0.2",
"@rollup/plugin-babel": "^6.0.3",
"@testing-library/react": "^14.0.0",
"flow-bin": "^0.159.0",
"jsdom": "^22.1.0",
"prettier": "^3.0.0",
"react": "^18",
"react-dom": "^18",
"vite": "^4.4.4",
"vitest": "^0.33.0"
},
"dependencies": {
"@acusti/use-keyboard-events": "^0.6.0"
},
"peerDependencies": {
"react": "^16.3.0 || ^17 || ^18",
"react-dom": "^16.3.0 || ^17 || ^18"
},
"babel": {
"presets": [
"@babel/preset-flow",
"@babel/preset-react",
[
"@babel/preset-env",
{
"bugfixes": true,
"modules": false
}
]
],
"targets": {
"browsers": "> 1%, not dead",
"esmodules": true
}
}
}