@nkey-ui/use-local-storage
Version:
A React hook for handling data in local storage.
54 lines • 1.24 kB
JSON
{
"name": "@nkey-ui/use-local-storage",
"version": "1.2.0",
"description": "A React hook for handling data in local storage.",
"keywords": [
"use-local-storage"
],
"author": "Raul Semicek Coelho <raul.coelho@nkey.com.br>",
"main": "dist/index.js",
"sideEffects": false,
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/raulcoelho-nkey/nkey-ui.git",
"directory": "packages/hooks/use-local-storage"
},
"peerDependencies": {
"react": ">=18"
},
"dependencies": {
"@nkey-ui/shared-utils": "1.2.0"
},
"clean-package": "../../../clean-package.config.json",
"tsup": {
"clean": true,
"target": "es2019",
"format": [
"cjs",
"esm"
]
},
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./package.json": "./package.json"
},
"scripts": {
"build": "tsup src --dts",
"dev": "yarn build:fast -- --watch",
"clean": "rimraf dist .turbo",
"typecheck": "tsc --noEmit",
"build:fast": "tsup src"
}
}