-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
108 lines (108 loc) · 3.5 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
{
"name": "yintao",
"version": "2.0.7",
"description": "稳定性增强,优化dom.select 优化changeIframe可以通过url切换",
"main": "lib/main-process/main.js",
"scripts": {
"dev": "vite build && gulp > gulp_bulid.txt && node ./src/main-process/utils/generate_injected.js && electron .",
"build": "vite build && gulp > gulp_bulid.txt",
"build-vue": "vue-tsc --noEmit && vite build",
"fast": "electron .",
"run": "electron .",
"test": "gulp test",
"pack": "electron-builder --dir",
"mac-arm": "yarn build && electron-builder --mac --arm64",
"dist": "yarn build && electron-builder",
"build:linux": "yarn build && electron-builder --linux && rm -rf ./dist/linux-unpacked/resources/app/static/browsers && sh ./scripts/update_linux.sh",
"build:win": "gulp winEnv && yarn build && electron-builder --win --x64 && gulp envReduction",
"build:mac": "gulp macEnv && yarn build && electron-builder --mac --x64 && gulp envReduction",
"chrome": "set PLAYWRIGHT_BROWSERS_PATH=static/browsers&& npx cherry install chromium",
"chrome:mac": "PLAYWRIGHT_BROWSERS_PATH=./static/browsers npx cherry install chromium",
"chrome:mac-win": "PLAYWRIGHT_BROWSERS_PATH=./static/browsers npx cherry install chromium --platform=win64",
"chrome:win": "set PLAYWRIGHT_BROWSERS_PATH=static/browsers&& npx cherry install chromium",
"dist-all": "yarn build && electron-builder --linux --win --mac --x64"
},
"build": {
"files": [
"!envStore"
],
"publish": [
{
"provider": "generic",
"url": "http://storage.jd.local/public-ns/cherry/"
}
],
"appId": "YinTao",
"asar": false,
"extraMetadata": {
"main": "lib/main-process/main.js"
},
"mac": {
"target": {
"target": "dmg",
"arch": [
"arm64",
"x64"
]
},
"category": "ui.auto.YinTao.next"
},
"win": {
"target": {
"target": "NSIS",
"arch": [
"x64"
]
},
"artifactName": "YinTaoSetup-${version}.${ext}"
}
},
"author": "",
"license": "ISC",
"devDependencies": {
"@babel/core": "^7.16.5",
"@rollup/plugin-alias": "^3.1.9",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-inject": "^4.0.4",
"@rollup/plugin-node-resolve": "^13.1.1",
"@rollup/plugin-replace": "^3.0.1",
"@types/node": "^18.11.9",
"@vitejs/plugin-vue": "^2.2.4",
"@vue/compiler-sfc": "^3.2.26",
"electron": "^16.0.5",
"electron-builder": "^22.14.13",
"electron-rebuild": "^3.2.9",
"gulp": "^4.0.2",
"gulp-typescript": "^6.0.0-alpha.1",
"jest": "^27.5.1",
"rollup": "^2.62.0",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-css-only": "^3.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-typescript": "^1.0.1",
"rollup-plugin-typescript2": "^0.31.1",
"rollup-plugin-vue": "^6.0.0",
"tslib": "^2.3.1",
"typescript": "^4.9.3",
"vite": "^2.7.9",
"vue": "^3.2.31",
"vue-tsc": "^0.30.1"
},
"dependencies": {
"@cherry-jd/cherry-browser": "^1.0.5",
"@cherry-jd/cherry-server": "^1.1.7",
"@cherry-jd/core": "^2.0.8",
"@cypress/unique-selector": "^0.4.4",
"axios": "^0.25.0",
"electron-updater": "^4.6.1",
"endpoint-utils": "^1.0.2",
"express": "^4.17.2",
"express-formidable": "^1.2.0",
"nanoid": "^3.1.30",
"playwright": "^1.31.1",
"proxy-chain": "^1.0.4",
"read-file-relative": "^1.2.0",
"vue-router": "4.0",
"ws": "^8.4.0"
}
}