-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
72 lines (72 loc) · 2.98 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
{
"name": "scnexus",
"version": "0.0.21-snapshot",
"description": "SCNexus Client",
"author": "MengLuoRJ <[email protected]>",
"private": true,
"keywords": [
"SCNexus"
],
"repository": {
"type": "git",
"url": "https://github.com/MengLuoRJ/scnexus.git"
},
"main": "packages/app-main/dist/index.js",
"type": "module",
"engines": {
"pnpm": ">=9.0.0",
"node": ">=20.0.0"
},
"scripts": {
"dev": "tsx scripts/dev-watch.ts",
"build": "npm run build:main && npm run build:preload && npm run build:renderer",
"build:main": "cd ./packages/app-main && vite build",
"build:preload": "cd ./packages/app-preload && vite build",
"build:renderer": "cd ./packages/app-renderer && vite build",
"build:app:prepare": "npm run script:app:sync-version",
"build:app": "cross-env MODE=production npm run build && pnpm -F @scnexus/app-main run build:app",
"build:app:release": "npm run script:app:sync-version && cross-env MODE=production npm run build && pnpm -F @scnexus/app-main run build:app:release",
"test": "npm run test:main && npm run test:preload && npm run test:renderer && npm run test:e2e",
"test:e2e": "npm run build && vitest run",
"test:main": "vitest run -r packages/app-main --passWithNoTests",
"test:preload": "vitest run -r packages/app-preload --passWithNoTests",
"test:renderer": "vitest run -r packages/app-renderer --passWithNoTests",
"lint": "eslint .",
"typecheck:main": "tsc --noEmit -p packages/app-main/tsconfig.json",
"typecheck:preload": "tsc --noEmit -p packages/app-preload/tsconfig.json",
"typecheck:renderer": "vue-tsc --noEmit -p packages/app-renderer/tsconfig.json",
"typecheck": "npm run typecheck:main && npm run typecheck:preload && npm run typecheck:renderer",
"postinstall": "cross-env ELECTRON_RUN_AS_NODE=1 electron scripts/update-electron-vendors.js",
"format": "npx prettier --write \"**/*.{js,mjs,cjs,ts,mts,cts,vue,json}\"",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"script:app:sync-version": "tsx scripts/sync-app-packages-version.ts",
"deprecated:compile": "cross-env MODE=production npm run build && electron-builder build --config electron-builder.json --dir --config.asar=false",
"deprecated:compile:release:": "cross-env MODE=production npm run build && electron-builder build --config electron-builder.json"
},
"devDependencies": {
"@iconify-json/tabler": "^1.2.0",
"@scnexus/app-main": "workspace:*",
"@scnexus/app-shared": "workspace:*",
"conventional-changelog-cli": "^5.0.0",
"cross-env": "^7.0.3",
"electron": "^32.0.1",
"electron-builder": "^25.0.5",
"filesize": "^10.1.6",
"mitt": "^3.0.1",
"scnexus-standard": "^0.0.13",
"tsx": "^4.19.0",
"typescript": "^5.5.4",
"vite": "^5.4.3"
},
"pnpm": {
"peerDependencyRules": {
"allowedVersions": {
"eslint": "*"
}
},
"overrides": {}
},
"dependencies": {
"@electron/asar": "^3.2.10"
}
}