UNPKG

persist-ui

Version:

Universal input persistence for Vanilla, React, Vue, Astro, Next.js etc. with secure AES encryption.

73 lines (71 loc) 1.7 kB
{ "name": "persist-ui", "version": "1.1.2", "description": "Universal input persistence for Vanilla, React, Vue, Astro, Next.js etc. with secure AES encryption.", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "unpkg": "dist/umd/persist-ui.js", "types": "dist/index.d.ts", "exports": { ".": { "import": "./dist/esm/index.js", "require": "./dist/cjs/index.js" }, "./react": "./dist/react.js", "./vue": "./dist/vue.js" }, "files": [ "dist", "src" ], "scripts": { "build": "tsc && npm run build:esm && npm run build:cjs && npm run build:umd", "build:esm": "tsc --module ESNext --outDir dist/esm", "build:cjs": "tsc --module CommonJS --outDir dist/cjs", "build:umd": "rollup -c", "test": "jest" }, "devDependencies": { "@rollup/plugin-commonjs": "^28.0.6", "@rollup/plugin-node-resolve": "^16.0.1", "@rollup/plugin-typescript": "^12.1.4", "@types/crypto-js": "^4.2.2", "@types/jest": "^30.0.0", "@types/react": "^19.1.8", "crypto-js": "^4.2.0", "jest": "^29.7.0", "jest-environment-jsdom": "^30.0.4", "rollup": "^4.13.0", "ts-jest": "^29.4.0", "typescript": "^5.4.3" }, "peerDependencies": { "react": "*", "vue": "*" }, "keywords": [ "react", "vue", "astro", "nextjs", "input", "persist", "localstorage", "universal", "hook", "encryption", "secure" ], "repository": { "type": "git", "url": "git+https://github.com/TheusHen/persist-ui.git" }, "author": "TheusHen", "license": "MIT", "publishConfig": { "access": "public" }, "dependencies": { "tslib": "^2.8.1" } }