-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
143 lines (143 loc) · 4.24 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
{
"name": "@electron/boilerplate",
"type": "module",
"version": "0.0.0",
"private": true,
"packageManager": "[email protected]",
"description": "An electron template based on Vite and Esbuild.",
"author": "starknt",
"license": "MIT",
"keywords": [
"electron",
"electron-builder",
"template",
"vite",
"vite-electron",
"vitest",
"hot",
"fast"
],
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
},
"scripts": {
"dev": "vite -c ./app/web/vite.config.ts",
"build": "pnpm clean && vite -c ./app/web/vite.config.ts build",
"package": "pnpm build && esno ./scripts/make-installer.ts",
"release": "bumpp package.json release/app/package.json --commit --push --tag",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"test": "pnpm build && vitest run --passWithNoTests",
"test:watch": "vitest -u",
"postinstall": "electron-builder install-app-deps && concurrently \"esno ./scripts/link-modules.ts\" \"esno ./scripts/electron-rebuild.ts\"",
"typecheck:electron": "npx tsc --noEmit -p app/electron/tsconfig.json",
"typecheck:web": "vue-tsc --noEmit -p app/web/tsconfig.json",
"typecheck": "concurrently \"pnpm typecheck:electron\" \"pnpm typecheck:web\"",
"clean": "esno scripts/clean-cli.ts",
"prepare": "husky install",
"commit": "git cz",
"preinstall": "npx only-allow pnpm"
},
"dependencies": {
"i18next": "^22.4.9",
"i18next-vue": "^2.1.1",
"vue": "^3.2.45"
},
"devDependencies": {
"@antfu/eslint-config": "^0.34.1",
"@eevi/elexpose": "0.6.5",
"@eevi/vite-plugin-mpa": "^0.6.3",
"@electron/rebuild": "^3.2.10",
"@types/better-sqlite3": "^7.6.3",
"@types/node": "^18.11.18",
"@types/node-abi": "^3.0.0",
"@types/rimraf": "^3.0.2",
"@vitejs/plugin-vue": "^4.0.0",
"bumpp": "^8.2.1",
"commitizen": "^4.2.6",
"commitlint-config-cz": "^0.13.3",
"concurrently": "^7.6.0",
"cz-conventional-changelog": "^3.3.0",
"eevi": "^0.7.0-beta.1",
"electron": "^19.0.17",
"electron-builder": "^23.6.0",
"eslint": "^8.31.0",
"esno": "^0.16.3",
"happy-dom": "^8.1.4",
"husky": "^8.0.3",
"lint-staged": "^13.1.0",
"node-abi": "^3.31.0",
"playwright": "^1.29.2",
"pnpm": "7.25.0",
"rimraf": "^3.0.2",
"source-map-support": "^0.5.21",
"typescript": "^4.8.4",
"unocss": "^0.48.4",
"unplugin-auto-import": "^0.12.1",
"unplugin-vue-components": "^0.22.12",
"vite": "^4.0.3",
"vitest": "^0.26.2",
"vue-tsc": "^1.0.24"
},
"pnpm": {
"overrides": {
"asar": "npm:@electron/asar@latest",
"@npmcli/move-file": "npm:@npmcli/fs@latest"
}
},
"lint-staged": {
"*.{ts, tsx, vue}": [
"eslint --fix"
],
"*.{json, yaml, yml}": [
"eslint --fix"
]
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog",
"types": {
"feat": {
"description": "✨ A new feature"
},
"fix": {
"description": "🐛 A bug fix"
},
"docs": {
"description": "📝 Documentation only changes"
},
"style": {
"description": "🌈 Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)"
},
"refactor": {
"description": "📦 A code change that neither fixes a bug nor adds a feature"
},
"perf": {
"description": "🚀 A code change that improves performance"
},
"test": {
"description": "✅ Adding missing tests or correcting existing tests"
},
"build": {
"description": "👷 Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)"
},
"ci": {
"description": "💻 Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)"
},
"chore": {
"description": "🎫 Other changes that don't modify src or test files"
},
"revert": {
"description": "⏪ Reverts a previous commit"
}
}
}
},
"build": {
"directories": {
"app": "release/app",
"output": "release/build"
}
}
}