This repository has been archived by the owner on Jul 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
88 lines (88 loc) · 2.67 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
{
"name": "react-browser-hooks",
"version": "2.2.4",
"description": "react-browser-hooks React component",
"main": "lib/index.js",
"module": "es/index.js",
"files": [
"css",
"es",
"lib",
"umd"
],
"scripts": {
"acceptance": "testcafe chrome test/acceptance/",
"acceptance-ci": "testcafe browserstack:chrome,browserstack:firefox,browserstack:ie,browserstack:safari test/acceptance/",
"build": "nwb build-react-component",
"clean": "nwb clean-module && nwb clean-demo",
"format": "prettier --write **/*.js",
"lint": "eslint ./*.js src test",
"lint-fix": "eslint ./*.js src test --fix",
"prepublishOnly": "npm run build",
"start": "npm run storybook",
"storybook": "start-storybook -p 3000 -c storybook/.storybook --ci",
"build-storybook": "build-storybook -c storybook/.storybook",
"test": "npm run test:unit && npm run test:acceptance",
"test:unit": "jest",
"test:acceptance": "node bin/acceptance.js",
"test:coverage": "jest --coverage",
"test:watch": "jest --watch"
},
"peerDependencies": {
"react": ">= 16.8 < 17"
},
"devDependencies": {
"@babel/core": "^7.4.3",
"@babel/preset-env": "^7.4.3",
"@babel/preset-react": "^7.0.0",
"@emotion/core": "^10.0.27",
"@storybook/addons": "^5.2.8",
"@storybook/react": "^5.2.8",
"@testing-library/dom": "^6.11.0",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.4.0",
"@testing-library/react-hooks": "^3.2.1",
"@typescript-eslint/eslint-plugin": "^2.15.0",
"@typescript-eslint/parser": "^2.15.0",
"axios": "^0.19.1",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.5",
"eslint": "^6.0.0",
"eslint-config-prettier": "^6.9.0",
"eslint-config-react-app": "^5.1.0",
"eslint-plugin-flowtype": "^3.13.0",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-react": "^7.12.4",
"eslint-plugin-react-hooks": "^1.7.0",
"husky": "^4.0.6",
"jest": "^24.7.1",
"lint-staged": "^9.5.0",
"prettier": "^1.16.4",
"react": "^16.8.6",
"react-test-renderer": "^16.12.0",
"storybook-readme": "^5.0.8",
"testcafe": "^1.1.1",
"testcafe-browser-provider-browserstack": "^1.8.0"
},
"author": "NearForm",
"homepage": "https://github.com/nearform/react-browser-hooks",
"license": "Apache-2.0",
"repository": "https://github.com/nearform/react-browser-hooks",
"keywords": [
"react",
"hooks",
"browser",
"events",
"listeners",
"fullscreen",
"resize",
"scroll",
"mouse",
"web api",
"orientation",
"geolocation"
],
"dependencies": {}
}