UNPKG

pinia-plugin-persistedstate-2

Version:

Persist and rehydrate your Pinia state between page reloads

77 lines (76 loc) 1.91 kB
{ "name": "pinia-plugin-persistedstate-2", "version": "2.0.30", "sideEffects": false, "description": "Persist and rehydrate your Pinia state between page reloads", "type": "module", "files": [ "dist" ], "main": "./dist/index.umd.cjs", "module": "./dist/index.js", "exports": { ".": { "import": "./dist/index.js", "require": "./dist/index.umd.cjs" } }, "types": "dist/index.d.ts", "repository": { "type": "git", "url": "git+https://github.com/soc221b/pinia-plugin-persistedstate-2.git" }, "bugs": { "url": "https://github.com/soc221b/pinia-plugin-persistedstate-2/issues" }, "homepage": "https://github.com/soc221b/pinia-plugin-persistedstate-2#readme", "author": "Ernest <soc221b.e@gmail.com>", "license": "MIT", "keywords": [ "vue", "pinia", "plugin", "persist", "rehydrate", "async", "localforage" ], "scripts": { "build": "tsc && vite build", "check-size": "size-limit", "lint": "prettier --check .", "lint:fix": "prettier --write .", "prepare": "husky install", "test": "jest --watch", "test:run": "jest" }, "dependencies": { "shvl": "3.0.0" }, "peerDependencies": { "pinia": "^2.3.0 || ^3.0.0" }, "devDependencies": { "@babel/core": "7.26.10", "@babel/preset-env": "7.26.9", "@commitlint/cli": "19.8.0", "@commitlint/config-conventional": "19.8.0", "@size-limit/preset-small-lib": "11.2.0", "@types/jest": "29.5.14", "@types/node": "22.13.11", "@vue/test-utils": "2.4.6", "change-case": "5.4.4", "husky": "9.1.7", "jest": "29.7.0", "jest-environment-jsdom": "29.7.0", "pinia": "3.0.1", "prettier": "3.5.3", "rimraf": "6.0.1", "size-limit": "11.2.0", "ts-jest": "29.2.6", "typescript": "5.8.2", "vite": "6.2.2", "vite-plugin-dts": "4.5.3", "vue": "3.5.13" } }