aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/build.yml10
-rw-r--r--scripts/dev_win_viewer_deps_install.cmd22
-rw-r--r--viewer/.browserslistrc7
-rw-r--r--viewer/package-lock.json14182
-rw-r--r--viewer/package.json2
-rw-r--r--viewer/yarn.lock9366
6 files changed, 9399 insertions, 14190 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 9395862..190a0df 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -8,14 +8,14 @@ jobs:
8 - uses: actions/checkout@v2 8 - uses: actions/checkout@v2
9 - uses: actions/setup-node@v1 9 - uses: actions/setup-node@v1
10 with: 10 with:
11 # Latest version officially tested for Vue 11 # Latest version officially tested for Ld
12 node-version: 12.16.1 12 node-version: 12.22.2
13 - name: Lint and build Node.js Vue project 13 - name: Lint and build Node.js Vue project
14 working-directory: viewer 14 working-directory: viewer
15 run: | 15 run: |
16 npm install 16 yarn
17 npm run lint 17 yarn run lint
18 npm run build 18 yarn run build
19 - uses: actions/upload-artifact@v2 19 - uses: actions/upload-artifact@v2
20 with: 20 with:
21 name: viewer-dist 21 name: viewer-dist
diff --git a/scripts/dev_win_viewer_deps_install.cmd b/scripts/dev_win_viewer_deps_install.cmd
new file mode 100644
index 0000000..9e2330d
--- /dev/null
+++ b/scripts/dev_win_viewer_deps_install.cmd
@@ -0,0 +1,22 @@
1@echo off
2set NODE_VERSION=12.22.2
3cd ..\viewer\
4
5chcp 65001
6echo.
7echo === nvm install ===
8nvm install %NODE_VERSION%
9nvm list | find /i "%NODE_VERSION% (Currently"
10if errorlevel 1 (
11 echo.
12 echo === nvm use %NODE_VERSION% ===
13 nvm use %NODE_VERSION%
14
15 ping localhost -n 3 >NUL
16 cmd /c npm install -g yarn
17)
18echo.
19echo === yarn deps ===
20cmd /c rmdir /s /q .\node_modules\
21cmd /c yarn
22echo.
diff --git a/viewer/.browserslistrc b/viewer/.browserslistrc
index d6471a3..d9789a7 100644
--- a/viewer/.browserslistrc
+++ b/viewer/.browserslistrc
@@ -1,2 +1,5 @@
1> 1% 1# Polyfills for ES2020+
2last 2 versions 2
3chrome > 78
4firefox > 72
5edge > 78
diff --git a/viewer/package-lock.json b/viewer/package-lock.json
deleted file mode 100644
index 4785b3e..0000000
--- a/viewer/package-lock.json
+++ /dev/null
@@ -1,14182 +0,0 @@
1{
2 "name": "ldgallery-viewer",
3 "version": "2.0.0",
4 "lockfileVersion": 1,
5 "requires": true,
6 "dependencies": {
7 "@babel/code-frame": {
8 "version": "7.5.5",
9 "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.5.5.tgz",
10 "integrity": "sha512-27d4lZoomVyo51VegxI20xZPuSHusqbQag/ztrBC7wegWoQ1nLREPVSKSW8byhTlzTKyNE4ifaTA6lCp7JjpFw==",
11 "dev": true,
12 "requires": {
13 "@babel/highlight": "^7.0.0"
14 }
15 },
16 "@babel/compat-data": {
17 "version": "7.10.3",
18 "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.10.3.tgz",
19 "integrity": "sha512-BDIfJ9uNZuI0LajPfoYV28lX8kyCPMHY6uY4WH1lJdcicmAfxCK5ASzaeV0D/wsUaRH/cLk+amuxtC37sZ8TUg==",
20 "dev": true,
21 "requires": {
22 "browserslist": "^4.12.0",
23 "invariant": "^2.2.4",
24 "semver": "^5.5.0"
25 },
26 "dependencies": {
27 "browserslist": {
28 "version": "4.12.2",
29 "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.12.2.tgz",
30 "integrity": "sha512-MfZaeYqR8StRZdstAK9hCKDd2StvePCYp5rHzQCPicUjfFliDgmuaBNPHYUTpAywBN8+Wc/d7NYVFkO0aqaBUw==",
31 "dev": true,
32 "requires": {
33 "caniuse-lite": "^1.0.30001088",
34 "electron-to-chromium": "^1.3.483",
35 "escalade": "^3.0.1",
36 "node-releases": "^1.1.58"
37 }
38 },
39 "caniuse-lite": {
40 "version": "1.0.30001090",
41 "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001090.tgz",
42 "integrity": "sha512-QzPRKDCyp7RhjczTPZaqK3CjPA5Ht2UnXhZhCI4f7QiB5JK6KEuZBxIzyWnB3wO4hgAj4GMRxAhuiacfw0Psjg==",
43 "dev": true
44 },
45 "electron-to-chromium": {
46 "version": "1.3.483",
47 "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.483.tgz",
48 "integrity": "sha512-+05RF8S9rk8S0G8eBCqBRBaRq7+UN3lDs2DAvnG8SBSgQO3hjy0+qt4CmRk5eiuGbTcaicgXfPmBi31a+BD3lg==",
49 "dev": true
50 },
51 "node-releases": {
52 "version": "1.1.58",
53 "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.58.tgz",
54 "integrity": "sha512-NxBudgVKiRh/2aPWMgPR7bPTX0VPmGx5QBwCtdHitnqFE5/O8DeBXuIMH1nwNnw/aMo6AjOrpsHzfY3UbUJ7yg==",
55 "dev": true
56 }
57 }
58 },
59 "@babel/core": {
60 "version": "7.10.3",
61 "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.10.3.tgz",
62 "integrity": "sha512-5YqWxYE3pyhIi84L84YcwjeEgS+fa7ZjK6IBVGTjDVfm64njkR2lfDhVR5OudLk8x2GK59YoSyVv+L/03k1q9w==",
63 "dev": true,
64 "requires": {
65 "@babel/code-frame": "^7.10.3",
66 "@babel/generator": "^7.10.3",
67 "@babel/helper-module-transforms": "^7.10.1",
68 "@babel/helpers": "^7.10.1",
69 "@babel/parser": "^7.10.3",
70 "@babel/template": "^7.10.3",
71 "@babel/traverse": "^7.10.3",
72 "@babel/types": "^7.10.3",
73 "convert-source-map": "^1.7.0",
74 "debug": "^4.1.0",
75 "gensync": "^1.0.0-beta.1",
76 "json5": "^2.1.2",
77 "lodash": "^4.17.13",
78 "resolve": "^1.3.2",
79 "semver": "^5.4.1",
80 "source-map": "^0.5.0"
81 },
82 "dependencies": {
83 "@babel/code-frame": {
84 "version": "7.10.3",
85 "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.3.tgz",
86 "integrity": "sha512-fDx9eNW0qz0WkUeqL6tXEXzVlPh6Y5aCDEZesl0xBGA8ndRukX91Uk44ZqnkECp01NAZUdCAl+aiQNGi0k88Eg==",
87 "dev": true,
88 "requires": {
89 "@babel/highlight": "^7.10.3"
90 }
91 },
92 "@babel/highlight": {
93 "version": "7.10.3",
94 "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.10.3.tgz",
95 "integrity": "sha512-Ih9B/u7AtgEnySE2L2F0Xm0GaM729XqqLfHkalTsbjXGyqmf/6M0Cu0WpvqueUlW+xk88BHw9Nkpj49naU+vWw==",
96 "dev": true,
97 "requires": {
98 "@babel/helper-validator-identifier": "^7.10.3",
99 "chalk": "^2.0.0",
100 "js-tokens": "^4.0.0"
101 }
102 },
103 "source-map": {
104 "version": "0.5.7",
105 "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
106 "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
107 "dev": true
108 }
109 }
110 },
111 "@babel/generator": {
112 "version": "7.10.3",
113 "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.10.3.tgz",
114 "integrity": "sha512-drt8MUHbEqRzNR0xnF8nMehbY11b1SDkRw03PSNH/3Rb2Z35oxkddVSi3rcaak0YJQ86PCuE7Qx1jSFhbLNBMA==",
115 "dev": true,
116 "requires": {
117 "@babel/types": "^7.10.3",
118 "jsesc": "^2.5.1",
119 "lodash": "^4.17.13",
120 "source-map": "^0.5.0"
121 },
122 "dependencies": {
123 "source-map": {
124 "version": "0.5.7",
125 "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
126 "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
127 "dev": true
128 }
129 }
130 },
131 "@babel/helper-annotate-as-pure": {
132 "version": "7.10.1",
133 "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.10.1.tgz",
134 "integrity": "sha512-ewp3rvJEwLaHgyWGe4wQssC2vjks3E80WiUe2BpMb0KhreTjMROCbxXcEovTrbeGVdQct5VjQfrv9EgC+xMzCw==",
135 "dev": true,
136 "requires": {
137 "@babel/types": "^7.10.1"
138 }
139 },
140 "@babel/helper-builder-binary-assignment-operator-visitor": {
141 "version": "7.10.3",
142 "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.10.3.tgz",
143 "integrity": "sha512-lo4XXRnBlU6eRM92FkiZxpo1xFLmv3VsPFk61zJKMm7XYJfwqXHsYJTY6agoc4a3L8QPw1HqWehO18coZgbT6A==",
144 "dev": true,
145 "requires": {
146 "@babel/helper-explode-assignable-expression": "^7.10.3",
147 "@babel/types": "^7.10.3"
148 }
149 },
150 "@babel/helper-compilation-targets": {
151 "version": "7.10.2",
152 "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.10.2.tgz",
153 "integrity": "sha512-hYgOhF4To2UTB4LTaZepN/4Pl9LD4gfbJx8A34mqoluT8TLbof1mhUlYuNWTEebONa8+UlCC4X0TEXu7AOUyGA==",
154 "dev": true,
155 "requires": {
156 "@babel/compat-data": "^7.10.1",
157 "browserslist": "^4.12.0",
158 "invariant": "^2.2.4",
159 "levenary": "^1.1.1",
160 "semver": "^5.5.0"
161 },
162 "dependencies": {
163 "browserslist": {
164 "version": "4.12.2",
165 "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.12.2.tgz",
166 "integrity": "sha512-MfZaeYqR8StRZdstAK9hCKDd2StvePCYp5rHzQCPicUjfFliDgmuaBNPHYUTpAywBN8+Wc/d7NYVFkO0aqaBUw==",
167 "dev": true,
168 "requires": {
169 "caniuse-lite": "^1.0.30001088",
170 "electron-to-chromium": "^1.3.483",
171 "escalade": "^3.0.1",
172 "node-releases": "^1.1.58"
173 }
174 },