-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpackage.json
More file actions
56 lines (56 loc) · 1.56 KB
/
package.json
File metadata and controls
56 lines (56 loc) · 1.56 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
{
"name": "react-document-events",
"version": "2.0.0",
"description": "Declarative component for binding handlers to document and window - and cleaning them up.",
"main": "index.js",
"exports": {
".": "./index.js",
"./package.json": "./package.json"
},
"engines": {
"node": ">=20"
},
"scripts": {
"prepublishOnly": "npm run build",
"test": "mocha --require tsx 'test/**/*.jsx'",
"test:watch": "mocha --watch --require tsx 'test/**/*.jsx'",
"lint": "eslint 'src/**/*.{js,jsx}'",
"build": "bash build.sh",
"preversion": "yarn test && git add CHANGELOG.md",
"postversion": "git push --tags && yarn publish . --tag $npm_package_version && git push && echo \"Successfully released version $npm_package_version!\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/STRML/react-document-events.git"
},
"author": "Samuel Reed <samuel.trace.reed@gmail.com> (http://strml.net/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/STRML/react-document-events/issues"
},
"homepage": "https://github.com/STRML/react-document-events#readme",
"devDependencies": {
"chai": "^6.2.2",
"esbuild": "^0.27.2",
"eslint": "^9.39.2",
"globals": "^16.5.0",
"jsdom": "^27.4.0",
"mocha": "^11.7.5",
"pre-commit": "^1.2.2",
"react": "^19.2.3",
"react-dom": "^19.2.3",
"tsx": "^4.21.0"
},
"peerDependencies": {
"react": ">=16.8",
"react-dom": ">=16.8"
},
"pre-commit": [
"test",
"lint",
"build"
],
"dependencies": {
"prop-types": "^15.8.1"
}
}