package.json 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {
  2. "name": "vite-plugin-html",
  3. "version": "3.2.0",
  4. "description": "A plugin for vite to Minimize index.html and use lodash.template template syntax in index.html",
  5. "main": "dist/index.cjs",
  6. "module": "dist/index.mjs",
  7. "types": "dist/index.d.ts",
  8. "exports": {
  9. ".": {
  10. "require": "./dist/index.cjs",
  11. "import": "./dist/index.mjs",
  12. "types": "./dist/index.d.ts"
  13. }
  14. },
  15. "files": [
  16. "dist",
  17. "CHANGELOG.md",
  18. "README.md",
  19. "README.zh_CN.md"
  20. ],
  21. "keywords": [
  22. "vite",
  23. "html",
  24. "minify",
  25. "vite-plugin"
  26. ],
  27. "author": "Vben",
  28. "license": "MIT",
  29. "repository": {
  30. "type": "git",
  31. "url": "https://github.com/vbenjs/vite-plugin-html",
  32. "directory": "packages/core"
  33. },
  34. "bugs": {
  35. "url": "https://github.com/vbenjs/vite-plugin-html/issues"
  36. },
  37. "homepage": "https://github.com/vbenjs/vite-plugin-html/tree/master/#readme",
  38. "dependencies": {
  39. "@rollup/pluginutils": "^4.2.0",
  40. "colorette": "^2.0.16",
  41. "connect-history-api-fallback": "^1.6.0",
  42. "consola": "^2.15.3",
  43. "dotenv": "^16.0.0",
  44. "dotenv-expand": "^8.0.2",
  45. "ejs": "^3.1.6",
  46. "fast-glob": "^3.2.11",
  47. "fs-extra": "^10.0.1",
  48. "html-minifier-terser": "^6.1.0",
  49. "node-html-parser": "^5.3.3",
  50. "pathe": "^0.2.0"
  51. },
  52. "peerDependencies": {
  53. "vite": ">=2.0.0"
  54. },
  55. "devDependencies": {
  56. "@babel/types": "^7.17.0",
  57. "@types/ejs": "^3.1.0",
  58. "@types/fs-extra": "^9.0.13",
  59. "@types/html-minifier-terser": "^6.1.0",
  60. "@types/node": "^17.0.21",
  61. "typescript": "^4.6.2",
  62. "vite": "^2.8.6"
  63. },
  64. "scripts": {
  65. "dev": "pnpm unbuild --stub",
  66. "build": "pnpm unbuild"
  67. }
  68. }