-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
75 lines (75 loc) · 2.26 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
{
"name": "react-use-device",
"version": "1.0.12",
"description": "An npm package for react 16. useDevice is a custom hook that can be used to load different content on different viewports. The content also updates on screen resize. It works well also on SSR applications like does built with NextJS",
"author": "Alejandro Gines <alejandro.ginesmartinez@gmail.com>",
"license": "MIT",
"repository": "alexBCN84/react-use-device",
"main": "dist/index.js",
"module": "dist/index.modern.js",
"source": "src/index.js",
"typings": "index.d.ts",
"engines": {
"node": ">=10"
},
"keywords": [
"UI",
"react hooks",
"responsive",
"layout",
"devices"
],
"scripts": {
"build": "microbundle-crl --no-compress --format modern,cjs",
"start": "microbundle-crl watch --no-compress --format modern,cjs",
"prepublish": "run-s build",
"test": "run-s test:unit test:lint test:build",
"test:build": "run-s build",
"test:lint": "eslint .",
"test:unit": "cross-env CI=1 react-scripts test --env=jsdom",
"test:watch": "react-scripts test --env=jsdom",
"predeploy": "cd example && yarn install && yarn run build",
"deploy": "gh-pages -d example/build"
},
"peerDependencies": {
"react": "^16.0.0"
},
"devDependencies": {
"@babel/core": "^7.20.7",
"@babel/eslint-parser": "^7.19.1",
"cross-env": "^7.0.2",
"eslint": "^8.31.0",
"eslint-config-prettier": "^8.6.0",
"eslint-config-standard": "^17.0.0",
"eslint-config-standard-react": "^13.0.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.31.11",
"eslint-plugin-standard": "^5.0.0",
"gh-pages": "^4.0.0",
"microbundle-crl": "^0.13.11",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.20",
"prettier": "^2.8.1",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"files": [
"dist"
],
"dependencies": {
"caniuse-lite": "^1.0.30001441",
"react-scripts": "^5.0.1",
"typescript": "^4.9.4"
},
"resolutions": {
"json5": "^2.2.2",
"loader-utils": "^2.0.3",
"terser": "^5.14.2",
"nth-check": "^2.0.1",
"minimatch": "^3.0.5",
"postcss": "^8.4.20"
}
}