|
1 | 1 | {
|
2 | 2 | "name": "picgo",
|
3 | 3 | "version": "2.1.2",
|
4 |
| - "author": "Molunerfinn <[email protected]>", |
5 |
| - "description": "Easy to upload your pic & copy to write", |
6 |
| - "license": "MIT", |
7 |
| - "main": "./dist/electron/main.js", |
| 4 | + "private": true, |
8 | 5 | "scripts": {
|
9 |
| - "render": "webpack-dev-server --hot --colors --config .electron-vue/webpack.renderer.config.js --port 9080 --content-base app/dist", |
10 |
| - "build": "node .electron-vue/build.js && electron-builder", |
11 |
| - "release": "node .electron-vue/build.js && electron-builder", |
12 |
| - "build:dir": "node .electron-vue/build.js && electron-builder --dir", |
13 |
| - "build:clean": "cross-env BUILD_TARGET=clean node .electron-vue/build.js", |
14 |
| - "build:web": "cross-env BUILD_TARGET=web node .electron-vue/build.js", |
15 |
| - "dev": "node .electron-vue/dev-runner.js", |
16 |
| - "e2e": "npm run pack && mocha test/e2e", |
17 |
| - "lint": "eslint --ext .js,.vue -f ./node_modules/eslint-friendly-formatter src test", |
18 |
| - "lint:fix": "eslint --ext .js,.vue -f ./node_modules/eslint-friendly-formatter --fix src test", |
19 |
| - "pack": "npm run pack:main && npm run pack:renderer", |
20 |
| - "pack:main": "cross-env NODE_ENV=production webpack --progress --colors --config .electron-vue/webpack.main.config.js", |
21 |
| - "pack:renderer": "cross-env NODE_ENV=production webpack --progress --colors --config .electron-vue/webpack.renderer.config.js", |
22 |
| - "test": "npm run unit && npm run e2e", |
23 |
| - "unit": "karma start test/unit/karma.conf.js", |
24 |
| - "postinstall": "npm run lint:fix", |
25 |
| - "build:docs": "cross-env NODE_ENV=production webpack -p --config .electron-vue/webpack.docs.config.js", |
26 |
| - "docs": "webpack-dev-server --content-base docs/dist --config .electron-vue/webpack.docs.config.js --hot --inline", |
27 |
| - "patch": "npm version patch && git push origin master && git push origin --tags", |
28 |
| - "minor": "npm version minor && git push origin master && git push origin --tags", |
29 |
| - "major": "npm version major && git push origin master && git push origin --tags", |
| 6 | + "serve": "vue-cli-service serve", |
| 7 | + "build": "vue-cli-service build", |
| 8 | + "lint": "vue-cli-service lint", |
| 9 | + "electron:build": "vue-cli-service electron:build", |
| 10 | + "electron:serve": "vue-cli-service electron:serve", |
| 11 | + "postinstall": "electron-builder install-app-deps", |
| 12 | + "postuninstall": "electron-builder install-app-deps", |
30 | 13 | "cz": "git-cz",
|
31 |
| - "bump": "bump-version" |
| 14 | + "bump": "bump-version", |
| 15 | + "release": "electron:build" |
32 | 16 | },
|
| 17 | + "main": "background.js", |
33 | 18 | "husky": {
|
34 | 19 | "hooks": {
|
35 | 20 | "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
|
44 | 29 | }
|
45 | 30 | },
|
46 | 31 | "commitlint": {
|
47 |
| - "extends": [ |
48 |
| - "./node_modules/@picgo/bump-version/commitlint-picgo" |
49 |
| - ] |
50 |
| - }, |
51 |
| - "build": { |
52 |
| - "productName": "PicGo", |
53 |
| - "appId": "com.molunerfinn.picgo", |
54 |
| - "directories": { |
55 |
| - "output": "build" |
56 |
| - }, |
57 |
| - "files": [ |
58 |
| - "dist/electron/**/*" |
59 |
| - ], |
60 |
| - "dmg": { |
61 |
| - "contents": [ |
62 |
| - { |
63 |
| - "x": 410, |
64 |
| - "y": 150, |
65 |
| - "type": "link", |
66 |
| - "path": "/Applications" |
67 |
| - }, |
68 |
| - { |
69 |
| - "x": 130, |
70 |
| - "y": 150, |
71 |
| - "type": "file" |
72 |
| - } |
73 |
| - ] |
74 |
| - }, |
75 |
| - "mac": { |
76 |
| - "icon": "build/icons/icon.icns", |
77 |
| - "extendInfo": { |
78 |
| - "LSUIElement": 1 |
79 |
| - } |
80 |
| - }, |
81 |
| - "win": { |
82 |
| - "icon": "build/icons/icon.ico", |
83 |
| - "target": "nsis" |
84 |
| - }, |
85 |
| - "nsis": { |
86 |
| - "oneClick": false, |
87 |
| - "allowToChangeInstallationDirectory": true |
88 |
| - }, |
89 |
| - "linux": { |
90 |
| - "icon": "build/icons/" |
91 |
| - } |
| 32 | + "extends": ["./node_modules/@picgo/bump-version/commitlint-picgo"] |
92 | 33 | },
|
93 | 34 | "dependencies": {
|
94 | 35 | "axios": "^0.19.0",
|
95 |
| - "dateformat": "^3.0.3", |
96 |
| - "element-ui": "^2.4.11", |
| 36 | + "core-js": "^3.3.2", |
| 37 | + "element-ui": "^2.13.0", |
97 | 38 | "fix-path": "^2.1.0",
|
98 |
| - "fs-extra": "^4.0.2", |
99 |
| - "image-size": "^0.6.1", |
100 |
| - "keycode": "^2.1.9", |
| 39 | + "fs-extra": "^8.1.0", |
| 40 | + "keycode": "^2.2.0", |
101 | 41 | "lodash-id": "^0.14.0",
|
102 | 42 | "lowdb": "^1.0.0",
|
103 |
| - "md5": "^2.2.1", |
104 |
| - "melody.css": "^1.0.2", |
105 | 43 | "picgo": "^1.3.7",
|
106 |
| - "qiniu": "^7.1.1", |
107 |
| - "vue": "^2.3.3", |
108 |
| - "vue-electron": "^1.0.6", |
109 |
| - "vue-gallery": "^1.2.4", |
| 44 | + "vue": "^2.6.10", |
| 45 | + "vue-gallery": "^2.0.1", |
110 | 46 | "vue-lazyload": "^1.2.6",
|
111 |
| - "vue-router": "^2.5.3", |
112 |
| - "vuex": "^2.3.1", |
113 |
| - "ws": "3.3.1" |
| 47 | + "vue-router": "^3.1.3" |
114 | 48 | },
|
115 | 49 | "devDependencies": {
|
116 |
| - "@commitlint/cli": "^7.5.2", |
117 |
| - "@picgo/bump-version": "^1.0.2", |
118 |
| - "babel-core": "^6.25.0", |
119 |
| - "babel-eslint": "^7.2.3", |
120 |
| - "babel-loader": "^7.1.1", |
121 |
| - "babel-plugin-istanbul": "^4.1.1", |
122 |
| - "babel-plugin-transform-runtime": "^6.23.0", |
123 |
| - "babel-preset-env": "^1.6.0", |
124 |
| - "babel-preset-stage-0": "^6.24.1", |
125 |
| - "babel-register": "^6.24.1", |
126 |
| - "babili-webpack-plugin": "^0.1.2", |
127 |
| - "cfonts": "^1.1.3", |
128 |
| - "chai": "^4.0.0", |
129 |
| - "chalk": "^2.1.0", |
130 |
| - "commitizen": "^3.0.7", |
131 |
| - "conventional-changelog": "^3.0.6", |
132 |
| - "copy-webpack-plugin": "^4.0.1", |
133 |
| - "cross-env": "^5.0.5", |
134 |
| - "css-loader": "^0.28.4", |
135 |
| - "cz-customizable": "^5.10.0", |
136 |
| - "del": "^3.0.0", |
137 |
| - "devtron": "^1.4.0", |
138 |
| - "electron": "^5.0.1", |
139 |
| - "electron-builder": "^20.38.4", |
140 |
| - "electron-debug": "^1.4.0", |
141 |
| - "electron-devtools-installer": "^2.2.0", |
142 |
| - "eslint": "^4.4.1", |
143 |
| - "eslint-config-standard": "^10.2.1", |
144 |
| - "eslint-friendly-formatter": "^3.0.0", |
145 |
| - "eslint-loader": "^2.1.1", |
146 |
| - "eslint-plugin-html": "^3.1.1", |
147 |
| - "eslint-plugin-import": "^2.7.0", |
148 |
| - "eslint-plugin-node": "^5.1.1", |
149 |
| - "eslint-plugin-promise": "^3.5.0", |
150 |
| - "eslint-plugin-standard": "^3.0.1", |
151 |
| - "file-loader": "^3.0.1", |
152 |
| - "html-webpack-plugin": "^3.2.0", |
153 |
| - "husky": "^1.3.1", |
154 |
| - "inject-loader": "^3.0.0", |
155 |
| - "inquirer": "^6.3.1", |
156 |
| - "karma": "^1.3.0", |
157 |
| - "karma-chai": "^0.1.0", |
158 |
| - "karma-coverage": "^1.1.1", |
159 |
| - "karma-electron": "^5.1.1", |
160 |
| - "karma-mocha": "^1.2.0", |
161 |
| - "karma-sourcemap-loader": "^0.3.7", |
162 |
| - "karma-spec-reporter": "^0.0.31", |
163 |
| - "karma-webpack": "^2.0.1", |
164 |
| - "mini-css-extract-plugin": "0.4.0", |
165 |
| - "mocha": "^3.0.2", |
166 |
| - "multispinner": "^0.2.1", |
167 |
| - "node-loader": "^0.6.0", |
168 |
| - "pug": "^2.0.0-rc.4", |
169 |
| - "pug-loader": "^2.3.0", |
170 |
| - "pug-plain-loader": "^1.0.0", |
171 |
| - "require-dir": "^0.3.0", |
172 |
| - "spectron": "^3.7.1", |
173 |
| - "style-loader": "^0.23.1", |
174 |
| - "stylus": "^0.54.5", |
175 |
| - "stylus-loader": "^3.0.1", |
176 |
| - "url-loader": "^1.1.2", |
177 |
| - "vue-html-loader": "^1.2.4", |
178 |
| - "vue-loader": "^15.4.2", |
179 |
| - "vue-style-loader": "^4.1.2", |
180 |
| - "vue-template-compiler": "^2.4.2", |
181 |
| - "webpack": "^4.15.1", |
182 |
| - "webpack-cli": "^3.0.8", |
183 |
| - "webpack-dev-server": "^3.1.4", |
184 |
| - "webpack-hot-middleware": "^2.22.2", |
185 |
| - "webpack-merge": "^4.1.3" |
| 50 | + "@commitlint/cli": "^8.2.0", |
| 51 | + "@picgo/bump-version": "^1.0.3", |
| 52 | + "@types/fs-extra": "^8.0.1", |
| 53 | + "@types/inquirer": "^6.5.0", |
| 54 | + "@types/lowdb": "^1.0.9", |
| 55 | + "@types/node": "10.17.6", |
| 56 | + "@types/request-promise-native": "^1.0.17", |
| 57 | + "@vue/cli-plugin-babel": "^4.0.0", |
| 58 | + "@vue/cli-plugin-eslint": "^4.0.0", |
| 59 | + "@vue/cli-plugin-router": "^4.0.0", |
| 60 | + "@vue/cli-plugin-typescript": "^4.0.0", |
| 61 | + "@vue/cli-service": "^4.0.0", |
| 62 | + "@vue/eslint-config-standard": "^4.0.0", |
| 63 | + "@vue/eslint-config-typescript": "^4.0.0", |
| 64 | + "commitizen": "^4.0.3", |
| 65 | + "conventional-changelog": "^3.1.18", |
| 66 | + "cz-customizable": "^6.2.0", |
| 67 | + "electron": "^6.0.0", |
| 68 | + "eslint": "^5.16.0", |
| 69 | + "eslint-plugin-vue": "^5.0.0", |
| 70 | + "husky": "^3.1.0", |
| 71 | + "stylus": "^0.54.7", |
| 72 | + "stylus-loader": "^3.0.2", |
| 73 | + "typescript": "~3.5.3", |
| 74 | + "vue-cli-plugin-electron-builder": "^1.4.2", |
| 75 | + "vue-property-decorator": "^8.3.0", |
| 76 | + "vue-template-compiler": "^2.6.10" |
| 77 | + }, |
| 78 | + "resolutions": { |
| 79 | + "**/@types/node": "10.17.6" |
186 | 80 | }
|
187 | 81 | }
|
0 commit comments