-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
77 lines (77 loc) · 1.96 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
{
"name": "react-screentype-hook",
"version": "1.0.18",
"sideEffects": false,
"description": "react-screentype-hook",
"repository": {
"type": "git",
"url": "git://github.com/wednesday-solutions/react-screentype-hook.git"
},
"engines": {
"npm": ">=5",
"node": ">=8.15.1"
},
"author": "Mac",
"homepage": "https://github.com/wednesday-solutions/react-screentype-hook",
"license": "MIT",
"keywords": [
"react",
"react-hooks",
"screen-types",
"screen-dimensions"
],
"main": "lib/react-screentype-hook",
"types": "index.d.ts",
"scripts": {
"lint": "npm run lint:js",
"lint:eslint": "eslint --ignore-path .eslintignore",
"lint:eslint:fix": "eslint --ignore-path .eslintignore --fix",
"lint:js": "npm run lint:eslint -- . ",
"lint:staged": "lint-staged",
"test:clean": "rimraf ./coverage",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"prettify": "prettier --write",
"webpack:prod": "webpack -p --mode=production",
"prepublishOnly": "yarn webpack:prod"
},
"browserslist": [
"last 2 versions",
"> 1%",
"IE 10"
],
"lint-staged": {
"*.js": [
"npm run lint:eslint:fix",
"git add --force",
"jest --findRelatedTests $STAGED_FILES"
],
"*.json": [
"prettier --write",
"git add --force"
]
},
"pre-commit": "lint:staged",
"dependencies": {},
"peerDependencies": {
"react": ">=16.8.6 || <18.1.0",
"react-dom": ">=16.8.6 || <18.1.0"
},
"devDependencies": {
"@babel/core": "^7.10.2",
"@babel/preset-env": "^7.10.2",
"@babel/preset-react": "^7.10.1",
"babel-loader": "^8.1.0",
"babel-plugin-import": "^1.13.0",
"coveralls": "3.0.3",
"eslint": "5.16.0",
"jest-cli": "24.7.1",
"lint-staged": "8.1.5",
"prettier": "2.6.2",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"rimraf": "2.6.3",
"terser-webpack-plugin": "^3.0.1",
"webpack": "4.30.0",
"webpack-cli": "^3.3.10"
}
}