diff options
author | Zero~Informatique | 2020-02-13 16:30:38 +0100 |
---|---|---|
committer | Zero~Informatique | 2020-02-13 16:43:07 +0100 |
commit | 9c2af5dcd2d2c8754e4c74e02141822c0964a5a8 (patch) | |
tree | 280836d2d4e931a294e1beebf37c0ee886901b5f /viewer | |
parent | af4660b4c4fea455dfffbf2d966bae425ed6effb (diff) | |
download | ldgallery-9c2af5dcd2d2c8754e4c74e02141822c0964a5a8.tar.gz |
moved utility scripts to their dedicated folder
Diffstat (limited to 'viewer')
-rw-r--r-- | viewer/win_start_vueui.cmd | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/viewer/win_start_vueui.cmd b/viewer/win_start_vueui.cmd deleted file mode 100644 index 7825df3..0000000 --- a/viewer/win_start_vueui.cmd +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
1 | @echo off | ||
2 | set NODE_VERSION=12.14.0 | ||
3 | set VUECLI_VERSION=4.2.2 | ||
4 | |||
5 | chcp 65001 | ||
6 | echo. | ||
7 | echo === nvm install === | ||
8 | nvm install %NODE_VERSION% | ||
9 | nvm list | find /i "%NODE_VERSION% (Currently" | ||
10 | if errorlevel 1 ( | ||
11 | echo. | ||
12 | echo === nvm use %NODE_VERSION% === | ||
13 | nvm use %NODE_VERSION% | ||
14 | |||
15 | echo. | ||
16 | echo === npm install @vue/cli@%VUECLI_VERSION% === | ||
17 | ping localhost -n 3 >NUL | ||
18 | cmd /c npm install -g @vue/cli@%VUECLI_VERSION% | ||
19 | ) | ||
20 | echo. | ||
21 | npm view -g @vue/cli version | find /i "%VUECLI_VERSION%" | ||
22 | if errorlevel 1 ( | ||
23 | echo ====================================================================== | ||
24 | echo Warning: vue/cli doesn't match the requested version: %VUECLI_VERSION% | ||
25 | echo. | ||
26 | echo CTRL+C to quit and update, or press a key to ignore this warning... | ||
27 | echo ====================================================================== | ||
28 | echo. | ||
29 | pause | ||
30 | ) | ||
31 | echo. | ||
32 | echo === npm install === | ||
33 | cmd /c npm install | ||
34 | echo. | ||
35 | echo === npm prune === | ||
36 | cmd /c npm prune | ||
37 | echo. | ||
38 | echo === npm dedupe === | ||
39 | cmd /c npm dedupe | ||
40 | echo. | ||
41 | echo === vue ui === | ||
42 | title Vue UI - server | ||
43 | vue ui | ||