package.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. {
  2. "name": "vuex-persistedstate",
  3. "description": "Persist and rehydrate your Vuex state between page reloads.",
  4. "version": "4.1.0",
  5. "license": "MIT",
  6. "author": "Robin van der Vleuten <robin@webstronauts.co> (robinvdvleuten.nl)",
  7. "keywords": [
  8. "vue",
  9. "vuex",
  10. "plugin"
  11. ],
  12. "homepage": "https://github.com/robinvdvleuten/vuex-persistedstate#readme",
  13. "repository": "robinvdvleuten/vuex-persistedstate",
  14. "bugs": {
  15. "url": "https://github.com/robinvdvleuten/vuex-persistedstate/issues"
  16. },
  17. "source": "src/index.ts",
  18. "main": "dist/vuex-persistedstate.js",
  19. "module": "dist/vuex-persistedstate.es.js",
  20. "unpkg": "dist/vuex-persistedstate.umd.js",
  21. "types": "dist/index.d.ts",
  22. "files": [
  23. "dist",
  24. "src"
  25. ],
  26. "scripts": {
  27. "build": "rimraf dist && microbundle --external all --name createPersistedState",
  28. "prepare": "npm run build",
  29. "test": "npm-run-all test:**",
  30. "test:jest": "jest --env=jsdom",
  31. "test:size": "bundlesize"
  32. },
  33. "babel": {
  34. "presets": [
  35. "@babel/preset-env"
  36. ]
  37. },
  38. "bundlesize": [
  39. {
  40. "path": "./dist/*.js",
  41. "threshold": "800b"
  42. }
  43. ],
  44. "husky": {
  45. "hooks": {
  46. "pre-commit": "npm run build && pretty-quick --staged"
  47. }
  48. },
  49. "jest": {
  50. "testURL": "http://localhost/"
  51. },
  52. "dependencies": {
  53. "deepmerge": "^4.2.2",
  54. "shvl": "^2.0.3"
  55. },
  56. "devDependencies": {
  57. "@babel/core": "^7.12.10",
  58. "@babel/preset-env": "^7.12.11",
  59. "all-contributors-cli": "^6.19.0",
  60. "babel-core": "^7.0.0-bridge.0",
  61. "babel-jest": "^27.0.2",
  62. "bundlesize": "^0.18.1",
  63. "dom-storage": "^2.0.2",
  64. "eslint": "^7.17.0",
  65. "husky": "^7.0.0",
  66. "jest": "^27.0.6",
  67. "microbundle": "^0.13.0",
  68. "npm-run-all": "^4.1.2",
  69. "prettier": "^2.2.1",
  70. "pretty-quick": "^3.1.0",
  71. "rimraf": "^3.0.0",
  72. "vue": "^3.0.0",
  73. "vuex": "^4.0.0-rc"
  74. },
  75. "peerDependencies": {
  76. "vuex": "^3.0 || ^4.0.0-rc"
  77. }
  78. }