Socket
Socket
Sign inDemoInstall

use-persisted-state

Package Overview
Dependencies
6
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.0 to 0.1.0

dist/use-persisted-state.js

63

package.json
{
"name": "use-persisted-state",
"version": "0.0.0",
"description": "",
"main": "index.js",
"version": "0.1.0",
"description": "A custom React Hook thst provides a multi-instance, multi-tab/browser shared and persistent state.",
"main": "dist/use-persisted-state.js",
"umd:main": "dist/use-persisted-state.umd.js",
"module": "dist/use-persisted-state.m.js",
"source": "src/index.js",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/donavon/use-persisted-state.git"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"prepublishOnly": "npm run build",
"lint": "eslint src",
"test": "jest --verbose --coverage --silent",
"test:watch": "jest --watch --runInBand --silent",
"prebuild": "npm run lint && npm t && rimraf dist",
"build": "microbundle -o dist/ --sourcemap false --target web",
"dev": "microbundle watch -o dist/ --sourcemap false --compress false"
},
"author": "",
"license": "MIT"
"keywords": [
"react-hooks",
"hooks",
"react",
"utils",
"lib",
"persistent",
"localstorage"
],
"author": "donavon",
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/preset-env": "^7.2.3",
"@babel/preset-react": "^7.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^23.6.0",
"eslint": "^5.10.0",
"eslint-config-amex": "^9.0.0",
"jest": "^23.6.0",
"jest-dom": "^3.0.0",
"microbundle": "^0.9.0",
"react": "^16.8.0",
"react-dom": "^16.8.0",
"react-testing-library": "^5.5.0",
"rimraf": "^2.6.2"
},
"peerDependencies": {
"react": "^16.8.0"
},
"jest": {
"coverageThreshold": {
"global": {
"branches": 0,
"functions": 0,
"lines": 0,
"statements": 0
}
}
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc