-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 2.13 KB
/
Copy pathpackage.json
File metadata and controls
83 lines (83 loc) · 2.13 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
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
{
"name": "react-use-visibility",
"version": "0.3.0",
"description": "React hook for tracking components visibility",
"keywords": [
"react",
"hooks",
"visibility",
"screen"
],
"main": "lib/index.js",
"repository": "https://github.com/olistic/react-use-visibility.git",
"author": "Matias Olivera <moliverafreire@gmail.com>",
"license": "MIT",
"scripts": {
"build": "yarn clean:build && babel src --out-dir lib",
"clean": "yarn clean:build & yarn clean:coverage & yarn clean:modules",
"clean:build": "rimraf lib",
"clean:coverage": "rimraf coverage",
"clean:modules": "rimraf node_modules",
"lint": "eslint --cache src",
"lint:fix": "yarn lint --fix",
"pretest": "yarn lint",
"test": "jest",
"test:coverage": "yarn test --coverage",
"test:watch": "yarn test --watch"
},
"files": [
"lib"
],
"dependencies": {
"lodash.throttle": "^4.1.1"
},
"peerDependencies": {
"react": "^16.8.0",
"react-dom": "^16.8.0"
},
"devDependencies": {
"@babel/cli": "^7.6.2",
"@babel/core": "^7.6.2",
"@babel/preset-env": "^7.6.2",
"@babel/preset-react": "^7.0.0",
"@testing-library/jest-dom": "^4.1.0",
"@testing-library/react": "^9.2.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "10.0.3",
"babel-jest": "^24.9.0",
"eslint": "6.5.1",
"eslint-config-prettier": "^6.3.0",
"eslint-config-react-app": "^5.0.2",
"eslint-plugin-flowtype": "4.3.0",
"eslint-plugin-import": "2.18.2",
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-react": "7.15.1",
"eslint-plugin-react-hooks": "^2.1.1",
"husky": "^3.0.8",
"jest": "^24.9.0",
"lint-staged": "^9.4.1",
"prettier": "1.18.2",
"react": "^16.10.1",
"react-dom": "^16.10.1",
"regenerator-runtime": "^0.13.3",
"rimraf": "^3.0.0"
},
"jest": {
"clearMocks": true,
"setupFilesAfterEnv": [
"./jest.setup.js"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,json,css,md}": [
"prettier --write",
"git add"
]
}
}