-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
62 lines (62 loc) · 1.82 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
{
"name": "use-onclickoutside",
"version": "0.3.1",
"description": "React hook for listening for clicks outside of an element.",
"main": "./dist/use-onclickoutside.cjs.js",
"module": "./dist/use-onclickoutside.esm.js",
"types": "./types/index.d.ts",
"browser": {
"./dist/use-onclickoutside.cjs.js": "./dist/use-onclickoutside.cjs.browser.js",
"./dist/use-onclickoutside.esm.js": "./dist/use-onclickoutside.esm.browser.js"
},
"files": [
"dist",
"types"
],
"scripts": {
"test": "echo \"Warning: no test specified\" || jest --env=node",
"prebuild": "rimraf dist types",
"build": "rollup -c",
"build:types": "tsc",
"postbuild": "npm run build:types",
"preversion": "npm test",
"prepare": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Andarist/use-onclickoutside.git"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/Andarist/use-onclickoutside/issues"
},
"homepage": "https://github.com/Andarist/use-onclickoutside#readme",
"peerDependencies": {
"react": "^16.8.0-alpha.1"
},
"devDependencies": {
"@babel/core": "^7.1.5",
"@babel/helper-module-imports": "^7.0.0",
"@babel/plugin-transform-modules-commonjs": "^7.1.0",
"@babel/preset-env": "^7.1.5",
"@babel/preset-typescript": "^7.1.0",
"@types/react": "^16.8.1",
"babel-plugin-macros": "^2.4.2",
"husky": "^1.1.3",
"jest": "^24.0.0",
"lint-staged": "^8.0.4",
"prettier": "^1.16.4",
"react": "16.8.0-alpha.1",
"rimraf": "^2.6.2",
"rollup": "^1.1.2",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-node-resolve": "^4.0.0",
"rollup-plugin-replace": "^2.1.0",
"typescript": "^3.3.1"
},
"dependencies": {
"are-passive-events-supported": "^1.1.0",
"use-latest": "^1.0.0"
}
}