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
| {
| "name": "ruoyi",
| "main": "electron/main.js",
| "version": "3.8.6",
| "description": "若依管理系统",
| "author": "若依",
| "license": "MIT",
| "scripts": {
| "dev": "node ./node_modules/@vue/cli-service/bin/vue-cli-service.js serve",
| "build:prod": "node ./node_modules/@vue/cli-service/bin/vue-cli-service.js build",
| "build:stage": "node ./node_modules/@vue/cli-service/bin/vue-cli-service.js build --mode staging",
| "build:desktop": "node ./node_modules/@vue/cli-service/bin/vue-cli-service.js build --mode desktop",
| "electron:start": "electron .",
| "electron:dev": "concurrently \"npm run dev -- --port 8080\" \"wait-on tcp:8080 && cross-env ELECTRON_RENDERER_URL=http://127.0.0.1:8080 electron .\"",
| "dist:win": "npm run build:desktop && cross-env ELECTRON_BUILDER_BINARIES_MIRROR=https://npmmirror.com/mirrors/electron-builder-binaries/ CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder --win nsis",
| "dist:win:dir": "npm run build:desktop && cross-env ELECTRON_BUILDER_BINARIES_MIRROR=https://npmmirror.com/mirrors/electron-builder-binaries/ CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder --win dir",
| "preview": "node build/index.js --preview",
| "lint": "eslint --ext .js,.vue src"
| },
| "husky": {
| "hooks": {
| "pre-commit": "lint-staged"
| }
| },
| "lint-staged": {
| "src/**/*.{js,vue}": [
| "eslint --fix",
| "git add"
| ]
| },
| "keywords": [
| "vue",
| "admin",
| "dashboard",
| "element-ui",
| "boilerplate",
| "admin-template",
| "management-system"
| ],
| "repository": {
| "type": "git",
| "url": "https://gitee.com/y_project/RuoYi-Vue.git"
| },
| "build": {
| "appId": "com.fangkeji.visitor.desktop",
| "productName": "访客机自助登记管理平台",
| "artifactName": "${productName}-Setup-${version}.${ext}",
| "directories": {
| "output": "release",
| "buildResources": "public"
| },
| "files": [
| "dist-desktop/**/*",
| "electron/**/*",
| "package.json"
| ],
| "asar": true,
| "npmRebuild": false,
| "electronDownload": {
| "mirror": "https://npmmirror.com/mirrors/electron/"
| },
| "win": {
| "target": [
| {
| "target": "nsis",
| "arch": [
| "x64"
| ]
| }
| ],
| "icon": "public/logo.ico"
| },
| "nsis": {
| "oneClick": false,
| "allowToChangeInstallationDirectory": true,
| "createDesktopShortcut": true,
| "createStartMenuShortcut": true,
| "shortcutName": "访客机自助登记管理平台"
| }
| },
| "dependencies": {
| "@riophae/vue-treeselect": "0.4.0",
| "axios": "0.24.0",
| "clipboard": "2.0.8",
| "core-js": "3.25.3",
| "echarts": "5.4.0",
| "element-ui": "2.15.13",
| "file-saver": "2.0.5",
| "fuse.js": "6.4.3",
| "highlight.js": "9.18.5",
| "js-beautify": "1.13.0",
| "js-cookie": "3.0.1",
| "jsencrypt": "3.0.0-rc.1",
| "nprogress": "0.2.0",
| "quill": "1.3.7",
| "react": "^18.2.0",
| "screenfull": "5.0.2",
| "sortablejs": "1.10.2",
| "vue": "2.6.12",
| "vue-count-to": "1.0.13",
| "vue-cropper": "0.5.5",
| "vue-meta": "2.4.0",
| "vue-router": "3.4.9",
| "vuedraggable": "2.24.3",
| "vuex": "3.6.0"
| },
| "devDependencies": {
| "@vue/cli-plugin-babel": "4.4.6",
| "@vue/cli-plugin-eslint": "4.4.6",
| "@vue/cli-service": "4.4.6",
| "babel-eslint": "10.1.0",
| "babel-plugin-dynamic-import-node": "2.3.3",
| "chalk": "4.1.0",
| "compression-webpack-plugin": "5.0.2",
| "concurrently": "^8.2.2",
| "connect": "3.6.6",
| "cross-env": "^7.0.3",
| "electron": "^28.3.3",
| "electron-builder": "^24.13.3",
| "eslint": "7.15.0",
| "eslint-plugin-vue": "7.2.0",
| "lint-staged": "10.5.3",
| "runjs": "4.4.2",
| "sass": "1.32.13",
| "sass-loader": "10.1.1",
| "script-ext-html-webpack-plugin": "2.1.5",
| "svg-sprite-loader": "5.1.1",
| "vue-template-compiler": "2.6.12",
| "wait-on": "^7.2.0"
| },
| "engines": {
| "node": ">=8.9",
| "npm": ">= 3.0.0"
| },
| "browserslist": [
| "> 1%",
| "last 2 versions"
| ]
| }
|
|