-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
50 lines (50 loc) · 1.88 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
{
"name": "code-generator-var",
"description": "code-generator-var",
"version": "0.1.5",
"main": "src/main.js",
"author": "rocyuan",
"scripts": {
"ci-all": "npm ci && cd vue && npm ci",
"install-all": "npm install && cd vue && npm install",
"dev": "node script/dev.js",
"make": "electron-forge make",
"package": "electron-forge package",
"ele:dev": "nodemon --exec electron-forge start --watch src/ --ext .js,.cjs,.mjs",
"ele:start": "electron-forge start",
"ele:build": "node build/build.js",
"vue:dev": "cd vue && npm run dev",
"vue:build": "npm run vue:build:prod",
"vue:build:prod": "cd vue && npm run build:prod && shx rm -rf ../web/* && shx cp -R dist/* ../web/",
"vue:build:dev": "cd vue && npm run build:dev && shx rm -rf ../web/* && shx cp -R dist/* ../web/",
"vue:build:stage": "cd vue && npm run build:stage && shx rm -rf ../web/* && shx cp -R dist/* ../web/",
"lint": "eslint . --ext .js,.cjs,.mjs --fix --ignore-path .gitignore && cd vue && npm run lint",
"format": "prettier --write src/ && cd vue && npm run format"
},
"devDependencies": {
"@electron-forge/cli": "^7.4.0",
"@electron-forge/maker-deb": "^7.4.0",
"@electron-forge/maker-dmg": "^7.4.0",
"@electron-forge/maker-rpm": "^7.4.0",
"@electron-forge/maker-squirrel": "^7.4.0",
"@electron-forge/maker-wix": "^7.4.0",
"@electron-forge/maker-zip": "^7.4.0",
"@rushstack/eslint-patch": "^1.10.2",
"copy-webpack-plugin": "^12.0.2",
"electron": "^30.0.1",
"eslint": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"nodemon": "^3.1.0",
"prettier": "^3.2.5",
"shx": "^0.3.4",
"terser-webpack-plugin": "^5.3.10",
"webpack": "^5.91.0"
},
"dependencies": {
"ejs": "^3.1.9",
"electron-squirrel-startup": "^1.0.0",
"electron-window-state": "^5.0.3",
"fs-extra": "^11.1.1",
"mysql2": "^3.6.1"
}
}