-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
55 lines (55 loc) · 2.61 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
{
"name": "ter",
"version": "0.13.0",
"description": "A template project for developing electron application, using react and typescript.",
"main": "build/electron.js",
"homepage": "https://github.com/yifanwww/template-electron-react#readme",
"license": "MIT",
"author": "yifanwww <yifanw1101@gmail.com> (https://github.com/yifanwww)",
"bugs": {
"url": "https://github.com/yifanwww/template-electron-react/issues"
},
"private": true,
"repository": {
"type": "git",
"url": "git+https://github.com/yifanwww/template-electron-react.git"
},
"scripts": {
"build": "pnpm run build:scripts && mkdir-working && rimraf build && pnpm run --recursive --stream build",
"build:libs": "pnpm run --filter \"@ter/app-main^...\" --filter \"@ter/app-renderer^...\" --recursive --stream build",
"build:scripts": "pnpm run --filter @ter/scripts build-scripts",
"clean": "pnpm run clean:build && pnpm run clean:packages",
"clean:build": "rimraf build release",
"clean:packages": "pnpm run --recursive --no-sort clean",
"dev": "pnpm run build:scripts && mkdir-working && rimraf build && pnpm run build:libs && pnpm run dev:app",
"dev:app": "concurrently -n main,renderer \"pnpm run dev:main\" \"pnpm run dev:renderer\"",
"dev:main": "pnpm run --filter @ter/app-main dev",
"dev:renderer": "pnpm run --filter @ter/app-renderer dev",
"format": "pnpm run format:root && pnpm run format:workspaces",
"format:root": "prettier --write \"**/*.{cjs,css,html,js,jsx,mjs,json,less,scss,ts,tsx,yaml,yml}\"",
"format:workspaces": "pnpm run --recursive --no-sort --stream format",
"gen-installer": "electron-builder build --config electron-builder.json --win --publish never",
"lint": "pnpm run --recursive --no-sort --stream lint",
"lint:fix": "pnpm run --recursive --no-sort --stream lint:fix",
"pre-commit": "pnpm run --recursive --workspace-concurrency=1 pre-commit",
"prepare": "husky install",
"run-build": "run-build",
"run-unpacked": "run-unpacked",
"test-full": "pnpm run --recursive --no-sort --stream test-full",
"typecheck": "pnpm run --recursive --no-sort --stream typecheck"
},
"engines": {
"node": ">=18",
"pnpm": ">=8"
},
"devDependencies": {
"@ter/scripts": "workspace:*",
"concurrently": "^8.2.1",
"electron": "26.0.0",
"electron-builder": "^24.6.4",
"husky": "^8.0.3",
"prettier": "3.0.3",
"rimraf": "^5.0.1",
"typescript": "5.2.2"
}
}