Showing
3 changed files
with
103 additions
and
212 deletions
... | @@ -5,27 +5,27 @@ | ... | @@ -5,27 +5,27 @@ |
5 | "requires": true, | 5 | "requires": true, |
6 | "dependencies": { | 6 | "dependencies": { |
7 | "@babel/code-frame": { | 7 | "@babel/code-frame": { |
8 | - "version": "7.8.3", | 8 | + "version": "7.10.1", |
9 | - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz", | 9 | + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.1.tgz", |
10 | - "integrity": "sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g==", | 10 | + "integrity": "sha512-IGhtTmpjGbYzcEDOw7DcQtbQSXcG9ftmAXtWTu9V936vDye4xjjekktFAtgZsWpzTj/X01jocB46mTywm/4SZw==", |
11 | "dev": true, | 11 | "dev": true, |
12 | "requires": { | 12 | "requires": { |
13 | - "@babel/highlight": "^7.8.3" | 13 | + "@babel/highlight": "^7.10.1" |
14 | } | 14 | } |
15 | }, | 15 | }, |
16 | "@babel/helper-validator-identifier": { | 16 | "@babel/helper-validator-identifier": { |
17 | - "version": "7.9.5", | 17 | + "version": "7.10.1", |
18 | - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.9.5.tgz", | 18 | + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.1.tgz", |
19 | - "integrity": "sha512-/8arLKUFq882w4tWGj9JYzRpAlZgiWUJ+dtteNTDqrRBz9Iguck9Rn3ykuBDoUwh2TO4tSAJlrxDUOXWklJe4g==", | 19 | + "integrity": "sha512-5vW/JXLALhczRCWP0PnFDMCJAchlBvM7f4uk/jXritBnIa6E1KmqmtrS3yn1LAnxFBypQ3eneLuXjsnfQsgILw==", |
20 | "dev": true | 20 | "dev": true |
21 | }, | 21 | }, |
22 | "@babel/highlight": { | 22 | "@babel/highlight": { |
23 | - "version": "7.9.0", | 23 | + "version": "7.10.1", |
24 | - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.9.0.tgz", | 24 | + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.10.1.tgz", |
25 | - "integrity": "sha512-lJZPilxX7Op3Nv/2cvFdnlepPXDxi29wxteT57Q965oc5R9v86ztx0jfxVrTcBk8C2kcPkkDa2Z4T3ZsPPVWsQ==", | 25 | + "integrity": "sha512-8rMof+gVP8mxYZApLF/JgNDAkdKa+aJt3ZYxF8z6+j/hpeXL7iMsKCPHa2jNMHu/qqBwzQF4OHNoYi8dMA/rYg==", |
26 | "dev": true, | 26 | "dev": true, |
27 | "requires": { | 27 | "requires": { |
28 | - "@babel/helper-validator-identifier": "^7.9.0", | 28 | + "@babel/helper-validator-identifier": "^7.10.1", |
29 | "chalk": "^2.0.0", | 29 | "chalk": "^2.0.0", |
30 | "js-tokens": "^4.0.0" | 30 | "js-tokens": "^4.0.0" |
31 | } | 31 | } |
... | @@ -130,9 +130,9 @@ | ... | @@ -130,9 +130,9 @@ |
130 | "integrity": "sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA==" | 130 | "integrity": "sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA==" |
131 | }, | 131 | }, |
132 | "@types/node": { | 132 | "@types/node": { |
133 | - "version": "14.0.1", | 133 | + "version": "14.0.9", |
134 | - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.0.1.tgz", | 134 | + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.0.9.tgz", |
135 | - "integrity": "sha512-FAYBGwC+W6F9+huFIDtn43cpy7+SzG+atzRiTfdp3inUKL2hXnd4rG8hylJLIh4+hqrQy1P17kvJByE/z825hA==" | 135 | + "integrity": "sha512-0sCTiXKXELOBxvZLN4krQ0FPOAA7ij+6WwvD0k/PHd9/KAkr4dXel5J9fh6F4x1FwAQILqAWkmpeuS6mjf1iKA==" |
136 | }, | 136 | }, |
137 | "@types/resolve": { | 137 | "@types/resolve": { |
138 | "version": "0.0.8", | 138 | "version": "0.0.8", |
... | @@ -158,38 +158,16 @@ | ... | @@ -158,38 +158,16 @@ |
158 | "color-convert": "^1.9.0" | 158 | "color-convert": "^1.9.0" |
159 | } | 159 | } |
160 | }, | 160 | }, |
161 | - "anymatch": { | ||
162 | - "version": "3.1.1", | ||
163 | - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.1.tgz", | ||
164 | - "integrity": "sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg==", | ||
165 | - "dev": true, | ||
166 | - "requires": { | ||
167 | - "normalize-path": "^3.0.0", | ||
168 | - "picomatch": "^2.0.4" | ||
169 | - } | ||
170 | - }, | ||
171 | "array-union": { | 161 | "array-union": { |
172 | "version": "2.1.0", | 162 | "version": "2.1.0", |
173 | "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", | 163 | "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", |
174 | "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==" | 164 | "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==" |
175 | }, | 165 | }, |
176 | - "async-limiter": { | ||
177 | - "version": "1.0.1", | ||
178 | - "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz", | ||
179 | - "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==", | ||
180 | - "dev": true | ||
181 | - }, | ||
182 | "balanced-match": { | 166 | "balanced-match": { |
183 | "version": "1.0.0", | 167 | "version": "1.0.0", |
184 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", | 168 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", |
185 | "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" | 169 | "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" |
186 | }, | 170 | }, |
187 | - "binary-extensions": { | ||
188 | - "version": "2.0.0", | ||
189 | - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.0.0.tgz", | ||
190 | - "integrity": "sha512-Phlt0plgpIIBOGTT/ehfFnbNlfsDEiqmzE2KRXoX1bLIlir4X/MR+zSyBEkL05ffWgnRSf/DXv+WrUAVr93/ow==", | ||
191 | - "dev": true | ||
192 | - }, | ||
193 | "brace-expansion": { | 171 | "brace-expansion": { |
194 | "version": "1.1.11", | 172 | "version": "1.1.11", |
195 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", | 173 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", |
... | @@ -230,22 +208,6 @@ | ... | @@ -230,22 +208,6 @@ |
230 | "supports-color": "^5.3.0" | 208 | "supports-color": "^5.3.0" |
231 | } | 209 | } |
232 | }, | 210 | }, |
233 | - "chokidar": { | ||
234 | - "version": "3.4.0", | ||
235 | - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.4.0.tgz", | ||
236 | - "integrity": "sha512-aXAaho2VJtisB/1fg1+3nlLJqGOuewTzQpd/Tz0yTg2R0e4IGtshYvtjowyEumcBv2z+y4+kc75Mz7j5xJskcQ==", | ||
237 | - "dev": true, | ||
238 | - "requires": { | ||
239 | - "anymatch": "~3.1.1", | ||
240 | - "braces": "~3.0.2", | ||
241 | - "fsevents": "~2.1.2", | ||
242 | - "glob-parent": "~5.1.0", | ||
243 | - "is-binary-path": "~2.1.0", | ||
244 | - "is-glob": "~4.0.1", | ||
245 | - "normalize-path": "~3.0.0", | ||
246 | - "readdirp": "~3.4.0" | ||
247 | - } | ||
248 | - }, | ||
249 | "color-convert": { | 211 | "color-convert": { |
250 | "version": "1.9.3", | 212 | "version": "1.9.3", |
251 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", | 213 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", |
... | @@ -346,13 +308,6 @@ | ... | @@ -346,13 +308,6 @@ |
346 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", | 308 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", |
347 | "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" | 309 | "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" |
348 | }, | 310 | }, |
349 | - "fsevents": { | ||
350 | - "version": "2.1.3", | ||
351 | - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.1.3.tgz", | ||
352 | - "integrity": "sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ==", | ||
353 | - "dev": true, | ||
354 | - "optional": true | ||
355 | - }, | ||
356 | "get-port": { | 311 | "get-port": { |
357 | "version": "3.2.0", | 312 | "version": "3.2.0", |
358 | "resolved": "https://registry.npmjs.org/get-port/-/get-port-3.2.0.tgz", | 313 | "resolved": "https://registry.npmjs.org/get-port/-/get-port-3.2.0.tgz", |
... | @@ -406,9 +361,9 @@ | ... | @@ -406,9 +361,9 @@ |
406 | "dev": true | 361 | "dev": true |
407 | }, | 362 | }, |
408 | "ignore": { | 363 | "ignore": { |
409 | - "version": "5.1.6", | 364 | + "version": "5.1.8", |
410 | - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.6.tgz", | 365 | + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.8.tgz", |
411 | - "integrity": "sha512-cgXgkypZBcCnOgSihyeqbo6gjIaIyDqPQB7Ra4vhE9m6kigdGoQDMHjviFhRZo3IMlRy6yElosoviMs5YxZXUA==" | 366 | + "integrity": "sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==" |
412 | }, | 367 | }, |
413 | "inflight": { | 368 | "inflight": { |
414 | "version": "1.0.6", | 369 | "version": "1.0.6", |
... | @@ -424,15 +379,6 @@ | ... | @@ -424,15 +379,6 @@ |
424 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", | 379 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", |
425 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" | 380 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" |
426 | }, | 381 | }, |
427 | - "is-binary-path": { | ||
428 | - "version": "2.1.0", | ||
429 | - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", | ||
430 | - "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", | ||
431 | - "dev": true, | ||
432 | - "requires": { | ||
433 | - "binary-extensions": "^2.0.0" | ||
434 | - } | ||
435 | - }, | ||
436 | "is-extglob": { | 382 | "is-extglob": { |
437 | "version": "2.1.1", | 383 | "version": "2.1.1", |
438 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", | 384 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", |
... | @@ -466,12 +412,20 @@ | ... | @@ -466,12 +412,20 @@ |
466 | } | 412 | } |
467 | }, | 413 | }, |
468 | "is-reference": { | 414 | "is-reference": { |
469 | - "version": "1.1.4", | 415 | + "version": "1.2.0", |
470 | - "resolved": "https://registry.npmjs.org/is-reference/-/is-reference-1.1.4.tgz", | 416 | + "resolved": "https://registry.npmjs.org/is-reference/-/is-reference-1.2.0.tgz", |
471 | - "integrity": "sha512-uJA/CDPO3Tao3GTrxYn6AwkM4nUPJiGGYu5+cB8qbC7WGFlrKZbiRo7SFKxUAEpFUfiHofWCXBUNhvYJMh+6zw==", | 417 | + "integrity": "sha512-ZVxq+5TkOx6GQdnoMm2aRdCKADdcrOWXLGzGT+vIA8DMpqEJaRk5AL1bS80zJ2bjHunVmjdzfCt0e4BymIEqKQ==", |
472 | "dev": true, | 418 | "dev": true, |
473 | "requires": { | 419 | "requires": { |
474 | - "@types/estree": "0.0.39" | 420 | + "@types/estree": "0.0.44" |
421 | + }, | ||
422 | + "dependencies": { | ||
423 | + "@types/estree": { | ||
424 | + "version": "0.0.44", | ||
425 | + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.44.tgz", | ||
426 | + "integrity": "sha512-iaIVzr+w2ZJ5HkidlZ3EJM8VTZb2MJLCjw3V+505yVts0gRC4UMvjw0d1HPtGqI/HQC/KdsYtayfzl+AXY2R8g==", | ||
427 | + "dev": true | ||
428 | + } | ||
475 | } | 429 | } |
476 | }, | 430 | }, |
477 | "isobject": { | 431 | "isobject": { |
... | @@ -519,24 +473,6 @@ | ... | @@ -519,24 +473,6 @@ |
519 | "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", | 473 | "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", |
520 | "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==" | 474 | "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==" |
521 | }, | 475 | }, |
522 | - "livereload": { | ||
523 | - "version": "0.9.1", | ||
524 | - "resolved": "https://registry.npmjs.org/livereload/-/livereload-0.9.1.tgz", | ||
525 | - "integrity": "sha512-9g7sua11kkyZNo2hLRCG3LuZZwqexoyEyecSlV8cAsfAVVCZqLzVir6XDqmH0r+Vzgnd5LrdHDMyjtFnJQLAYw==", | ||
526 | - "dev": true, | ||
527 | - "requires": { | ||
528 | - "chokidar": "^3.3.0", | ||
529 | - "livereload-js": "^3.1.0", | ||
530 | - "opts": ">= 1.2.0", | ||
531 | - "ws": "^6.2.1" | ||
532 | - } | ||
533 | - }, | ||
534 | - "livereload-js": { | ||
535 | - "version": "3.2.2", | ||
536 | - "resolved": "https://registry.npmjs.org/livereload-js/-/livereload-js-3.2.2.tgz", | ||
537 | - "integrity": "sha512-xhScbNeC687ZINjEf/bD+BMiPx4s4q0mehcLb3zCc8+mykOtmaBR4vqzyIV9rIGdG9JjHaT0LiFdscvivCjX1Q==", | ||
538 | - "dev": true | ||
539 | - }, | ||
540 | "local-access": { | 476 | "local-access": { |
541 | "version": "1.0.1", | 477 | "version": "1.0.1", |
542 | "resolved": "https://registry.npmjs.org/local-access/-/local-access-1.0.1.tgz", | 478 | "resolved": "https://registry.npmjs.org/local-access/-/local-access-1.0.1.tgz", |
... | @@ -558,9 +494,9 @@ | ... | @@ -558,9 +494,9 @@ |
558 | "dev": true | 494 | "dev": true |
559 | }, | 495 | }, |
560 | "merge2": { | 496 | "merge2": { |
561 | - "version": "1.3.0", | 497 | + "version": "1.4.1", |
562 | - "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.3.0.tgz", | 498 | + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", |
563 | - "integrity": "sha512-2j4DAdlBOkiSZIsaXk4mTE3sRS02yBHAtfy127xRV3bQUFqXkjHCHLW6Scv7DwNRbIWNHH8zpnz9zMaKXIdvYw==" | 499 | + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==" |
564 | }, | 500 | }, |
565 | "micromatch": { | 501 | "micromatch": { |
566 | "version": "4.0.2", | 502 | "version": "4.0.2", |
... | @@ -572,9 +508,9 @@ | ... | @@ -572,9 +508,9 @@ |
572 | } | 508 | } |
573 | }, | 509 | }, |
574 | "mime": { | 510 | "mime": { |
575 | - "version": "2.4.5", | 511 | + "version": "2.4.6", |
576 | - "resolved": "https://registry.npmjs.org/mime/-/mime-2.4.5.tgz", | 512 | + "resolved": "https://registry.npmjs.org/mime/-/mime-2.4.6.tgz", |
577 | - "integrity": "sha512-3hQhEUF027BuxZjQA3s7rIv/7VCQPa27hN9u9g87sEkWaKwQPuXOkVKtOeiyUrnWqTDiOs8Ed2rwg733mB0R5w==" | 513 | + "integrity": "sha512-RZKhC3EmpBchfTGBVb8fb+RL2cWyw/32lshnsETttkBAyAUXSGHxbEJWWRXc751DrIxG1q04b8QwMbAwkRPpUA==" |
578 | }, | 514 | }, |
579 | "minimatch": { | 515 | "minimatch": { |
580 | "version": "3.0.4", | 516 | "version": "3.0.4", |
... | @@ -589,12 +525,6 @@ | ... | @@ -589,12 +525,6 @@ |
589 | "resolved": "https://registry.npmjs.org/mri/-/mri-1.1.5.tgz", | 525 | "resolved": "https://registry.npmjs.org/mri/-/mri-1.1.5.tgz", |
590 | "integrity": "sha512-d2RKzMD4JNyHMbnbWnznPaa8vbdlq/4pNZ3IgdaGrVbBhebBsGUUE/6qorTMYNS6TwuH3ilfOlD2bf4Igh8CKg==" | 526 | "integrity": "sha512-d2RKzMD4JNyHMbnbWnznPaa8vbdlq/4pNZ3IgdaGrVbBhebBsGUUE/6qorTMYNS6TwuH3ilfOlD2bf4Igh8CKg==" |
591 | }, | 527 | }, |
592 | - "normalize-path": { | ||
593 | - "version": "3.0.0", | ||
594 | - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", | ||
595 | - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", | ||
596 | - "dev": true | ||
597 | - }, | ||
598 | "once": { | 528 | "once": { |
599 | "version": "1.4.0", | 529 | "version": "1.4.0", |
600 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", | 530 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", |
... | @@ -603,12 +533,6 @@ | ... | @@ -603,12 +533,6 @@ |
603 | "wrappy": "1" | 533 | "wrappy": "1" |
604 | } | 534 | } |
605 | }, | 535 | }, |
606 | - "opts": { | ||
607 | - "version": "1.2.7", | ||
608 | - "resolved": "https://registry.npmjs.org/opts/-/opts-1.2.7.tgz", | ||
609 | - "integrity": "sha512-hwZhzGGG/GQ7igxAVFOEun2N4fWul31qE9nfBdCnZGQCB5+L7tN9xZ+94B4aUpLOJx/of3zZs5XsuubayQYQjA==", | ||
610 | - "dev": true | ||
611 | - }, | ||
612 | "path-is-absolute": { | 536 | "path-is-absolute": { |
613 | "version": "1.0.1", | 537 | "version": "1.0.1", |
614 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", | 538 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", |
... | @@ -630,15 +554,6 @@ | ... | @@ -630,15 +554,6 @@ |
630 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz", | 554 | "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz", |
631 | "integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==" | 555 | "integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==" |
632 | }, | 556 | }, |
633 | - "readdirp": { | ||
634 | - "version": "3.4.0", | ||
635 | - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.4.0.tgz", | ||
636 | - "integrity": "sha512-0xe001vZBnJEK+uKcj8qOhyAKPzIT+gStxWr3LCB0DwcXR5NZJ3IaC+yGnHCYzB/S7ov3m3EEbZI2zeNvX+hGQ==", | ||
637 | - "dev": true, | ||
638 | - "requires": { | ||
639 | - "picomatch": "^2.2.1" | ||
640 | - } | ||
641 | - }, | ||
642 | "regexparam": { | 557 | "regexparam": { |
643 | "version": "1.3.0", | 558 | "version": "1.3.0", |
644 | "resolved": "https://registry.npmjs.org/regexparam/-/regexparam-1.3.0.tgz", | 559 | "resolved": "https://registry.npmjs.org/regexparam/-/regexparam-1.3.0.tgz", |
... | @@ -687,15 +602,6 @@ | ... | @@ -687,15 +602,6 @@ |
687 | "is-plain-object": "^3.0.0" | 602 | "is-plain-object": "^3.0.0" |
688 | } | 603 | } |
689 | }, | 604 | }, |
690 | - "rollup-plugin-livereload": { | ||
691 | - "version": "1.3.0", | ||
692 | - "resolved": "https://registry.npmjs.org/rollup-plugin-livereload/-/rollup-plugin-livereload-1.3.0.tgz", | ||
693 | - "integrity": "sha512-abyqXaB21+nFHo+vJULBqfzNx6zXABC19UyvqgDfdoxR/8pFAd041GO+GIUe8ZYC2DbuMUmioh1Lvbk14YLZgw==", | ||
694 | - "dev": true, | ||
695 | - "requires": { | ||
696 | - "livereload": "^0.9.1" | ||
697 | - } | ||
698 | - }, | ||
699 | "rollup-plugin-svelte": { | 605 | "rollup-plugin-svelte": { |
700 | "version": "5.2.2", | 606 | "version": "5.2.2", |
701 | "resolved": "https://registry.npmjs.org/rollup-plugin-svelte/-/rollup-plugin-svelte-5.2.2.tgz", | 607 | "resolved": "https://registry.npmjs.org/rollup-plugin-svelte/-/rollup-plugin-svelte-5.2.2.tgz", |
... | @@ -757,25 +663,25 @@ | ... | @@ -757,25 +663,25 @@ |
757 | "dev": true | 663 | "dev": true |
758 | }, | 664 | }, |
759 | "sirv": { | 665 | "sirv": { |
760 | - "version": "0.4.2", | 666 | + "version": "0.4.6", |
761 | - "resolved": "https://registry.npmjs.org/sirv/-/sirv-0.4.2.tgz", | 667 | + "resolved": "https://registry.npmjs.org/sirv/-/sirv-0.4.6.tgz", |
762 | - "integrity": "sha512-dQbZnsMaIiTQPZmbGmktz+c74zt/hyrJEB4tdp2Jj0RNv9J6B/OWR5RyrZEvIn9fyh9Zlg2OlE2XzKz6wMKGAw==", | 668 | + "integrity": "sha512-rYpOXlNbpHiY4nVXxuDf4mXPvKz1reZGap/LkWp9TvcZ84qD/nPBjjH/6GZsgIjVMbOslnY8YYULAyP8jMn1GQ==", |
763 | "requires": { | 669 | "requires": { |
764 | "@polka/url": "^0.5.0", | 670 | "@polka/url": "^0.5.0", |
765 | "mime": "^2.3.1" | 671 | "mime": "^2.3.1" |
766 | } | 672 | } |
767 | }, | 673 | }, |
768 | "sirv-cli": { | 674 | "sirv-cli": { |
769 | - "version": "0.4.5", | 675 | + "version": "0.4.6", |
770 | - "resolved": "https://registry.npmjs.org/sirv-cli/-/sirv-cli-0.4.5.tgz", | 676 | + "resolved": "https://registry.npmjs.org/sirv-cli/-/sirv-cli-0.4.6.tgz", |
771 | - "integrity": "sha512-Fl6icSm0EwPrXSGid2xphMp//WNTSX2yENRAGnJuuZNmdc8LvE/BtdZD3MPn28ifAfDqTMwbB3dpcZojAIOiBg==", | 677 | + "integrity": "sha512-/Vj85/kBvPL+n9ibgX6FicLE8VjidC1BhlX67PYPBfbBAphzR6i0k0HtU5c2arejfU3uzq8l3SYPCwl1x7z6Ww==", |
772 | "requires": { | 678 | "requires": { |
773 | "console-clear": "^1.1.0", | 679 | "console-clear": "^1.1.0", |
774 | "get-port": "^3.2.0", | 680 | "get-port": "^3.2.0", |
775 | "kleur": "^3.0.0", | 681 | "kleur": "^3.0.0", |
776 | "local-access": "^1.0.1", | 682 | "local-access": "^1.0.1", |
777 | "sade": "^1.4.0", | 683 | "sade": "^1.4.0", |
778 | - "sirv": "^0.4.2", | 684 | + "sirv": "^0.4.6", |
779 | "tinydate": "^1.0.0" | 685 | "tinydate": "^1.0.0" |
780 | } | 686 | } |
781 | }, | 687 | }, |
... | @@ -816,15 +722,15 @@ | ... | @@ -816,15 +722,15 @@ |
816 | } | 722 | } |
817 | }, | 723 | }, |
818 | "svelte": { | 724 | "svelte": { |
819 | - "version": "3.22.3", | 725 | + "version": "3.23.0", |
820 | - "resolved": "https://registry.npmjs.org/svelte/-/svelte-3.22.3.tgz", | 726 | + "resolved": "https://registry.npmjs.org/svelte/-/svelte-3.23.0.tgz", |
821 | - "integrity": "sha512-DumSy5eWPFPlMUGf3+eHyFSkt5yLqyAmMdCuXOE4qc5GtFyLxwTAGKZmgKmW2jmbpTTeFQ/fSQfDBQbl9Eo7yw==", | 727 | + "integrity": "sha512-cnyd96bK/Nw5DnYuB1hzm5cl6+I1fpmdKOteA7KLzU9KGLsLmvWsSkSKbcntzODCLmSySN3HjcgTHRo6/rJNTw==", |
822 | "dev": true | 728 | "dev": true |
823 | }, | 729 | }, |
824 | "svelte-spa-router": { | 730 | "svelte-spa-router": { |
825 | - "version": "2.1.0", | 731 | + "version": "2.2.0", |
826 | - "resolved": "https://registry.npmjs.org/svelte-spa-router/-/svelte-spa-router-2.1.0.tgz", | 732 | + "resolved": "https://registry.npmjs.org/svelte-spa-router/-/svelte-spa-router-2.2.0.tgz", |
827 | - "integrity": "sha512-9bcQPTQ6A+Z92Z+NirVVusa/Sw6nqzKwZAKfu1Cl6+XjStf12hfIcPoMfTutEBoX0Ik+z7gJbJ934PKk94BvCg==", | 733 | + "integrity": "sha512-S3KpmiBszjdjkU1QA9FyNgrSdQORbXWp4wl8R147Gl7KoNof/0SfFJ23+9E47jLiNz+lCw1uaCfeHJi2I60bVg==", |
828 | "requires": { | 734 | "requires": { |
829 | "regexparam": "1.3.0" | 735 | "regexparam": "1.3.0" |
830 | } | 736 | } |
... | @@ -862,15 +768,6 @@ | ... | @@ -862,15 +768,6 @@ |
862 | "version": "1.0.2", | 768 | "version": "1.0.2", |
863 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", | 769 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", |
864 | "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" | 770 | "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" |
865 | - }, | ||
866 | - "ws": { | ||
867 | - "version": "6.2.1", | ||
868 | - "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.1.tgz", | ||
869 | - "integrity": "sha512-GIyAXC2cB7LjvpgMt9EKS2ldqr0MTrORaleiOno6TweZ6r3TKtoFQWay/2PceJ3RuBasOHzXNn5Lrw1X0bEjqA==", | ||
870 | - "dev": true, | ||
871 | - "requires": { | ||
872 | - "async-limiter": "~1.0.0" | ||
873 | - } | ||
874 | } | 771 | } |
875 | } | 772 | } |
876 | } | 773 | } | ... | ... |
... | @@ -10,7 +10,6 @@ | ... | @@ -10,7 +10,6 @@ |
10 | "@rollup/plugin-commonjs": "11.0.2", | 10 | "@rollup/plugin-commonjs": "11.0.2", |
11 | "@rollup/plugin-node-resolve": "^7.0.0", | 11 | "@rollup/plugin-node-resolve": "^7.0.0", |
12 | "rollup": "^1.20.0", | 12 | "rollup": "^1.20.0", |
13 | - "rollup-plugin-livereload": "^1.0.0", | ||
14 | "rollup-plugin-svelte": "^5.0.3", | 13 | "rollup-plugin-svelte": "^5.0.3", |
15 | "rollup-plugin-terser": "^5.1.2", | 14 | "rollup-plugin-terser": "^5.1.2", |
16 | "svelte": "^3.0.0" | 15 | "svelte": "^3.0.0" | ... | ... |
1 | import svelte from 'rollup-plugin-svelte'; | 1 | import svelte from 'rollup-plugin-svelte'; |
2 | import resolve from '@rollup/plugin-node-resolve'; | 2 | import resolve from '@rollup/plugin-node-resolve'; |
3 | import commonjs from '@rollup/plugin-commonjs'; | 3 | import commonjs from '@rollup/plugin-commonjs'; |
4 | -import livereload from 'rollup-plugin-livereload'; | ||
5 | import { terser } from 'rollup-plugin-terser'; | 4 | import { terser } from 'rollup-plugin-terser'; |
6 | import copy from 'rollup-plugin-copy'; | 5 | import copy from 'rollup-plugin-copy'; |
7 | 6 | ||
8 | const production = !process.env.ROLLUP_WATCH; | 7 | const production = !process.env.ROLLUP_WATCH; |
9 | 8 | ||
10 | export default { | 9 | export default { |
11 | - input: 'src/main.js', | 10 | + input: 'src/main.js', |
12 | - output: { | 11 | + output: { |
13 | - sourcemap: true, | 12 | + sourcemap: true, |
14 | - format: 'iife', | 13 | + format: 'iife', |
15 | - name: 'app', | 14 | + name: 'app', |
16 | - file: 'public/build/bundle.js' | 15 | + file: 'public/build/bundle.js' |
17 | - }, | 16 | + }, |
18 | - plugins: [ | 17 | + plugins: [ |
19 | - svelte({ | 18 | + svelte({ |
20 | - // enable run-time checks when not in production | 19 | + // enable run-time checks when not in production |
21 | - dev: !production, | 20 | + dev: !production, |
22 | - // we'll extract any component CSS out into | 21 | + // we'll extract any component CSS out into |
23 | - // a separate file - better for performance | 22 | + // a separate file - better for performance |
24 | - css: css => { | 23 | + css: css => { |
25 | - css.write('public/build/bundle.css'); | 24 | + css.write('public/build/bundle.css'); |
26 | - } | 25 | + } |
27 | - }), | 26 | + }), |
28 | 27 | ||
29 | - // If you have external dependencies installed from | 28 | + // If you have external dependencies installed from |
30 | - // npm, you'll most likely need these plugins. In | 29 | + // npm, you'll most likely need these plugins. In |
31 | - // some cases you'll need additional configuration - | 30 | + // some cases you'll need additional configuration - |
32 | - // consult the documentation for details: | 31 | + // consult the documentation for details: |
33 | - // https://github.com/rollup/plugins/tree/master/packages/commonjs | 32 | + // https://github.com/rollup/plugins/tree/master/packages/commonjs |
34 | - resolve({ | 33 | + resolve({ |
35 | - browser: true, | 34 | + browser: true, |
36 | - dedupe: ['svelte'] | 35 | + dedupe: ['svelte'] |
37 | - }), | 36 | + }), |
38 | - commonjs(), | 37 | + commonjs(), |
39 | 38 | ||
40 | - copy({ | 39 | + copy({ |
41 | - targets:[ | 40 | + targets: [ |
42 | - { src:'src/images', dest:'public' } | 41 | + { src: 'src/images', dest: 'public' } |
43 | - ] | 42 | + ] |
44 | - }), | 43 | + }), |
45 | 44 | ||
46 | - // In dev mode, call `npm run start` once | 45 | + // In dev mode, call `npm run start` once |
47 | - // the bundle has been generated | 46 | + // the bundle has been generated |
48 | - !production && serve(), | 47 | + !production && serve(), |
49 | 48 | ||
50 | - // Watch the `public` directory and refresh the | 49 | + // If we're building for production (npm run build |
51 | - // browser on changes when not in production | 50 | + // instead of npm run dev), minify |
52 | - !production && livereload('public'), | 51 | + production && terser() |
53 | - | 52 | + ], |
54 | - // If we're building for production (npm run build | 53 | + watch: { |
55 | - // instead of npm run dev), minify | 54 | + clearScreen: false |
56 | - production && terser() | 55 | + } |
57 | - ], | ||
58 | - watch: { | ||
59 | - clearScreen: false | ||
60 | - } | ||
61 | }; | 56 | }; |
62 | 57 | ||
63 | function serve() { | 58 | function serve() { |
64 | - let started = false; | 59 | + let started = false; |
65 | 60 | ||
66 | - return { | 61 | + return { |
67 | - writeBundle() { | 62 | + writeBundle() { |
68 | - if (!started) { | 63 | + if (!started) { |
69 | - started = true; | 64 | + started = true; |
70 | 65 | ||
71 | - require('child_process').spawn('npm', ['run', 'start', '--', '--dev'], { | 66 | + require('child_process').spawn('npm', ['run', 'start', '--', '--dev'], { |
72 | - stdio: ['ignore', 'inherit', 'inherit'], | 67 | + stdio: ['ignore', 'inherit', 'inherit'], |
73 | - shell: true | 68 | + shell: true |
74 | - }); | 69 | + }); |
75 | - } | 70 | + } |
76 | - } | 71 | + } |
77 | - }; | 72 | + }; |
78 | -} | 73 | +} |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment