-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
144 lines (144 loc) · 5.64 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
144
{
"name": "template-electron-vuex-vuetify",
"description": "Description",
"productName": "Product Name",
"productAppId": "appId",
"electronWindowTitle": "Electron App",
"author": "Max Barrass <[email protected]>",
"version": "2022.3.24",
"scripts": {
"build": "vue-tsc --noEmit && vite build",
"test:unit": "vitest",
"test:e2e": "start-server-and-test preview 8080 'cypress open --config baseUrl=http://localhost:8080'",
"lint:script": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
"lint:style": "stylelint src/**/*.{css,scss,vue}",
"dev": "vite",
"dev2": "vite --host localhost",
"electron": "wait-on tcp:3000 && cross-env NODE_ENV=dev electron .",
"electron:pack": "electron-builder --dir",
"electron:dev": "concurrently -k \"cross-env BROWSER=none npm run dev\" \"npm run electron\"",
"electron:builder": "electron-builder -p \"never\"",
"build:for:electron": "vue-tsc --noEmit && cross-env ELECTRON=true vite build",
"app:build": "npm run build:for:electron && npm run electron:builder",
"postinstall": "electron-builder install-app-deps",
"postuninstall": "electron-builder install-app-deps",
"preview": "npm run build && vite preview --port 8080 --host localhost",
"preview:ci": "npm run build && vite preview --port 8080 --host ${HOST} ",
"test:e2e:ci2": "start-server-and-test preview http-get://localhost:8080 test",
"test:e2e:ci3": "start-server-and-test dev2 http-get://localhost:3000 test",
"test:e2e:ci": "concurrently -k \"cross-env BROWSER=none npm run preview\" \"wait-on --verbose http://localhost:8080 && npm run test\"",
"typecheck": "vue-tsc --noEmit && vue-tsc --noEmit -p tsconfig.vitest.json --composite false",
"cypress": "cypress run --config baseUrl=http://localhost:3000 || true",
"test": "npm run report:clean && npm run cypress",
"report:clean": "rm -rf cypress/results cypress/screenshots cypress/videos cypress/reports || true",
"report:merge": "mochawesome-merge cypress/results/*.json -o cypress/reports/report.json",
"report:generate": "marge cypress/reports/report.json -f report -o cypress/reports",
"report:moveScreenshots": "mv cypress/screenshots cypress/reports/screenshots 2>/dev/null || true",
"report:moveVideos": "mv cypress/videos cypress/reports/videos 2>/dev/null || true",
"report:moveData": "mv cypress/results/data cypress/reports/data 2>/dev/null || true",
"posttest": "npm run report:merge && npm run report:generate && npm run report:moveScreenshots && npm run report:moveVideos && npm run report:moveData"
},
"main": "electron/electron.js",
"dependencies": {
"@mdi/font": "5.9.55",
"@types/node": "^17.0.18",
"@types/webfontloader": "^1.0.0",
"@vitejs/plugin-vue": "^1.10.2",
"@vue/cli-plugin-pwa": "~5.0.0",
"@vue/cli-plugin-router": "~5.0.0",
"@vue/cli-plugin-typescript": "~5.0.0",
"@vue/cli-plugin-vuex": "~5.0.0",
"@vue/tsconfig": "^0.1.3",
"@vuetify/vite-plugin": "^1.0.0-alpha.3",
"concurrently": "^7.0.0",
"core-js": "^3.8.3",
"cross-env": "^7.0.3",
"register-service-worker": "^1.7.2",
"roboto-fontface": "*",
"sass": "^1.38.0",
"sass-loader": "^12.0.0",
"typescript": "~4.5.5",
"vite": "^2.7.13",
"vue": "^3.2.31",
"vue-i18n": "^9.1.9",
"vue-router": "^4.0.12",
"vue-tsc": "^0.31.4",
"vuetify": "^3.0.0-alpha.0",
"vuetify-loader": "^2.0.0-alpha.0",
"vuex": "^4.0.0",
"vuex-module-decorators": "^2.0.0",
"vuex-persist": "^3.1.3",
"webfontloader": "^1.0.0",
"webpack-env": "^0.8.0"
},
"devDependencies": {
"@rushstack/eslint-patch": "^1.1.0",
"@types/electron-devtools-installer": "^2.2.1",
"@types/jsdom": "^16.2.14",
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@typescript-eslint/parser": "^5.4.0",
"@vue/cli-plugin-e2e-cypress": "~5.0.0",
"@vue/cli-plugin-eslint": "~5.0.0",
"@vue/cli-service": "~5.0.0",
"@vue/eslint-config-prettier": "^7.0.0",
"@vue/eslint-config-typescript": "^9.1.0",
"@vue/test-utils": "^2.0.0-0",
"cypress": "^8.3.0",
"cypress-multi-reporters": "^1.5.0",
"electron": "^17.1.0",
"electron-builder": "^22.14.13",
"electron-devtools-installer": "^3.2.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-vue": "^8.0.3",
"jsdom": "^19.0.0",
"lint-staged": "^11.2.6",
"mocha": "^9.2.1",
"mochawesome": "^7.0.1",
"mochawesome-merge": "^4.2.1",
"mochawesome-report-generator": "^6.0.1",
"postcss-html": "^1.3.0",
"prettier": "^2.4.1",
"simple-git-hooks": "^2.7.0",
"start-server-and-test": "^1.14.0",
"stylelint": "^14.5.1",
"stylelint-config-recommended": "^7.0.0",
"stylelint-config-standard": "^25.0.0",
"vitest": "^0.4.1",
"vue-cli-plugin-electron-builder": "~2.1.1",
"vue-cli-plugin-vuetify": "~2.4.5",
"wait-on": "^6.0.1"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged",
"pre-push": ""
},
"lint-staged": {
"*.{ts,tsx,vue}": "eslint --fix",
"*.{css,scss,vue}": "stylelint --fix",
"*": "prettier --write"
},
"build": {
"appId": "foundation.governance.template-electron-vuex-vuetify",
"copyright": "Copyright © 2022 ${author}",
"mac": {
"category": "public.app-category.utilities"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
},
"deb": {
"packageCategory": "devel"
},
"files": [
"dist/**/*",
"electron/**/*"
],
"directories": {
"buildResources": "electron/assets",
"output": "dist_electron"
}
}
}