package.json 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. {
  2. "name": "vite-plugin-full-reload",
  3. "description": "Reload the page when files are modified",
  4. "version": "1.2.0",
  5. "license": "MIT",
  6. "author": "Máximo Mussini <maximomussini@gmail.com>",
  7. "repository": {
  8. "type": "git",
  9. "url": "https://github.com/ElMassimo/vite-plugin-full-reload"
  10. },
  11. "homepage": "https://github.com/ElMassimo/vite-plugin-full-reload",
  12. "bugs": "https://github.com/ElMassimo/vite-plugin-full-reload/issues",
  13. "files": [
  14. "dist"
  15. ],
  16. "type": "module",
  17. "main": "./dist/index.cjs",
  18. "module": "./dist/index.js",
  19. "types": "./dist/index.d.ts",
  20. "exports": {
  21. ".": {
  22. "require": "./dist/index.cjs",
  23. "import": "./dist/index.js",
  24. "types": "./dist/index.d.ts"
  25. }
  26. },
  27. "keywords": [
  28. "vite",
  29. "plugin",
  30. "vite-plugin",
  31. "vitejs",
  32. "full",
  33. "reload"
  34. ],
  35. "dependencies": {
  36. "picocolors": "^1.0.0",
  37. "picomatch": "^2.3.1"
  38. },
  39. "devDependencies": {
  40. "@antfu/eslint-config": "*",
  41. "@types/cross-spawn": "^6.0.2",
  42. "@types/node": "^18",
  43. "@types/picomatch": "^2.3.0",
  44. "conventional-changelog-cli": "^2.2.2",
  45. "cross-spawn": "^7.0.3",
  46. "enquirer": "^2.3.6",
  47. "eslint": "^8.20.0",
  48. "husky": "^5.2.0",
  49. "lint-staged": "^10.5.4",
  50. "minimist": "^1.2.6",
  51. "pinst": "^2.1.6",
  52. "rollup": "^4.2",
  53. "semver": "^7.3.7",
  54. "tsup": "^7.2",
  55. "typescript": "^4.7.4",
  56. "vite": "^5.0.0",
  57. "vitest": "^0.34"
  58. },
  59. "lint-staged": {
  60. "*.{js,ts,tsx,jsx,vue}": [
  61. "eslint --fix"
  62. ]
  63. },
  64. "eslintConfig": {
  65. "extends": [
  66. "@antfu/eslint-config"
  67. ],
  68. "rules": {
  69. "@typescript-eslint/space-before-function-paren": [
  70. "warn",
  71. "always"
  72. ]
  73. }
  74. },
  75. "scripts": {
  76. "clean": "rm -rf ./dist",
  77. "dev": "npm run build -- --watch",
  78. "build": "tsup src/index.ts --dts --format cjs,esm --clean",
  79. "lint": "eslint . --ext .ts,.js,.vue",
  80. "_postinstall": "husky install",
  81. "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
  82. "release": "node scripts/release.cjs",
  83. "test": "vitest"
  84. }
  85. }