@dromon/electron-vite 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,119 @@
1
+ {
2
+ "name": "@dromon/electron-vite",
3
+ "version": "5.0.0",
4
+ "description": "Electron build tooling based on Vite",
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "exports": {
9
+ ".": "./dist/index.js",
10
+ "./node": {
11
+ "types": "./node.d.ts"
12
+ },
13
+ "./package.json": "./package.json"
14
+ },
15
+ "bin": {
16
+ "electron-vite": "bin/electron-vite.js"
17
+ },
18
+ "files": [
19
+ "bin",
20
+ "dist",
21
+ "node.d.ts"
22
+ ],
23
+ "engines": {
24
+ "node": "^20.19.0 || >=22.12.0"
25
+ },
26
+ "packageManager": "pnpm@10.12.4",
27
+ "author": "Alex Wei<https://github.com/alex8088>",
28
+ "license": "MIT",
29
+ "repository": {
30
+ "type": "git",
31
+ "url": "git+https://github.com/alex8088/electron-vite.git"
32
+ },
33
+ "bugs": {
34
+ "url": "https://github.com/alex8088/electron-vite/issues"
35
+ },
36
+ "homepage": "https://electron-vite.org",
37
+ "keywords": [
38
+ "electron",
39
+ "vite",
40
+ "cli",
41
+ "plugin"
42
+ ],
43
+ "scripts": {
44
+ "format": "prettier --write .",
45
+ "lint": "eslint --cache .",
46
+ "typecheck": "tsc --noEmit",
47
+ "build": "pnpm run lint && rollup -c rollup.config.ts --configPlugin typescript",
48
+ "test:e2e": "vitest run tests/e2e.spec.ts"
49
+ },
50
+ "pnpm": {
51
+ "onlyBuiltDependencies": [
52
+ "electron",
53
+ "esbuild",
54
+ "simple-git-hooks"
55
+ ]
56
+ },
57
+ "simple-git-hooks": {
58
+ "pre-commit": "npx lint-staged",
59
+ "commit-msg": "node scripts/verifyCommit.js $1"
60
+ },
61
+ "lint-staged": {
62
+ "*.js": [
63
+ "prettier --write"
64
+ ],
65
+ "*.ts?(x)": [
66
+ "eslint",
67
+ "prettier --parser=typescript --write"
68
+ ]
69
+ },
70
+ "peerDependencies": {
71
+ "@swc/core": "^1.0.0",
72
+ "vite": "^8.0.0"
73
+ },
74
+ "peerDependenciesMeta": {
75
+ "@swc/core": {
76
+ "optional": true
77
+ }
78
+ },
79
+ "devDependencies": {
80
+ "@eslint/js": "^10.0.1",
81
+ "@playwright/test": "^1.59.1",
82
+ "@rollup/plugin-json": "^6.1.0",
83
+ "@rollup/plugin-node-resolve": "^16.0.3",
84
+ "@rollup/plugin-typescript": "^12.3.0",
85
+ "@swc/core": "^1.15.21",
86
+ "@types/babel__core": "^7.20.5",
87
+ "@types/node": "^22.19.15",
88
+ "electron": "^41.2.0",
89
+ "eslint": "^10.1.0",
90
+ "eslint-config-prettier": "^10.1.8",
91
+ "eslint-plugin-prettier": "^5.5.5",
92
+ "execa": "^9.6.1",
93
+ "globals": "^17.4.0",
94
+ "lint-staged": "^16.4.0",
95
+ "prettier": "^3.8.1",
96
+ "rollup": "^4.60.0",
97
+ "rollup-plugin-dts": "^6.4.1",
98
+ "rollup-plugin-rm": "^1.0.2",
99
+ "simple-git-hooks": "^2.13.1",
100
+ "tslib": "^2.8.1",
101
+ "typescript": "^5.9.3",
102
+ "typescript-eslint": "^8.57.2",
103
+ "vite": "^8.0.0",
104
+ "vitest": "^4.1.4"
105
+ },
106
+ "dependencies": {
107
+ "@babel/core": "^7.29.0",
108
+ "@babel/plugin-transform-arrow-functions": "^7.27.1",
109
+ "cac": "^7.0.0",
110
+ "magic-string": "^0.30.21",
111
+ "picocolors": "^1.1.1"
112
+ },
113
+ "pnpm": {
114
+ "onlyBuiltDependencies": [
115
+ "@swc/core",
116
+ "simple-git-hooks"
117
+ ]
118
+ }
119
+ }