pinia-plugin-state-persistence
Version:
Pinia plugin for universal state persistence across synchronous and asynchronous storage systems, supporting advanced features like path inclusion/exclusion and custom serialization.
76 lines (75 loc) • 2.19 kB
JSON
{
"name": "pinia-plugin-state-persistence",
"type": "module",
"version": "1.10.3",
"description": "Pinia plugin for universal state persistence across synchronous and asynchronous storage systems, supporting advanced features like path inclusion/exclusion and custom serialization.",
"author": "Stephen Jason Wang",
"license": "MIT",
"repository": "https://github.com/stephenjason89/pinia-plugin-state-persistence",
"keywords": [
"pinia",
"pinia-plugin",
"state-management",
"persistence",
"store",
"storage",
"nuxt",
"nuxt-module",
"localforage",
"pinia-plugin-persistedstate"
],
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"test": "bun test",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:deploy": "bash ./deploy.sh",
"docs:preview": "vitepress preview docs",
"build:esm": "tsc",
"build:cjs": "tsc --project tsconfig.cjs.json",
"build": "npm run build:esm && npm run build:cjs",
"watch": "tsc --watch",
"prepublishOnly": "npm run build",
"prepare": "husky",
"commitlint": "commitlint --edit"
},
"peerDependencies": {
"pinia": "^2.3.0 || ^3.0.0"
},
"devDependencies": {
"@antfu/eslint-config": "^3.12.1",
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^13.0.0",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^11.0.1",
"@semantic-release/npm": "^12.0.1",
"@semantic-release/release-notes-generator": "^14.0.2",
"@shikijs/vitepress-twoslash": "^1.24.4",
"@types/bun": "^1.1.14",
"conventional-changelog-conventionalcommits": "^8.0.0",
"cookie-universal": "^2.2.2",
"eslint": "^9.17.0",
"husky": "^9.1.7",
"lint-staged": "^15.2.11",
"vitepress": "^1.5.0",
"vitepress-plugin-group-icons": "^1.3.2"
},
"lint-staged": {
"*.{js,cjs,mjs,ts,jsx,json,json5,tsx,vue,md}": "eslint --fix"
}
}