Showing
2 changed files
with
8 additions
and
3 deletions
| ... | @@ -6,7 +6,12 @@ | ... | @@ -6,7 +6,12 @@ |
| 6 | "start": "vite --host 0.0.0.0", | 6 | "start": "vite --host 0.0.0.0", |
| 7 | "build": "vite build", | 7 | "build": "vite build", |
| 8 | "build-ts": "vue-tsc --noEmit && vite build", | 8 | "build-ts": "vue-tsc --noEmit && vite build", |
| 9 | - "serve": "vite preview" | 9 | + "serve": "vite preview", |
| 10 | + "rm": "rm -rf /Users/huyirui/program/itomix/git/isp/voice/", | ||
| 11 | + "mv": "mv voice/ /Users/huyirui/program/itomix/git/isp/", | ||
| 12 | + "git": "cd /Users/huyirui/program/itomix/git/isp/voice/ && git add -A && git commit -m '前端网页更新' && git pull && git push", | ||
| 13 | + "update": "ssh -p 22 itomix@ipadbiz.cn 'cd /opt/space-dev/voice && git pull'", | ||
| 14 | + "publish": "npm run build && npm run rm && npm run mv && npm run git && npm run update" | ||
| 10 | }, | 15 | }, |
| 11 | "dependencies": { | 16 | "dependencies": { |
| 12 | "html2canvas": "^1.4.1", | 17 | "html2canvas": "^1.4.1", | ... | ... |
| ... | @@ -55,7 +55,7 @@ export default({ command, mode }) => { | ... | @@ -55,7 +55,7 @@ export default({ command, mode }) => { |
| 55 | // open: false, // 在服务器启动时自动在浏览器中打开应用程序. 当此值为字符串时, 会被当作URL的路径名. | 55 | // open: false, // 在服务器启动时自动在浏览器中打开应用程序. 当此值为字符串时, 会被当作URL的路径名. |
| 56 | proxy: { // 代理 | 56 | proxy: { // 代理 |
| 57 | '/srv/': { | 57 | '/srv/': { |
| 58 | - target: 'http://space-dev.onwall.cn', | 58 | + target: 'http://voice.onwall.cn', |
| 59 | changeOrigin: true, | 59 | changeOrigin: true, |
| 60 | // rewrite: (path) => path.replace(/^\/api/, '') | 60 | // rewrite: (path) => path.replace(/^\/api/, '') |
| 61 | }, | 61 | }, |
| ... | @@ -66,7 +66,7 @@ export default({ command, mode }) => { | ... | @@ -66,7 +66,7 @@ export default({ command, mode }) => { |
| 66 | // watch: '', // 传递给 chokidar 的文件系统监视器选项。 | 66 | // watch: '', // 传递给 chokidar 的文件系统监视器选项。 |
| 67 | }, | 67 | }, |
| 68 | build: { | 68 | build: { |
| 69 | - outDir: 'shzl', // 指定输出路径(相对于项目根目录). | 69 | + outDir: 'voice', // 指定输出路径(相对于项目根目录). |
| 70 | assetsDir: 'static', | 70 | assetsDir: 'static', |
| 71 | rollupOptions: { | 71 | rollupOptions: { |
| 72 | output: { | 72 | output: { | ... | ... |
-
Please register or login to post a comment