Comparing version 0.0.0 to 0.3.0
{ | ||
"name": "rc-hooks", | ||
"version": "0.0.0", | ||
"description": "开发中", | ||
"main": "index.js", | ||
"version": "0.3.0", | ||
"description": "React Hooks Library.", | ||
"main": "lib/index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"build": "rm -rf lib && babel src --out-dir lib --ignore 'src/**/demo/**/*'" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/doly-dev/rc-hooks.git" | ||
}, | ||
"keywords": [ | ||
@@ -14,3 +19,51 @@ "react", | ||
"author": "caijf", | ||
"license": "MIT" | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/doly-dev/hooks/issues" | ||
}, | ||
"homepage": "https://github.com/doly-dev/hooks#readme", | ||
"dependencies": { | ||
"lodash.debounce": "^4.0.8", | ||
"lodash.throttle": "^4.1.1" | ||
}, | ||
"devDependencies": { | ||
"@babel/cli": "^7.8.4", | ||
"@babel/core": "^7.9.0", | ||
"@babel/preset-env": "^7.9.0", | ||
"@babel/preset-react": "^7.9.1", | ||
"@babel/plugin-transform-modules-umd": "^7.9.0", | ||
"chai": "^4.2.0", | ||
"mocha": "^7.1.1" | ||
}, | ||
"peerDependencies": { | ||
"react": "^16.8.6" | ||
}, | ||
"babel": { | ||
"presets": [ | ||
[ | ||
"@babel/env", | ||
{ | ||
"targets": [ | ||
"> 1%", | ||
"last 4 versions", | ||
"Firefox ESR", | ||
"not ie < 9" | ||
] | ||
} | ||
], | ||
"@babel/react" | ||
], | ||
"plugins": [ | ||
[ | ||
"@babel/transform-modules-umd", | ||
{ | ||
"globals": { | ||
"react": "React", | ||
"index": "rcHooks" | ||
}, | ||
"exactGlobals": true | ||
} | ||
] | ||
] | ||
} | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
36752
14
696
0
2
1
227
0
3
7
+ Addedlodash.debounce@^4.0.8
+ Addedlodash.throttle@^4.1.1
+ Addedjs-tokens@4.0.0(transitive)
+ Addedlodash.debounce@4.0.8(transitive)
+ Addedlodash.throttle@4.1.1(transitive)
+ Addedloose-envify@1.4.0(transitive)
+ Addedobject-assign@4.1.1(transitive)
+ Addedprop-types@15.8.1(transitive)
+ Addedreact@16.14.0(transitive)
+ Addedreact-is@16.13.1(transitive)