package.json 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {
  2. "name": "vite-plugin-electron-renderer",
  3. "version": "0.14.5",
  4. "description": "Support use Node.js API in Electron-Renderer",
  5. "main": "./dist/index.js",
  6. "types": "./dist/index.d.ts",
  7. "exports": {
  8. ".": {
  9. "types": "./dist/index.d.ts",
  10. "import": "./dist/index.mjs",
  11. "require": "./dist/index.js"
  12. },
  13. "./*": "./*"
  14. },
  15. "repository": {
  16. "type": "git",
  17. "url": "git+https://github.com/electron-vite/vite-plugin-electron-renderer.git"
  18. },
  19. "author": "草鞋没号 <308487730@qq.com>",
  20. "license": "MIT",
  21. "scripts": {
  22. "dev": "vite build --watch",
  23. "build": "vite build",
  24. "types": "tsc --emitDeclarationOnly",
  25. "prepublishOnly": "npm run build && npm run test",
  26. "test": "vitest run"
  27. },
  28. "devDependencies": {
  29. "electron": "^24.3.1",
  30. "esbuild": "^0.17.19",
  31. "lib-esm": "^0.4.1",
  32. "node-fetch": "^3.3.1",
  33. "rollup": "^3.22.0",
  34. "serialport": "^11.0.0",
  35. "typescript": "^5.0.4",
  36. "vite": "^4.3.8",
  37. "vite-plugin-utils": "^0.4.1",
  38. "vitest": "^0.31.1"
  39. },
  40. "files": [
  41. "dist"
  42. ],
  43. "keywords": [
  44. "vite",
  45. "plugin",
  46. "electron",
  47. "renderer"
  48. ]
  49. }