├── .gitignore ├── LICENSE.md ├── README.md ├── index.html ├── package.json ├── public └── assets │ └── phaser3-logo.png ├── src ├── config.ts ├── index.ts └── scenes │ └── Game.ts ├── tsconfig.json ├── vite.config.ts └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- 1 | # System and IDE files 2 | Thumbs.db 3 | .DS_Store 4 | .vscode 5 | 6 | 7 | # Vendors 8 | node_modules/ 9 | 10 | # Build 11 | dist 12 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020-2023 Aivan Monceller 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

2 |
3 | header 4 |
5 | Phaser 3 TypeScript Starter 6 |
7 |

8 | 9 | This is a [Phaser 3](https://github.com/photonstorm/phaser) starter with [TypeScript](https://www.typescriptlang.org/), [Rollup](https://rollupjs.org) with ⚡️ lightning fast HMR through [Vite](https://vitejs.dev/). 10 | 11 | ## Available Commands 12 | 13 | | Command | Description | 14 | |---------|-------------| 15 | | `yarn install` | Install project dependencies | 16 | | `yarn dev` | Builds project and open web server, watching for changes | 17 | | `yarn build` | Builds code bundle with production settings | 18 | | `yarn serve` | Run a web server to serve built code bundle | 19 | 20 | ## Development 21 | 22 | After cloning the repo, run `yarn install` from your project directory. Then, you can start the local development 23 | server by running `yarn dev` and navigate to http://localhost:3000. 24 | 25 | ## Production 26 | 27 | After running `yarn build`, the files you need for production will be on the `dist` folder. To test code on your `dist` folder, run `yarn serve` and navigate to http://localhost:5000 -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Phaser 3 TypeScript Starter 5 | 6 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "phaser3-rollup-typescript", 3 | "version": "1.1.0", 4 | "description": "Phaser 3 TypeScript Starter", 5 | "main": "dist/index.js", 6 | "scripts": { 7 | "dev": "vite", 8 | "build": "vite build", 9 | "serve": "vite preview" 10 | }, 11 | "repository": { 12 | "type": "git", 13 | "url": "git+https://github.com/geocine/phaser3-rollup-typescript.git" 14 | }, 15 | "author": "Aivan Monceller", 16 | "license": "MIT", 17 | "bugs": { 18 | "url": "https://github.com/geocine/phaser3-rollup-typescript/issues" 19 | }, 20 | "homepage": "https://github.com/geocine/phaser3-rollup-typescript#readme", 21 | "devDependencies": { 22 | "@types/node": "^17.0.31", 23 | "@rollup/plugin-alias": "^3.1.9", 24 | "@rollup/plugin-commonjs": "^22.0.0", 25 | "@rollup/plugin-replace": "^4.0.0", 26 | "phaser": "^3.55.2", 27 | "typescript": "^4.6.4", 28 | "vite": "^2.9.13" 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /public/assets/phaser3-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geocine/phaser3-rollup-typescript/2d141aaff743cd89776bb3bfc8880158d89ceb93/public/assets/phaser3-logo.png -------------------------------------------------------------------------------- /src/config.ts: -------------------------------------------------------------------------------- 1 | import Phaser from 'phaser'; 2 | 3 | export default { 4 | type: Phaser.AUTO, 5 | parent: 'game', 6 | backgroundColor: '#33A5E7', 7 | scale: { 8 | width: 800, 9 | height: 600, 10 | mode: Phaser.Scale.FIT, 11 | autoCenter: Phaser.Scale.CENTER_BOTH 12 | } 13 | }; 14 | -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- 1 | import Phaser from 'phaser'; 2 | import config from './config'; 3 | import GameScene from './scenes/Game'; 4 | 5 | new Phaser.Game( 6 | Object.assign(config, { 7 | scene: [GameScene] 8 | }) 9 | ); 10 | -------------------------------------------------------------------------------- /src/scenes/Game.ts: -------------------------------------------------------------------------------- 1 | import Phaser from 'phaser'; 2 | 3 | export default class Demo extends Phaser.Scene { 4 | constructor() { 5 | super('GameScene'); 6 | } 7 | 8 | preload() { 9 | this.load.image('logo', 'assets/phaser3-logo.png'); 10 | } 11 | 12 | create() { 13 | const logo = this.add.image(400, 70, 'logo'); 14 | 15 | this.tweens.add({ 16 | targets: logo, 17 | y: 350, 18 | duration: 1500, 19 | ease: 'Sine.inOut', 20 | yoyo: true, 21 | repeat: -1 22 | }); 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "ESNext", 4 | "lib": ["DOM", "DOM.Iterable", "ESNext"], 5 | "types": ["vite/client"], 6 | "allowJs": false, 7 | "skipLibCheck": false, 8 | "esModuleInterop": false, 9 | "allowSyntheticDefaultImports": true, 10 | "strict": true, 11 | "forceConsistentCasingInFileNames": true, 12 | "module": "ESNext", 13 | "moduleResolution": "Node", 14 | "resolveJsonModule": true, 15 | "isolatedModules": true, 16 | "noEmit": true 17 | }, 18 | "include": ["./src/**/*"] 19 | } 20 | -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- 1 | import { defineConfig } from 'vite'; 2 | import replace from '@rollup/plugin-replace'; 3 | 4 | export default defineConfig({ 5 | build: { 6 | rollupOptions: { 7 | plugins: [ 8 | // Toggle the booleans here to enable / disable Phaser 3 features: 9 | replace({ 10 | 'typeof CANVAS_RENDERER': "'true'", 11 | 'typeof WEBGL_RENDERER': "'true'", 12 | 'typeof EXPERIMENTAL': "'true'", 13 | 'typeof PLUGIN_CAMERA3D': "'false'", 14 | 'typeof PLUGIN_FBINSTANT': "'false'", 15 | 'typeof FEATURE_SOUND': "'true'" 16 | }) 17 | ] 18 | } 19 | } 20 | }); 21 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | "@rollup/plugin-alias@^3.1.9": 6 | version "3.1.9" 7 | resolved "https://registry.npmjs.org/@rollup/plugin-alias/-/plugin-alias-3.1.9.tgz" 8 | integrity sha512-QI5fsEvm9bDzt32k39wpOwZhVzRcL5ydcffUHMyLVaVaLeC70I8TJZ17F1z1eMoLu4E/UOcH9BWVkKpIKdrfiw== 9 | dependencies: 10 | slash "^3.0.0" 11 | 12 | "@rollup/plugin-commonjs@^22.0.0": 13 | version "22.0.0" 14 | resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-22.0.0.tgz#f4d87016e2fbf187a593ab9f46626fe05b59e8bd" 15 | integrity sha512-Ktvf2j+bAO+30awhbYoCaXpBcyPmJbaEUYClQns/+6SNCYFURbvBiNbWgHITEsIgDDWCDUclWRKEuf8cwZCFoQ== 16 | dependencies: 17 | "@rollup/pluginutils" "^3.1.0" 18 | commondir "^1.0.1" 19 | estree-walker "^2.0.1" 20 | glob "^7.1.6" 21 | is-reference "^1.2.1" 22 | magic-string "^0.25.7" 23 | resolve "^1.17.0" 24 | 25 | "@rollup/plugin-replace@^4.0.0": 26 | version "4.0.0" 27 | resolved "https://registry.yarnpkg.com/@rollup/plugin-replace/-/plugin-replace-4.0.0.tgz#e34c457d6a285f0213359740b43f39d969b38a67" 28 | integrity sha512-+rumQFiaNac9y64OHtkHGmdjm7us9bo1PlbgQfdihQtuNxzjpaB064HbRnewUOggLQxVCCyINfStkgmBeQpv1g== 29 | dependencies: 30 | "@rollup/pluginutils" "^3.1.0" 31 | magic-string "^0.25.7" 32 | 33 | "@rollup/pluginutils@^3.1.0": 34 | version "3.1.0" 35 | resolved "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.1.0.tgz" 36 | integrity sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg== 37 | dependencies: 38 | "@types/estree" "0.0.39" 39 | estree-walker "^1.0.1" 40 | picomatch "^2.2.2" 41 | 42 | "@types/estree@*": 43 | version "0.0.46" 44 | resolved "https://registry.npmjs.org/@types/estree/-/estree-0.0.46.tgz" 45 | integrity sha512-laIjwTQaD+5DukBZaygQ79K1Z0jb1bPEMRrkXSLjtCcZm+abyp5YbrqpSLzD42FwWW6gK/aS4NYpJ804nG2brg== 46 | 47 | "@types/estree@0.0.39": 48 | version "0.0.39" 49 | resolved "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz" 50 | integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw== 51 | 52 | "@types/node@^17.0.31": 53 | version "17.0.31" 54 | resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.31.tgz#a5bb84ecfa27eec5e1c802c6bbf8139bdb163a5d" 55 | integrity sha512-AR0x5HbXGqkEx9CadRH3EBYx/VkiUgZIhP4wvPn/+5KIsgpNoyFaRlVe0Zlx9gRtg8fA06a9tskE2MSN7TcG4Q== 56 | 57 | balanced-match@^1.0.0: 58 | version "1.0.2" 59 | resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" 60 | integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== 61 | 62 | brace-expansion@^1.1.7: 63 | version "1.1.11" 64 | resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" 65 | integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== 66 | dependencies: 67 | balanced-match "^1.0.0" 68 | concat-map "0.0.1" 69 | 70 | commondir@^1.0.1: 71 | version "1.0.1" 72 | resolved "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz" 73 | integrity sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs= 74 | 75 | concat-map@0.0.1: 76 | version "0.0.1" 77 | resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" 78 | integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== 79 | 80 | esbuild-android-64@0.14.38: 81 | version "0.14.38" 82 | resolved "https://registry.yarnpkg.com/esbuild-android-64/-/esbuild-android-64-0.14.38.tgz#5b94a1306df31d55055f64a62ff6b763a47b7f64" 83 | integrity sha512-aRFxR3scRKkbmNuGAK+Gee3+yFxkTJO/cx83Dkyzo4CnQl/2zVSurtG6+G86EQIZ+w+VYngVyK7P3HyTBKu3nw== 84 | 85 | esbuild-android-arm64@0.14.38: 86 | version "0.14.38" 87 | resolved "https://registry.yarnpkg.com/esbuild-android-arm64/-/esbuild-android-arm64-0.14.38.tgz#78acc80773d16007de5219ccce544c036abd50b8" 88 | integrity sha512-L2NgQRWuHFI89IIZIlpAcINy9FvBk6xFVZ7xGdOwIm8VyhX1vNCEqUJO3DPSSy945Gzdg98cxtNt8Grv1CsyhA== 89 | 90 | esbuild-darwin-64@0.14.38: 91 | version "0.14.38" 92 | resolved "https://registry.yarnpkg.com/esbuild-darwin-64/-/esbuild-darwin-64-0.14.38.tgz#e02b1291f629ebdc2aa46fabfacc9aa28ff6aa46" 93 | integrity sha512-5JJvgXkX87Pd1Og0u/NJuO7TSqAikAcQQ74gyJ87bqWRVeouky84ICoV4sN6VV53aTW+NE87qLdGY4QA2S7KNA== 94 | 95 | esbuild-darwin-arm64@0.14.38: 96 | version "0.14.38" 97 | resolved "https://registry.yarnpkg.com/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.14.38.tgz#01eb6650ec010b18c990e443a6abcca1d71290a9" 98 | integrity sha512-eqF+OejMI3mC5Dlo9Kdq/Ilbki9sQBw3QlHW3wjLmsLh+quNfHmGMp3Ly1eWm981iGBMdbtSS9+LRvR2T8B3eQ== 99 | 100 | esbuild-freebsd-64@0.14.38: 101 | version "0.14.38" 102 | resolved "https://registry.yarnpkg.com/esbuild-freebsd-64/-/esbuild-freebsd-64-0.14.38.tgz#790b8786729d4aac7be17648f9ea8e0e16475b5e" 103 | integrity sha512-epnPbhZUt93xV5cgeY36ZxPXDsQeO55DppzsIgWM8vgiG/Rz+qYDLmh5ts3e+Ln1wA9dQ+nZmVHw+RjaW3I5Ig== 104 | 105 | esbuild-freebsd-arm64@0.14.38: 106 | version "0.14.38" 107 | resolved "https://registry.yarnpkg.com/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.14.38.tgz#b66340ab28c09c1098e6d9d8ff656db47d7211e6" 108 | integrity sha512-/9icXUYJWherhk+y5fjPI5yNUdFPtXHQlwP7/K/zg8t8lQdHVj20SqU9/udQmeUo5pDFHMYzcEFfJqgOVeKNNQ== 109 | 110 | esbuild-linux-32@0.14.38: 111 | version "0.14.38" 112 | resolved "https://registry.yarnpkg.com/esbuild-linux-32/-/esbuild-linux-32-0.14.38.tgz#7927f950986fd39f0ff319e92839455912b67f70" 113 | integrity sha512-QfgfeNHRFvr2XeHFzP8kOZVnal3QvST3A0cgq32ZrHjSMFTdgXhMhmWdKzRXP/PKcfv3e2OW9tT9PpcjNvaq6g== 114 | 115 | esbuild-linux-64@0.14.38: 116 | version "0.14.38" 117 | resolved "https://registry.yarnpkg.com/esbuild-linux-64/-/esbuild-linux-64-0.14.38.tgz#4893d07b229d9cfe34a2b3ce586399e73c3ac519" 118 | integrity sha512-uuZHNmqcs+Bj1qiW9k/HZU3FtIHmYiuxZ/6Aa+/KHb/pFKr7R3aVqvxlAudYI9Fw3St0VCPfv7QBpUITSmBR1Q== 119 | 120 | esbuild-linux-arm64@0.14.38: 121 | version "0.14.38" 122 | resolved "https://registry.yarnpkg.com/esbuild-linux-arm64/-/esbuild-linux-arm64-0.14.38.tgz#8442402e37d0b8ae946ac616784d9c1a2041056a" 123 | integrity sha512-HlMGZTEsBrXrivr64eZ/EO0NQM8H8DuSENRok9d+Jtvq8hOLzrxfsAT9U94K3KOGk2XgCmkaI2KD8hX7F97lvA== 124 | 125 | esbuild-linux-arm@0.14.38: 126 | version "0.14.38" 127 | resolved "https://registry.yarnpkg.com/esbuild-linux-arm/-/esbuild-linux-arm-0.14.38.tgz#d5dbf32d38b7f79be0ec6b5fb2f9251fd9066986" 128 | integrity sha512-FiFvQe8J3VKTDXG01JbvoVRXQ0x6UZwyrU4IaLBZeq39Bsbatd94Fuc3F1RGqPF5RbIWW7RvkVQjn79ejzysnA== 129 | 130 | esbuild-linux-mips64le@0.14.38: 131 | version "0.14.38" 132 | resolved "https://registry.yarnpkg.com/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.14.38.tgz#95081e42f698bbe35d8ccee0e3a237594b337eb5" 133 | integrity sha512-qd1dLf2v7QBiI5wwfil9j0HG/5YMFBAmMVmdeokbNAMbcg49p25t6IlJFXAeLzogv1AvgaXRXvgFNhScYEUXGQ== 134 | 135 | esbuild-linux-ppc64le@0.14.38: 136 | version "0.14.38" 137 | resolved "https://registry.yarnpkg.com/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.14.38.tgz#dceb0a1b186f5df679618882a7990bd422089b47" 138 | integrity sha512-mnbEm7o69gTl60jSuK+nn+pRsRHGtDPfzhrqEUXyCl7CTOCLtWN2bhK8bgsdp6J/2NyS/wHBjs1x8aBWwP2X9Q== 139 | 140 | esbuild-linux-riscv64@0.14.38: 141 | version "0.14.38" 142 | resolved "https://registry.yarnpkg.com/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.14.38.tgz#61fb8edb75f475f9208c4a93ab2bfab63821afd2" 143 | integrity sha512-+p6YKYbuV72uikChRk14FSyNJZ4WfYkffj6Af0/Tw63/6TJX6TnIKE+6D3xtEc7DeDth1fjUOEqm+ApKFXbbVQ== 144 | 145 | esbuild-linux-s390x@0.14.38: 146 | version "0.14.38" 147 | resolved "https://registry.yarnpkg.com/esbuild-linux-s390x/-/esbuild-linux-s390x-0.14.38.tgz#34c7126a4937406bf6a5e69100185fd702d12fe0" 148 | integrity sha512-0zUsiDkGJiMHxBQ7JDU8jbaanUY975CdOW1YDrurjrM0vWHfjv9tLQsW9GSyEb/heSK1L5gaweRjzfUVBFoybQ== 149 | 150 | esbuild-netbsd-64@0.14.38: 151 | version "0.14.38" 152 | resolved "https://registry.yarnpkg.com/esbuild-netbsd-64/-/esbuild-netbsd-64-0.14.38.tgz#322ea9937d9e529183ee281c7996b93eb38a5d95" 153 | integrity sha512-cljBAApVwkpnJZfnRVThpRBGzCi+a+V9Ofb1fVkKhtrPLDYlHLrSYGtmnoTVWDQdU516qYI8+wOgcGZ4XIZh0Q== 154 | 155 | esbuild-openbsd-64@0.14.38: 156 | version "0.14.38" 157 | resolved "https://registry.yarnpkg.com/esbuild-openbsd-64/-/esbuild-openbsd-64-0.14.38.tgz#1ca29bb7a2bf09592dcc26afdb45108f08a2cdbd" 158 | integrity sha512-CDswYr2PWPGEPpLDUO50mL3WO/07EMjnZDNKpmaxUPsrW+kVM3LoAqr/CE8UbzugpEiflYqJsGPLirThRB18IQ== 159 | 160 | esbuild-sunos-64@0.14.38: 161 | version "0.14.38" 162 | resolved "https://registry.yarnpkg.com/esbuild-sunos-64/-/esbuild-sunos-64-0.14.38.tgz#c9446f7d8ebf45093e7bb0e7045506a88540019b" 163 | integrity sha512-2mfIoYW58gKcC3bck0j7lD3RZkqYA7MmujFYmSn9l6TiIcAMpuEvqksO+ntBgbLep/eyjpgdplF7b+4T9VJGOA== 164 | 165 | esbuild-windows-32@0.14.38: 166 | version "0.14.38" 167 | resolved "https://registry.yarnpkg.com/esbuild-windows-32/-/esbuild-windows-32-0.14.38.tgz#f8e9b4602fd0ccbd48e5c8d117ec0ba4040f2ad1" 168 | integrity sha512-L2BmEeFZATAvU+FJzJiRLFUP+d9RHN+QXpgaOrs2klshoAm1AE6Us4X6fS9k33Uy5SzScn2TpcgecbqJza1Hjw== 169 | 170 | esbuild-windows-64@0.14.38: 171 | version "0.14.38" 172 | resolved "https://registry.yarnpkg.com/esbuild-windows-64/-/esbuild-windows-64-0.14.38.tgz#280f58e69f78535f470905ce3e43db1746518107" 173 | integrity sha512-Khy4wVmebnzue8aeSXLC+6clo/hRYeNIm0DyikoEqX+3w3rcvrhzpoix0S+MF9vzh6JFskkIGD7Zx47ODJNyCw== 174 | 175 | esbuild-windows-arm64@0.14.38: 176 | version "0.14.38" 177 | resolved "https://registry.yarnpkg.com/esbuild-windows-arm64/-/esbuild-windows-arm64-0.14.38.tgz#d97e9ac0f95a4c236d9173fa9f86c983d6a53f54" 178 | integrity sha512-k3FGCNmHBkqdJXuJszdWciAH77PukEyDsdIryEHn9cKLQFxzhT39dSumeTuggaQcXY57UlmLGIkklWZo2qzHpw== 179 | 180 | esbuild@^0.14.27: 181 | version "0.14.38" 182 | resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.14.38.tgz#99526b778cd9f35532955e26e1709a16cca2fb30" 183 | integrity sha512-12fzJ0fsm7gVZX1YQ1InkOE5f9Tl7cgf6JPYXRJtPIoE0zkWAbHdPHVPPaLi9tYAcEBqheGzqLn/3RdTOyBfcA== 184 | optionalDependencies: 185 | esbuild-android-64 "0.14.38" 186 | esbuild-android-arm64 "0.14.38" 187 | esbuild-darwin-64 "0.14.38" 188 | esbuild-darwin-arm64 "0.14.38" 189 | esbuild-freebsd-64 "0.14.38" 190 | esbuild-freebsd-arm64 "0.14.38" 191 | esbuild-linux-32 "0.14.38" 192 | esbuild-linux-64 "0.14.38" 193 | esbuild-linux-arm "0.14.38" 194 | esbuild-linux-arm64 "0.14.38" 195 | esbuild-linux-mips64le "0.14.38" 196 | esbuild-linux-ppc64le "0.14.38" 197 | esbuild-linux-riscv64 "0.14.38" 198 | esbuild-linux-s390x "0.14.38" 199 | esbuild-netbsd-64 "0.14.38" 200 | esbuild-openbsd-64 "0.14.38" 201 | esbuild-sunos-64 "0.14.38" 202 | esbuild-windows-32 "0.14.38" 203 | esbuild-windows-64 "0.14.38" 204 | esbuild-windows-arm64 "0.14.38" 205 | 206 | estree-walker@^1.0.1: 207 | version "1.0.1" 208 | resolved "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz" 209 | integrity sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg== 210 | 211 | estree-walker@^2.0.1: 212 | version "2.0.2" 213 | resolved "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz" 214 | integrity sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w== 215 | 216 | eventemitter3@^4.0.7: 217 | version "4.0.7" 218 | resolved "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz" 219 | integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== 220 | 221 | fs.realpath@^1.0.0: 222 | version "1.0.0" 223 | resolved "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz" 224 | integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8= 225 | 226 | fsevents@~2.3.2: 227 | version "2.3.2" 228 | resolved "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz" 229 | integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== 230 | 231 | function-bind@^1.1.1: 232 | version "1.1.1" 233 | resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz" 234 | integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== 235 | 236 | glob@^7.1.6: 237 | version "7.1.6" 238 | resolved "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz" 239 | integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA== 240 | dependencies: 241 | fs.realpath "^1.0.0" 242 | inflight "^1.0.4" 243 | inherits "2" 244 | minimatch "^3.0.4" 245 | once "^1.3.0" 246 | path-is-absolute "^1.0.0" 247 | 248 | has@^1.0.3: 249 | version "1.0.3" 250 | resolved "https://registry.npmjs.org/has/-/has-1.0.3.tgz" 251 | integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== 252 | dependencies: 253 | function-bind "^1.1.1" 254 | 255 | inflight@^1.0.4: 256 | version "1.0.6" 257 | resolved "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz" 258 | integrity sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk= 259 | dependencies: 260 | once "^1.3.0" 261 | wrappy "1" 262 | 263 | inherits@2: 264 | version "2.0.4" 265 | resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz" 266 | integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== 267 | 268 | inherits@2.0.3: 269 | version "2.0.3" 270 | resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz" 271 | integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4= 272 | 273 | is-core-module@^2.8.1: 274 | version "2.9.0" 275 | resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.9.0.tgz#e1c34429cd51c6dd9e09e0799e396e27b19a9c69" 276 | integrity sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A== 277 | dependencies: 278 | has "^1.0.3" 279 | 280 | is-reference@^1.2.1: 281 | version "1.2.1" 282 | resolved "https://registry.npmjs.org/is-reference/-/is-reference-1.2.1.tgz" 283 | integrity sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ== 284 | dependencies: 285 | "@types/estree" "*" 286 | 287 | magic-string@^0.25.7: 288 | version "0.25.7" 289 | resolved "https://registry.npmjs.org/magic-string/-/magic-string-0.25.7.tgz" 290 | integrity sha512-4CrMT5DOHTDk4HYDlzmwu4FVCcIYI8gauveasrdCu2IKIFOJ3f0v/8MDGJCDL9oD2ppz/Av1b0Nj345H9M+XIA== 291 | dependencies: 292 | sourcemap-codec "^1.4.4" 293 | 294 | minimatch@^3.0.4: 295 | version "3.1.2" 296 | resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" 297 | integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== 298 | dependencies: 299 | brace-expansion "^1.1.7" 300 | 301 | nanoid@^3.3.3: 302 | version "3.3.4" 303 | resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.4.tgz#730b67e3cd09e2deacf03c027c81c9d9dbc5e8ab" 304 | integrity sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw== 305 | 306 | once@^1.3.0: 307 | version "1.4.0" 308 | resolved "https://registry.npmjs.org/once/-/once-1.4.0.tgz" 309 | integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E= 310 | dependencies: 311 | wrappy "1" 312 | 313 | path-is-absolute@^1.0.0: 314 | version "1.0.1" 315 | resolved "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz" 316 | integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18= 317 | 318 | path-parse@^1.0.7: 319 | version "1.0.7" 320 | resolved "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz" 321 | integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== 322 | 323 | path@^0.12.7: 324 | version "0.12.7" 325 | resolved "https://registry.npmjs.org/path/-/path-0.12.7.tgz" 326 | integrity sha1-1NwqUGxM4hl+tIHr/NWzbAFAsQ8= 327 | dependencies: 328 | process "^0.11.1" 329 | util "^0.10.3" 330 | 331 | phaser@^3.55.2: 332 | version "3.55.2" 333 | resolved "https://registry.npmjs.org/phaser/-/phaser-3.55.2.tgz" 334 | integrity sha512-amKXsbb2Ht29dGPKvt1edq3yGGYKtq8373GpJYGKPNPnneYY6MtVTOgjHDuZwtmUyK4v86FugkT3hzW/N4tjxQ== 335 | dependencies: 336 | eventemitter3 "^4.0.7" 337 | path "^0.12.7" 338 | 339 | picocolors@^1.0.0: 340 | version "1.0.0" 341 | resolved "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz" 342 | integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== 343 | 344 | picomatch@^2.2.2: 345 | version "2.2.2" 346 | resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz" 347 | integrity sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg== 348 | 349 | postcss@^8.4.13: 350 | version "8.4.13" 351 | resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.13.tgz#7c87bc268e79f7f86524235821dfdf9f73e5d575" 352 | integrity sha512-jtL6eTBrza5MPzy8oJLFuUscHDXTV5KcLlqAWHl5q5WYRfnNRGSmOZmOZ1T6Gy7A99mOZfqungmZMpMmCVJ8ZA== 353 | dependencies: 354 | nanoid "^3.3.3" 355 | picocolors "^1.0.0" 356 | source-map-js "^1.0.2" 357 | 358 | process@^0.11.1: 359 | version "0.11.10" 360 | resolved "https://registry.npmjs.org/process/-/process-0.11.10.tgz" 361 | integrity sha1-czIwDoQBYb2j5podHZGn1LwW8YI= 362 | 363 | resolve@^1.17.0, resolve@^1.22.0: 364 | version "1.22.0" 365 | resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.0.tgz#5e0b8c67c15df57a89bdbabe603a002f21731198" 366 | integrity sha512-Hhtrw0nLeSrFQ7phPp4OOcVjLPIeMnRlr5mcnVuMe7M/7eBn98A3hmFRLoFo3DLZkivSYwhRUJTyPyWAk56WLw== 367 | dependencies: 368 | is-core-module "^2.8.1" 369 | path-parse "^1.0.7" 370 | supports-preserve-symlinks-flag "^1.0.0" 371 | 372 | rollup@^2.59.0: 373 | version "2.64.0" 374 | resolved "https://registry.npmjs.org/rollup/-/rollup-2.64.0.tgz" 375 | integrity sha512-+c+lbw1lexBKSMb1yxGDVfJ+vchJH3qLbmavR+awDinTDA2C5Ug9u7lkOzj62SCu0PKUExsW36tpgW7Fmpn3yQ== 376 | optionalDependencies: 377 | fsevents "~2.3.2" 378 | 379 | slash@^3.0.0: 380 | version "3.0.0" 381 | resolved "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz" 382 | integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== 383 | 384 | source-map-js@^1.0.2: 385 | version "1.0.2" 386 | resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.0.2.tgz#adbc361d9c62df380125e7f161f71c826f1e490c" 387 | integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw== 388 | 389 | sourcemap-codec@^1.4.4: 390 | version "1.4.8" 391 | resolved "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz" 392 | integrity sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA== 393 | 394 | supports-preserve-symlinks-flag@^1.0.0: 395 | version "1.0.0" 396 | resolved "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz" 397 | integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== 398 | 399 | typescript@^4.6.4: 400 | version "4.6.4" 401 | resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.6.4.tgz#caa78bbc3a59e6a5c510d35703f6a09877ce45e9" 402 | integrity sha512-9ia/jWHIEbo49HfjrLGfKbZSuWo9iTMwXO+Ca3pRsSpbsMbc7/IU8NKdCZVRRBafVPGnoJeFL76ZOAA84I9fEg== 403 | 404 | util@^0.10.3: 405 | version "0.10.4" 406 | resolved "https://registry.npmjs.org/util/-/util-0.10.4.tgz" 407 | integrity sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A== 408 | dependencies: 409 | inherits "2.0.3" 410 | 411 | vite@^2.9.13: 412 | version "2.9.13" 413 | resolved "https://registry.yarnpkg.com/vite/-/vite-2.9.13.tgz#859cb5d4c316c0d8c6ec9866045c0f7858ca6abc" 414 | integrity sha512-AsOBAaT0AD7Mhe8DuK+/kE4aWYFMx/i0ZNi98hJclxb4e0OhQcZYUrvLjIaQ8e59Ui7txcvKMiJC1yftqpQoDw== 415 | dependencies: 416 | esbuild "^0.14.27" 417 | postcss "^8.4.13" 418 | resolve "^1.22.0" 419 | rollup "^2.59.0" 420 | optionalDependencies: 421 | fsevents "~2.3.2" 422 | 423 | wrappy@1: 424 | version "1.0.2" 425 | resolved "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz" 426 | integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8= 427 | --------------------------------------------------------------------------------