package.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. {
  2. "name": "pinia-plugin-persistedstate",
  3. "type": "module",
  4. "version": "4.3.0",
  5. "packageManager": "pnpm@10.10.0",
  6. "description": "Configurable persistence and rehydration of Pinia stores.",
  7. "author": "Sacha Bouillez <hi@praz.dev> (https://praz.dev)",
  8. "license": "MIT",
  9. "homepage": "https://prazdevs.github.io/pinia-plugin-persistedstate",
  10. "repository": {
  11. "type": "git",
  12. "url": "git+https://github.com/prazdevs/pinia-plugin-persistedstate.git"
  13. },
  14. "sponsor": {
  15. "url": "https://github.com/sponsors/prazdevs"
  16. },
  17. "bugs": {
  18. "url": "https://github.com/prazdevs/pinia-plugin-persistedstate/issues"
  19. },
  20. "keywords": [
  21. "vue",
  22. "store",
  23. "pinia",
  24. "persistence",
  25. "pinia-plugin",
  26. "nuxt",
  27. "nuxt-module"
  28. ],
  29. "exports": {
  30. ".": {
  31. "import": {
  32. "types": "./dist/index.d.ts",
  33. "default": "./dist/index.js"
  34. },
  35. "require": {
  36. "types": "./dist/index.d.cts",
  37. "default": "./dist/index.cjs"
  38. }
  39. },
  40. "./nuxt": {
  41. "import": {
  42. "types": "./dist/nuxt/types.d.mts",
  43. "default": "./dist/nuxt/module.mjs"
  44. }
  45. }
  46. },
  47. "main": "./dist/index.js",
  48. "types": "./dist/index.d.ts",
  49. "files": [
  50. "dist"
  51. ],
  52. "scripts": {
  53. "build": "pnpm build:plugin && pnpm build:umd && pnpm build:module",
  54. "build:plugin": "tsup src/index.ts --dts --format esm,cjs",
  55. "build:module": "nuxt-module-build build --outDir dist/nuxt",
  56. "build:umd": "rollup -c rollup.config.js",
  57. "dev": "nuxi dev playground",
  58. "dev:build": "nuxi build playground",
  59. "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
  60. "release": "changelogen --release --push",
  61. "docs": "vitepress dev docs",
  62. "docs:build": "vitepress build docs",
  63. "docs:preview": "vitepress preview docs",
  64. "lint": "eslint .",
  65. "lint:fix": "eslint . --fix",
  66. "publint": "publint",
  67. "typecheck": "nuxi typecheck"
  68. },
  69. "peerDependencies": {
  70. "@pinia/nuxt": ">=0.10.0",
  71. "pinia": ">=3.0.0"
  72. },
  73. "peerDependenciesMeta": {
  74. "@pinia/nuxt": {
  75. "optional": true
  76. },
  77. "pinia": {
  78. "optional": true
  79. }
  80. },
  81. "dependencies": {
  82. "@nuxt/kit": "^3.17.2",
  83. "deep-pick-omit": "^1.2.1",
  84. "defu": "^6.1.4",
  85. "destr": "^2.0.5"
  86. },
  87. "devDependencies": {
  88. "@antfu/eslint-config": "^4.13.0",
  89. "@iconify-json/catppuccin": "^1.2.11",
  90. "@nuxt/devtools": "^2.4.0",
  91. "@nuxt/module-builder": "^1.0.1",
  92. "@nuxt/schema": "^3.17.2",
  93. "@nuxt/test-utils": "^3.18.0",
  94. "@pinia/nuxt": "^0.11.0",
  95. "@rollup/plugin-node-resolve": "^16.0.1",
  96. "@shikijs/vitepress-twoslash": "^3.4.0",
  97. "@types/node": "^22.15.17",
  98. "changelogen": "^0.6.1",
  99. "esbuild": "^0.25.4",
  100. "eslint": "^9.26.0",
  101. "eslint-plugin-format": "^1.0.1",
  102. "lint-staged": "^16.0.0",
  103. "nuxt": "^3.17.2",
  104. "pinia": "^3.0.2",
  105. "pinia-plugin-persistedstate": "link:",
  106. "publint": "^0.3.12",
  107. "rollup": "^4.40.2",
  108. "rollup-plugin-esbuild": "^6.2.1",
  109. "simple-git-hooks": "^2.13.0",
  110. "tsup": "^8.4.0",
  111. "typescript": "~5.8.3",
  112. "vitepress": "^1.6.3",
  113. "vitepress-plugin-group-icons": "^1.5.2",
  114. "vue": "^3.5.13",
  115. "vue-tsc": "^2.2.10"
  116. },
  117. "simple-git-hooks": {
  118. "pre-commit": "pnpm lint-staged"
  119. },
  120. "lint-staged": {
  121. "*": "eslint --fix"
  122. }
  123. }