-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
97 lines (97 loc) · 2.76 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
{
"name": "react-use-observer",
"version": "2.2.4",
"description": "Performant react hooks for WebApi Observers, useResizeObserver, useInteractionObserver, useMutationObserver",
"author": "ardaogulcan",
"license": "MIT",
"repository": "https://github.com/ardaogulcan/react-use-observer",
"keywords": [
"resize observer",
"mutation observer",
"intersection observer",
"performance observer",
"reporting observer",
"resize observer hook",
"mutation observer hook",
"intersection observer hook",
"performance observer hook",
"reporting observer hook",
"web appi",
"performance",
"use",
"react",
"hooks",
"observer"
],
"main": "index.js",
"module": "es/index.js",
"jsnext:main": "es/index.js",
"engines": {
"node": ">=8",
"npm": ">=5"
},
"sideEffects": false,
"scripts": {
"start": "chokidar 'src/**/*.js' -c 'yarn build'",
"lint": "eslint -c .eslintrc src --ext .jsx --ext .js",
"test": "jest",
"prebuild": "rimraf dist",
"build": "yarn build:cjs && yarn build:es2015",
"postbuild": "node scripts/post-build",
"build:es2015": "BABEL_ENV=es2015 babel src -d dist/es --ignore '*.test.js'",
"build:cjs": "BABEL_ENV=cjs babel src -d dist --ignore '*.test.js'",
"commit": "git-cz",
"release": "standard-version"
},
"peerDependencies": {
"react": ">= 16.8",
"react-dom": ">= 16.8"
},
"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.4",
"@babel/plugin-proposal-export-default-from": "^7.2.0",
"@babel/plugin-proposal-export-namespace-from": "^7.2.0",
"@babel/plugin-transform-modules-commonjs": "^7.4.4",
"@babel/plugin-transform-runtime": "^7.4.4",
"@babel/preset-env": "^7.4.4",
"@babel/preset-react": "^7.0.0",
"babel-core": "^6.26.3",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.8.0",
"chokidar-cli": "^1.2.2",
"commitizen": "^3.1.1",
"cz-conventional-changelog": "2.1.0",
"eslint": "^5.16.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-plugin-import": "^2.17.2",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-react": "^7.13.0",
"eslint-plugin-react-hooks": "^1.6.0",
"fs-extra": "^8.0.1",
"glob": "^7.1.4",
"husky": "^2.3.0",
"jest": "^24.8.0",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-hooks-testing-library": "^0.5.0",
"react-test-renderer": "^16.8.6",
"react-testing-library": "^7.0.1",
"rimraf": "^2.6.3",
"standard-version": "^6.0.1"
},
"dependencies": {
"fast-deep-equal": "^3.1.3",
"global": "^4.3.2"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"pre-commit": "yarn test && yarn lint"
}
}
}