UNPKG

create-ls

Version:

A simple state manager for local storage in React applications.

73 lines (72 loc) 1.85 kB
{ "name": "create-ls", "displayName": "Create React Local Storage State", "version": "1.2.2", "description": "A simple state manager for local storage in React applications.", "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "license": "MIT", "author": { "name": "JP.Coffee", "url": "https://jp.coffee" }, "repository": { "type": "git", "url": "git+https://github.com/jp-coffee/create-ls.git" }, "bugs": { "url": "https://github.com/jp-coffee/create-ls/issues" }, "homepage": "https://github.com/jp-coffee/create-ls#readme", "keywords": [ "react", "local-storage", "state-management", "hooks", "persistent-state", "cross-tab-sync", "real-time-sync" ], "files": [ "dist" ], "exports": { ".": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } }, "scripts": { "build": "npm run prebuild && tsc", "clean": "rimraf dist", "lint": "eslint .", "lint:fix": "eslint . --ext .ts,.tsx --fix", "prebuild": "npm run clean", "test": "vitest run", "test:watch": "vitest --watch", "typecheck": "tsc --noEmit", "verify-provenance": "./scripts/verify-provenance.sh" }, "devDependencies": { "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.2.0", "@types/react": "^19.0.12", "@typescript-eslint/eslint-plugin": "^8.28.0", "@typescript-eslint/parser": "^8.28.0", "@vitejs/plugin-react": "^4.3.4", "eslint": "^9.23.0", "eslint-plugin-import": "^2.31.0", "eslint-plugin-react": "^7.37.4", "eslint-plugin-react-hooks": "^5.2.0", "jsdom": "^26.0.0", "rimraf": "^6.0.1", "typescript": "^5.8.2", "vite": "^6.2.3", "vitest": "^3.0.9" }, "peerDependencies": { "react": "^19.0.0" } }