-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
77 lines (77 loc) · 1.91 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": "@use-hooks/image-size",
"version": "1.0.5",
"description": "Custom React Hooks for image natural size.",
"main": "dist/index.js",
"files": [
"dist"
],
"scripts": {
"test": "jest",
"start": "webpack-dev-server --progress --color",
"build": "webpack --env build",
"example": "webpack --env example",
"readme": "use-hooks-readme",
"lint": "eslint src example --ext .js*",
"lint:fix": "eslint src example --ext .js* --fix",
"prepublishOnly": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/use-hooks/react-hooks-image-size.git"
},
"keywords": [
"reactjs",
"react-hooks"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/use-hooks/react-hooks-image-size/issues"
},
"homepage": "https://github.com/use-hooks/react-hooks-image-size#readme",
"devDependencies": {
"@babel/core": "^7.2.0",
"@babel/preset-env": "^7.2.0",
"@babel/preset-react": "^7.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^23.6.0",
"babel-loader": "^8.0.4",
"eslint": "^5.10.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-react": "^7.11.1",
"html-webpack-plugin": "^3.2.0",
"husky": "^1.2.0",
"jest": "^23.6.0",
"lint-staged": "^8.1.0",
"regenerator-runtime": "^0.13.1",
"use-hooks-readme": "^1.0.1",
"webpack": "^4.27.1",
"webpack-cli": "^3.1.2",
"webpack-dev-server": "^3.1.10"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx}": [
"eslint --fix",
"git add"
],
"*.{js,jsx,json}": [
"use-hooks-readme",
"git add README.md"
]
},
"dependencies": {
"react": "^16.8.1",
"react-dom": "^16.8.1"
},
"peerDependencies": {
"react": "^16.8.1",
"react-dom": "^16.8.1"
}
}