-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
54 lines (54 loc) · 1.56 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
{
"name": "@electron-toolkit/monorepo",
"version": "1.0.0",
"private": true,
"description": "Electron toolkit",
"license": "MIT",
"author": "Alex Wei<https://github.com/alex8088>",
"scripts": {
"preinstall": "npx only-allow pnpm",
"format": "prettier --write .",
"lint": "eslint --ext .ts packages/*/src/**",
"typecheck": "tsc --noEmit",
"build:preload": "pnpm run -C packages/preload build",
"build:ipc": "pnpm run -C packages/typed-ipc build",
"build:utils": "pnpm run -C packages/utils build",
"dev": "pnpm run -C packages/playground start"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged",
"commit-msg": "node scripts/verifyCommit.js $1"
},
"lint-staged": {
"*.js": [
"prettier --write"
],
"*.ts?(x)": [
"eslint",
"prettier --parser=typescript --write"
]
},
"devDependencies": {
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-typescript": "^11.1.6",
"@types/node": "^18.19.29",
"@typescript-eslint/eslint-plugin": "^7.5.0",
"@typescript-eslint/parser": "^7.5.0",
"electron": "^28.2.10",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"lint-staged": "^15.2.2",
"picocolors": "^1.0.0",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"rollup": "^4.21.0",
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-rm": "^1.0.2",
"simple-git-hooks": "^2.11.1",
"tslib": "^2.6.2",
"typescript": "^5.4.3",
"unbuild": "^2.0.0"
}
}