-
Notifications
You must be signed in to change notification settings - Fork 181
/
Copy pathpackage.json
67 lines (67 loc) · 1.86 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
{
"name": "electron-vite-monorepo",
"version": "0.0.0",
"private": false,
"packageManager": "[email protected]",
"author": {
"name": "buqiyuan",
"email": "[email protected]",
"url": "https://github.com/buqiyuan"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/buqiyuan/electron-vite-monorepo.git"
},
"engines": {
"pnpm": ">=9.0.0",
"node": ">=18.0.0"
},
"scripts": {
"dev": "tsx scripts/watch.ts",
"dev:watch": "tsx scripts/watch.ts --watch",
"dev:pkg": "pnpm -F \"./packages/**\" dev",
"build:pkg": "pnpm -F \"./packages/**\" build",
"build": "turbo run build",
"dev:p": "turbo run dev --parallel",
"compile": "pnpm build && turbo run compile",
"pack:dev": "pnpm run build && pnpm -F electron-main run pack:dev",
"pack:prod": "pnpm run build && pnpm -F electron-main run pack:prod",
"postinstall": "npm run build:pkg",
"lint": "turbo run lint",
"lint:fix": "eslint . --fix",
"clean:cache": "npx rimraf node_modules/.cache/ && npx rimraf node_modules/.vite",
"clean:lib": "npx rimraf --glob node_modules **/node_modules",
"reinstall": "npx rimraf pnpm-lock.yaml && pnpm clean:lib"
},
"devDependencies": {
"@antfu/eslint-config": "^3.13.0",
"@dotenvx/dotenvx": "^1.32.1",
"@types/node": "^22.10.5",
"@unocss/eslint-plugin": "^65.4.0",
"cross-env": "^7.0.3",
"eslint": "9.17.0",
"eslint-plugin-format": "^1.0.1",
"lint-staged": "^15.3.0",
"prettier": "^3.4.2",
"rimraf": "6.0.1",
"simple-git-hooks": "^2.11.1",
"tsx": "^4.19.2",
"turbo": "^2.3.3",
"vite": "^6.0.7"
},
"pnpm": {
"peerDependencyRules": {
"allowedVersions": {
"eslint": "*"
}
},
"overrides": {}
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*": "eslint --fix"
}
}