react-listen-resize
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "react-listen-resize", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Listening resize can use hooks、HOC、normal function.", | ||
@@ -17,13 +17,16 @@ "main": "dist/index.js", | ||
}, | ||
"lint-staged": { | ||
"**/*.{jsx,js}": [ | ||
"prettier-eslint --write", | ||
"git add" | ||
] | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS", | ||
"pre-commit": "lint-staged" | ||
} | ||
}, | ||
"lint-staged": { | ||
"*.js": "eslint --max-warnings=1 --ignore-pattern !.fatherrc.js" | ||
}, | ||
"commitlint": { | ||
"extends": [ | ||
"@commitlint/config-angular" | ||
] | ||
}, | ||
"files": [ | ||
@@ -49,14 +52,19 @@ "dist", | ||
"devDependencies": { | ||
"babel-eslint": "^10.0.3", | ||
"@commitlint/cli": "^8.2.0", | ||
"@commitlint/config-angular": "^8.2.0", | ||
"@typescript-eslint/eslint-plugin": "2.x", | ||
"@typescript-eslint/parser": "2.x", | ||
"babel-eslint": "10.x", | ||
"docz-plugin-splash": "^1.0.1", | ||
"eslint": "^6.6.0", | ||
"eslint-config-airbnb": "^18.0.1", | ||
"eslint": "6.x", | ||
"eslint-config-prettier": "^6.5.0", | ||
"eslint-config-react-app": "^5.1.0", | ||
"eslint-plugin-babel": "^5.3.0", | ||
"eslint-plugin-import": "^2.18.2", | ||
"eslint-plugin-jsx-a11y": "^6.2.3", | ||
"eslint-plugin-flowtype": "4.5.2", | ||
"eslint-plugin-import": "2.x", | ||
"eslint-plugin-jsx-a11y": "6.x", | ||
"eslint-plugin-prettier": "^3.1.1", | ||
"eslint-plugin-promise": "^4.2.1", | ||
"eslint-plugin-react": "^7.16.0", | ||
"eslint-plugin-react-hooks": "^2.2.0", | ||
"eslint-plugin-react": "7.x", | ||
"eslint-plugin-react-hooks": "2.3.0", | ||
"father": "^2.24.1", | ||
@@ -72,10 +80,10 @@ "husky": "^3.0.9", | ||
"lodash": ">=4.0.0", | ||
"react": ">=16.8.0", | ||
"prop-types": ">=15.7.0" | ||
"prop-types": ">=15.7.0", | ||
"react": ">=16.8.0" | ||
}, | ||
"dependencies": { | ||
"lodash": "^4.17.15", | ||
"react": "^16.10.2", | ||
"prop-types": "^15.7.2" | ||
"prop-types": "^15.7.2", | ||
"react": "^16.10.2" | ||
} | ||
} |
@@ -1,3 +0,3 @@ | ||
export { default as createListenResize } from './createListenResize' | ||
export { default as createWithListenResize } from './createWithListenResize' | ||
export { default as useListenResize } from './hooks' | ||
export { createListenResize } from './createListenResize' | ||
export { createWithListenResize } from './createWithListenResize' | ||
export { useListenResize } from './hooks' |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
111088
24