package.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. {
  2. "name": "vite-plugin-pwa",
  3. "version": "0.14.0",
  4. "packageManager": "pnpm@7.18.1",
  5. "description": "Zero-config PWA for Vite",
  6. "author": "antfu <anthonyfu117@hotmail.com>",
  7. "license": "MIT",
  8. "funding": "https://github.com/sponsors/antfu",
  9. "homepage": "https://github.com/antfu/vite-plugin-pwa",
  10. "repository": {
  11. "type": "git",
  12. "url": "https://github.com/antfu/vite-plugin-pwa"
  13. },
  14. "bugs": "https://github.com/antfu/vite-plugin-pwa/issues",
  15. "keywords": [
  16. "react",
  17. "pwa",
  18. "vue",
  19. "vitepress",
  20. "preact",
  21. "svelte",
  22. "sveltekit",
  23. "workbox",
  24. "solidjs",
  25. "vite",
  26. "vite-plugin"
  27. ],
  28. "exports": {
  29. ".": {
  30. "types": "./dist/index.d.ts",
  31. "require": "./dist/index.js",
  32. "import": "./dist/index.mjs"
  33. },
  34. "./*": "./*"
  35. },
  36. "main": "dist/index.js",
  37. "module": "dist/index.mjs",
  38. "types": "index.d.ts",
  39. "typesVersions": {
  40. "*": {
  41. "*": [
  42. "./dist/*",
  43. "./*"
  44. ]
  45. }
  46. },
  47. "files": [
  48. "dist",
  49. "*.d.ts"
  50. ],
  51. "scripts": {
  52. "docs": "npm -C docs run dev",
  53. "docs:build": "npm -C docs run build",
  54. "docs:serve": "npm -C docs run serve",
  55. "docs:preview": "npm -C docs run preview",
  56. "lint": "eslint .",
  57. "lint-fix": "nr lint --fix",
  58. "dev": "esno scripts/dev.ts",
  59. "build": "esno scripts/build.ts",
  60. "prepublishOnly": "npm run build",
  61. "release": "npx bumpp --push --tag --commit && npm publish",
  62. "examples": "esno scripts/run-examples.ts",
  63. "example:vue:dev:cdn": "npm -C examples/vue-basic-cdn run dev",
  64. "example:vue:build:cdn": "npm -C examples/vue-basic-cdn run build",
  65. "example:vue:start:cdn": "npm -C examples/vue-basic-cdn run start"
  66. },
  67. "peerDependencies": {
  68. "vite": "^3.1.0 || ^4.0.0",
  69. "workbox-build": "^6.5.4",
  70. "workbox-window": "^6.5.4"
  71. },
  72. "dependencies": {
  73. "debug": "^4.3.4",
  74. "fast-glob": "^3.2.12",
  75. "pretty-bytes": "^6.0.0",
  76. "rollup": "^3.7.2",
  77. "@rollup/plugin-replace": "^5.0.1",
  78. "workbox-build": "^6.5.4",
  79. "workbox-window": "^6.5.4"
  80. },
  81. "devDependencies": {
  82. "@antfu/eslint-config": "^0.33.1",
  83. "@antfu/ni": "^0.18.8",
  84. "@types/debug": "^4.1.7",
  85. "@types/node": "^18.11.12",
  86. "@types/prompts": "^2.4.2",
  87. "@types/react": "^18.0.26",
  88. "@types/workbox-build": "^5.0.1",
  89. "@typescript-eslint/eslint-plugin": "^5.46.0",
  90. "eslint": "^8.29.0",
  91. "esno": "0.16.3",
  92. "kolorist": "^1.6.0",
  93. "preact": "^10.11.3",
  94. "prompts": "^2.4.2",
  95. "react": "^18.2.0",
  96. "rollup": "^3.7.2",
  97. "solid-js": "^1.6.4",
  98. "svelte": "^3.54.0",
  99. "tsup": "^6.2.3",
  100. "typescript": "^4.9.4",
  101. "vite": "^4.0.0",
  102. "vue": "^3.2.45"
  103. }
  104. }