-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
100 lines (100 loc) · 2.42 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"name": "@tomjs/vite-plugin-electron",
"version": "1.9.3",
"description": "A simple vite plugin for electron, supports esm/cjs, support esm in electron v28+",
"keywords": [
"vite",
"plugin",
"electron",
"tsup",
"esm",
"cjs"
],
"author": {
"name": "Tom Gao",
"email": "tom@tomgao.cc"
},
"license": "MIT",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": {
"default": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"import": {
"default": "./dist/index.mjs",
"types": "./dist/index.d.mts"
}
}
},
"files": [
"dist",
"env.d.ts"
],
"engines": {
"node": ">=16"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/tomjs/vite-plugin-electron.git"
},
"scripts": {
"dev": "tsup --watch",
"build": "tsup",
"lint": "run-s lint:eslint lint:stylelint lint:prettier",
"lint:eslint": "eslint \"{src,examples}/**/*.{js,cjs,ts,tsx,vue}\" *.{js,cjs,ts} --fix --cache",
"lint:stylelint": "stylelint \"examples/**/*.{css,scss,less,vue,html}\" --fix --cache",
"lint:prettier": "prettier --write .",
"prepare": "husky",
"prepublishOnly": "pnpm build"
},
"dependencies": {
"dayjs": "^1.11.12",
"kolorist": "^1.8.0",
"lodash.clonedeep": "^4.5.0",
"lodash.merge": "^4.6.2",
"shelljs": "^0.8.5",
"tree-kill": "^1.2.2",
"tsup": "7.2.0"
},
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@tomjs/commitlint": "^3.3.0",
"@tomjs/eslint": "^3.3.0",
"@tomjs/prettier": "^1.4.1",
"@tomjs/stylelint": "^2.6.1",
"@tomjs/tsconfig": "^1.7.1",
"@types/lodash.clonedeep": "^4.5.9",
"@types/lodash.merge": "^4.6.9",
"@types/node": "^18.19.42",
"@types/shelljs": "^0.8.15",
"eslint": "^8.57.0",
"husky": "^9.1.4",
"lint-staged": "^15.2.7",
"npm-run-all": "^4.1.5",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"stylelint": "^16.8.1",
"vite": "^5.3.5",
"tsx": "^4.16.5",
"typescript": "~5.5.4"
},
"peerDependencies": {
"electron": ">=12.0.0",
"electron-builder": ">=24.2.0",
"vite": ">=2.9.0"
},
"peerDependenciesMeta": {
"electron-builder": {
"optional": true
}
},
"packageManager": "pnpm@8.15.8"
}