-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathpackage.json
148 lines (148 loc) · 5.26 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
145
146
147
148
{
"ManifestComments": [
"Only add dependencies that you want shipped to the end user, for everything else, use devDependencies, including things that will be bundled by Vite.",
"NW.js requires a name and a main, everything else is optional.",
"The build section is used by nwjs-builder-phoenix, see its documentation for more info",
"To turn spell checking off, remove it from the chromium-args in this file",
"Unit tests inaccurately report 1 line of code not being covered because this bug: vitejs/vite-plugin-vue #368"
],
"name": "your-app-name",
"version": "1.0.8",
"main": "http://localhost:4175",
"node-remote": "http://localhost:4175",
"node-main": "",
"window": {
"width": 960,
"height": 600,
"min_width": 800,
"min_height": 500,
"icon": "public/icon.png"
},
"private": true,
"scripts": {
"postinstall": "npx --yes base-volta-off-of-nwjs@latest",
"start": "concurrently -k npm:dev:web npm:dev:desktop",
"dev:web": "vite --port 4175",
"dev:desktop": "wait-on -c waitOnConfig.json http-get://localhost:4175 && nw .",
"build": "npm run build:clean && npm run build:vue && npm run build:nw",
"build:clean": "rimraf ./dist-vue ./dist",
"build:vue": "vite build",
"build:nw": "build --concurrent --tasks win-x86,linux-x86,linux-x64,mac-x64 --mirror https://dl.nwjs.io/ .",
"build:win": "npm run build:win:clean && npm run build:vue && build --tasks win-x86 --mirror https://dl.nwjs.io/ .",
"build:lin": "npm run build:lin:clean && npm run build:vue && build --tasks linux-x64 --mirror https://dl.nwjs.io/ .",
"build:win:clean": "rimraf ./dist-vue ./dist/your-app-name-1.0.8-win-x86 ./dist/your-app-name-1.0.8-win-x86.zip ./dist/your-app-name-1.0.8-win-x86.7z ./dist/your-app-name-1.0.8-win-x86-Setup.exe",
"build:lin:clean": "rimraf ./dist-vue ./dist/your-app-name-1.0.8-linux-x64 ./dist/your-app-name-1.0.8-linux-x64.zip",
"run:win": "dist\\your-app-name-1.0.8-win-x86\\your-app-name.exe",
"run:lin": "./dist/your-app-name-1.0.8-linux-x64/your-app-name",
"regression": "rd /s /q node_modules & rd /s /q node_modules & rd /s /q node_modules & npm install && npm run lint && npm test && npm run build:win && npm run run:win",
"regression:lin": "rm -r -f node_modules && npm install && npm run lint && npm test && npm run build:lin && npm run run:lin",
"lint": "eslint --ext .js,.vue --config=.eslintrc.cjs src vite.config.js .eslintrc.cjs",
"fix": "eslint --fix --ext .js,.vue --config=.eslintrc.cjs src vite.config.js .eslintrc.cjs",
"test": "vitest run --coverage",
"update:vue-devtools": "rimraf ./node_modules/your-app-name-devtools-5 && npm install"
},
"dependencies": {
"express": "^4.21.1"
},
"devDependencies": {
"@babel/eslint-parser": "^7.26.8",
"@pinia/testing": "^1.0.0",
"@vitejs/plugin-vue": "^5.2.1",
"@vitest/coverage-v8": "^3.0.5",
"@vue/test-utils": "^2.4.6",
"concurrently": "^9.1.0",
"eslint": "8.57.0",
"eslint-config-tjw-base": "2.0.0",
"eslint-config-tjw-import": "1.0.0",
"eslint-config-tjw-jest": "2.0.0",
"eslint-config-tjw-vue": "3.0.0",
"eslint-import-resolver-webpack": "^0.13.9",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-jest": "^28.11.0",
"eslint-plugin-vue": "^9.31.0",
"eslint-plugin-vuejs-accessibility": "^2.4.1",
"happy-dom": "^17.1.0",
"nw": "0.95.0-sdk",
"nw-vue-devtools-5": "^5.0.0",
"nwjs-builder-phoenix": "^1.15.0",
"pinia": "^3.0.1",
"rimraf": "^6.0.1",
"vite": "^6.1.0",
"vitest": "^3.0.5",
"vue": "^3.5.13",
"vue-options-api-constants-plugin": "^1.0.3",
"vue-router": "^4.5.0",
"vue3-snapshot-serializer": "^2.6.0",
"wait-on": "^8.0.2"
},
"chromium-args": "--enable-spell-checking --load-extension='./node_modules/nw-vue-devtools-5/extension' --disable-features=ProcessPerSiteUpToMainFrameThreshold",
"build": {
"nwVersion": "v0.95.0",
"nwFlavor": "normal",
"targets": [
"zip",
"nsis7z"
],
"files": [
"**/*"
],
"excludes": [
"src/**/*",
"tests/**/*",
"public/**/*",
"dist-vue/**/*.js.map",
"dist-vue/**/*.css.map",
"dist-vue/**/*-legacy*",
".editorconfig",
".eslintignore",
".eslintrc",
".gitignore",
"CODE_OF_CONDUCT.md",
"index.html",
"jsconfig.json",
"package-lock.json",
"screenshot.png",
"vite.config.js",
"waitOnConfig.json"
],
"strippedProperties": [
"ManifestComments",
"scripts",
"devDependencies",
"build",
"volta"
],
"overriddenProperties": {
"main": "http://localhost:4185",
"node-remote": "http://localhost:4185",
"node-main": "server.cjs",
"chromium-args": "--enable-spell-checking",
"window": {
"width": 960,
"height": 600,
"min_width": 700,
"min_height": 500,
"icon": "dist-vue/icon.png"
}
},
"win": {
"icon": "public/icon-256.ico"
},
"mac": {
"icon": "public/icon.icns"
},
"nsis": {
"icon": "public/icon-256.ico",
"unIcon": "public/icon.ico",
"languages": [
"English"
],
"diffUpdaters": false,
"hashCalculation": true
}
},
"type": "module",
"volta": {
"node": "23.3.0"
}
}