chore: first commit
This commit is contained in:
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
node_modules
|
||||||
|
dist
|
||||||
|
.idea
|
||||||
11
index.html
Normal file
11
index.html
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>Stocca Tre Pizzeria</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="root"><!-- app goes here --></div>
|
||||||
|
<script type="module" src="./src/main.ts"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
377
package-lock.json
generated
Normal file
377
package-lock.json
generated
Normal file
@@ -0,0 +1,377 @@
|
|||||||
|
{
|
||||||
|
"name": "stocca-tre",
|
||||||
|
"version": "0.0.1",
|
||||||
|
"lockfileVersion": 1,
|
||||||
|
"requires": true,
|
||||||
|
"dependencies": {
|
||||||
|
"@djledda/ladder": {
|
||||||
|
"version": "1.0.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/@djledda/ladder/-/ladder-1.0.2.tgz",
|
||||||
|
"integrity": "sha512-cm8RA+HZwmflzwoPH1h36/+4a9IKZ1HVHdUPE8xBiY303PWrQ2oaBUDtok76/3kH0I1QWt4jj+jKjnPJsnozsg=="
|
||||||
|
},
|
||||||
|
"@types/node": {
|
||||||
|
"version": "17.0.41",
|
||||||
|
"resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.41.tgz",
|
||||||
|
"integrity": "sha512-xA6drNNeqb5YyV5fO3OAEsnXLfO7uF0whiOfPTz5AeDo8KeZFmODKnvwPymMNO8qE/an8pVY/O50tig2SQCrGw=="
|
||||||
|
},
|
||||||
|
"anymatch": {
|
||||||
|
"version": "3.1.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz",
|
||||||
|
"integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==",
|
||||||
|
"requires": {
|
||||||
|
"normalize-path": "^3.0.0",
|
||||||
|
"picomatch": "^2.0.4"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"binary-extensions": {
|
||||||
|
"version": "2.2.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz",
|
||||||
|
"integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA=="
|
||||||
|
},
|
||||||
|
"braces": {
|
||||||
|
"version": "3.0.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
|
||||||
|
"integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
|
||||||
|
"requires": {
|
||||||
|
"fill-range": "^7.0.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"chokidar": {
|
||||||
|
"version": "3.5.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz",
|
||||||
|
"integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==",
|
||||||
|
"requires": {
|
||||||
|
"anymatch": "~3.1.2",
|
||||||
|
"braces": "~3.0.2",
|
||||||
|
"fsevents": "~2.3.2",
|
||||||
|
"glob-parent": "~5.1.2",
|
||||||
|
"is-binary-path": "~2.1.0",
|
||||||
|
"is-glob": "~4.0.1",
|
||||||
|
"normalize-path": "~3.0.0",
|
||||||
|
"readdirp": "~3.6.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"esbuild": {
|
||||||
|
"version": "0.14.42",
|
||||||
|
"resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.14.42.tgz",
|
||||||
|
"integrity": "sha512-V0uPZotCEHokJdNqyozH6qsaQXqmZEOiZWrXnds/zaH/0SyrIayRXWRB98CENO73MIZ9T3HBIOsmds5twWtmgw==",
|
||||||
|
"requires": {
|
||||||
|
"esbuild-android-64": "0.14.42",
|
||||||
|
"esbuild-android-arm64": "0.14.42",
|
||||||
|
"esbuild-darwin-64": "0.14.42",
|
||||||
|
"esbuild-darwin-arm64": "0.14.42",
|
||||||
|
"esbuild-freebsd-64": "0.14.42",
|
||||||
|
"esbuild-freebsd-arm64": "0.14.42",
|
||||||
|
"esbuild-linux-32": "0.14.42",
|
||||||
|
"esbuild-linux-64": "0.14.42",
|
||||||
|
"esbuild-linux-arm": "0.14.42",
|
||||||
|
"esbuild-linux-arm64": "0.14.42",
|
||||||
|
"esbuild-linux-mips64le": "0.14.42",
|
||||||
|
"esbuild-linux-ppc64le": "0.14.42",
|
||||||
|
"esbuild-linux-riscv64": "0.14.42",
|
||||||
|
"esbuild-linux-s390x": "0.14.42",
|
||||||
|
"esbuild-netbsd-64": "0.14.42",
|
||||||
|
"esbuild-openbsd-64": "0.14.42",
|
||||||
|
"esbuild-sunos-64": "0.14.42",
|
||||||
|
"esbuild-windows-32": "0.14.42",
|
||||||
|
"esbuild-windows-64": "0.14.42",
|
||||||
|
"esbuild-windows-arm64": "0.14.42"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"esbuild-android-64": {
|
||||||
|
"version": "0.14.42",
|
||||||
|
"resolved": "https://registry.npmjs.org/esbuild-android-64/-/esbuild-android-64-0.14.42.tgz",
|
||||||
|
"integrity": "sha512-P4Y36VUtRhK/zivqGVMqhptSrFILAGlYp0Z8r9UQqHJ3iWztRCNWnlBzD9HRx0DbueXikzOiwyOri+ojAFfW6A==",
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"esbuild-android-arm64": {
|
||||||
|
"version": "0.14.42",
|
||||||
|
"resolved": "https://registry.npmjs.org/esbuild-android-arm64/-/esbuild-android-arm64-0.14.42.tgz",
|
||||||
|
"integrity": "sha512-0cOqCubq+RWScPqvtQdjXG3Czb3AWI2CaKw3HeXry2eoA2rrPr85HF7IpdU26UWdBXgPYtlTN1LUiuXbboROhg==",
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"esbuild-darwin-64": {
|
||||||
|
"version": "0.14.42",
|
||||||
|
"resolved": "https://registry.npmjs.org/esbuild-darwin-64/-/esbuild-darwin-64-0.14.42.tgz",
|
||||||
|
"integrity": "sha512-ipiBdCA3ZjYgRfRLdQwP82rTiv/YVMtW36hTvAN5ZKAIfxBOyPXY7Cejp3bMXWgzKD8B6O+zoMzh01GZsCuEIA==",
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"esbuild-darwin-arm64": {
|
||||||
|
"version": "0.14.42",
|
||||||
|
"resolved": "https://registry.npmjs.org/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.14.42.tgz",
|
||||||
|
"integrity": "sha512-bU2tHRqTPOaoH/4m0zYHbFWpiYDmaA0gt90/3BMEFaM0PqVK/a6MA2V/ypV5PO0v8QxN6gH5hBPY4YJ2lopXgA==",
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"esbuild-freebsd-64": {
|
||||||
|
"version": "0.14.42",
|
||||||
|
"resolved": "https://registry.npmjs.org/esbuild-freebsd-64/-/esbuild-freebsd-64-0.14.42.tgz",
|
||||||
|
"integrity": "sha512-75h1+22Ivy07+QvxHyhVqOdekupiTZVLN1PMwCDonAqyXd8TVNJfIRFrdL8QmSJrOJJ5h8H1I9ETyl2L8LQDaw==",
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"esbuild-freebsd-arm64": {
|
||||||
|
"version": "0.14.42",
|
||||||
|
"resolved": "https://registry.npmjs.org/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.14.42.tgz",
|
||||||
|
"integrity": "sha512-W6Jebeu5TTDQMJUJVarEzRU9LlKpNkPBbjqSu+GUPTHDCly5zZEQq9uHkmHHl7OKm+mQ2zFySN83nmfCeZCyNA==",
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"esbuild-linux-32": {
|
||||||
|
"version": "0.14.42",
|
||||||
|
"resolved": "https://registry.npmjs.org/esbuild-linux-32/-/esbuild-linux-32-0.14.42.tgz",
|
||||||
|
"integrity": "sha512-Ooy/Bj+mJ1z4jlWcK5Dl6SlPlCgQB9zg1UrTCeY8XagvuWZ4qGPyYEWGkT94HUsRi2hKsXvcs6ThTOjBaJSMfg==",
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"esbuild-linux-64": {
|
||||||
|
"version": "0.14.42",
|
||||||
|
"resolved": "https://registry.npmjs.org/esbuild-linux-64/-/esbuild-linux-64-0.14.42.tgz",
|
||||||
|
"integrity": "sha512-2L0HbzQfbTuemUWfVqNIjOfaTRt9zsvjnme6lnr7/MO9toz/MJ5tZhjqrG6uDWDxhsaHI2/nsDgrv8uEEN2eoA==",
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"esbuild-linux-arm": {
|
||||||
|
"version": "0.14.42",
|
||||||
|
"resolved": "https://registry.npmjs.org/esbuild-linux-arm/-/esbuild-linux-arm-0.14.42.tgz",
|
||||||
|
"integrity": "sha512-STq69yzCMhdRaWnh29UYrLSr/qaWMm/KqwaRF1pMEK7kDiagaXhSL1zQGXbYv94GuGY/zAwzK98+6idCMUOOCg==",
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"esbuild-linux-arm64": {
|
||||||
|
"version": "0.14.42",
|
||||||
|
"resolved": "https://registry.npmjs.org/esbuild-linux-arm64/-/esbuild-linux-arm64-0.14.42.tgz",
|
||||||
|
"integrity": "sha512-c3Ug3e9JpVr8jAcfbhirtpBauLxzYPpycjWulD71CF6ZSY26tvzmXMJYooQ2YKqDY4e/fPu5K8bm7MiXMnyxuA==",
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"esbuild-linux-mips64le": {
|
||||||
|
"version": "0.14.42",
|
||||||
|
"resolved": "https://registry.npmjs.org/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.14.42.tgz",
|
||||||
|
"integrity": "sha512-QuvpHGbYlkyXWf2cGm51LBCHx6eUakjaSrRpUqhPwjh/uvNUYvLmz2LgPTTPwCqaKt0iwL+OGVL0tXA5aDbAbg==",
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"esbuild-linux-ppc64le": {
|
||||||
|
"version": "0.14.42",
|
||||||
|
"resolved": "https://registry.npmjs.org/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.14.42.tgz",
|
||||||
|
"integrity": "sha512-8ohIVIWDbDT+i7lCx44YCyIRrOW1MYlks9fxTo0ME2LS/fxxdoJBwHWzaDYhjvf8kNpA+MInZvyOEAGoVDrMHg==",
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"esbuild-linux-riscv64": {
|
||||||
|
"version": "0.14.42",
|
||||||
|
"resolved": "https://registry.npmjs.org/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.14.42.tgz",
|
||||||
|
"integrity": "sha512-DzDqK3TuoXktPyG1Lwx7vhaF49Onv3eR61KwQyxYo4y5UKTpL3NmuarHSIaSVlTFDDpcIajCDwz5/uwKLLgKiQ==",
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"esbuild-linux-s390x": {
|
||||||
|
"version": "0.14.42",
|
||||||
|
"resolved": "https://registry.npmjs.org/esbuild-linux-s390x/-/esbuild-linux-s390x-0.14.42.tgz",
|
||||||
|
"integrity": "sha512-YFRhPCxl8nb//Wn6SiS5pmtplBi4z9yC2gLrYoYI/tvwuB1jldir9r7JwAGy1Ck4D7sE7wBN9GFtUUX/DLdcEQ==",
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"esbuild-netbsd-64": {
|
||||||
|
"version": "0.14.42",
|
||||||
|
"resolved": "https://registry.npmjs.org/esbuild-netbsd-64/-/esbuild-netbsd-64-0.14.42.tgz",
|
||||||
|
"integrity": "sha512-QYSD2k+oT9dqB/4eEM9c+7KyNYsIPgzYOSrmfNGDIyJrbT1d+CFVKvnKahDKNJLfOYj8N4MgyFaU9/Ytc6w5Vw==",
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"esbuild-openbsd-64": {
|
||||||
|
"version": "0.14.42",
|
||||||
|
"resolved": "https://registry.npmjs.org/esbuild-openbsd-64/-/esbuild-openbsd-64-0.14.42.tgz",
|
||||||
|
"integrity": "sha512-M2meNVIKWsm2HMY7+TU9AxM7ZVwI9havdsw6m/6EzdXysyCFFSoaTQ/Jg03izjCsK17FsVRHqRe26Llj6x0MNA==",
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"esbuild-sunos-64": {
|
||||||
|
"version": "0.14.42",
|
||||||
|
"resolved": "https://registry.npmjs.org/esbuild-sunos-64/-/esbuild-sunos-64-0.14.42.tgz",
|
||||||
|
"integrity": "sha512-uXV8TAZEw36DkgW8Ak3MpSJs1ofBb3Smkc/6pZ29sCAN1KzCAQzsje4sUwugf+FVicrHvlamCOlFZIXgct+iqQ==",
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"esbuild-windows-32": {
|
||||||
|
"version": "0.14.42",
|
||||||
|
"resolved": "https://registry.npmjs.org/esbuild-windows-32/-/esbuild-windows-32-0.14.42.tgz",
|
||||||
|
"integrity": "sha512-4iw/8qWmRICWi9ZOnJJf9sYt6wmtp3hsN4TdI5NqgjfOkBVMxNdM9Vt3626G1Rda9ya2Q0hjQRD9W1o+m6Lz6g==",
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"esbuild-windows-64": {
|
||||||
|
"version": "0.14.42",
|
||||||
|
"resolved": "https://registry.npmjs.org/esbuild-windows-64/-/esbuild-windows-64-0.14.42.tgz",
|
||||||
|
"integrity": "sha512-j3cdK+Y3+a5H0wHKmLGTJcq0+/2mMBHPWkItR3vytp/aUGD/ua/t2BLdfBIzbNN9nLCRL9sywCRpOpFMx3CxzA==",
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"esbuild-windows-arm64": {
|
||||||
|
"version": "0.14.42",
|
||||||
|
"resolved": "https://registry.npmjs.org/esbuild-windows-arm64/-/esbuild-windows-arm64-0.14.42.tgz",
|
||||||
|
"integrity": "sha512-+lRAARnF+hf8J0mN27ujO+VbhPbDqJ8rCcJKye4y7YZLV6C4n3pTRThAb388k/zqF5uM0lS5O201u0OqoWSicw==",
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"fill-range": {
|
||||||
|
"version": "7.0.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
|
||||||
|
"integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
|
||||||
|
"requires": {
|
||||||
|
"to-regex-range": "^5.0.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"fsevents": {
|
||||||
|
"version": "2.3.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",
|
||||||
|
"integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
|
"function-bind": {
|
||||||
|
"version": "1.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
|
||||||
|
"integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
|
||||||
|
},
|
||||||
|
"glob-parent": {
|
||||||
|
"version": "5.1.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
|
||||||
|
"integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
|
||||||
|
"requires": {
|
||||||
|
"is-glob": "^4.0.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"has": {
|
||||||
|
"version": "1.0.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
|
||||||
|
"integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
|
||||||
|
"requires": {
|
||||||
|
"function-bind": "^1.1.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"immutable": {
|
||||||
|
"version": "4.1.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/immutable/-/immutable-4.1.0.tgz",
|
||||||
|
"integrity": "sha512-oNkuqVTA8jqG1Q6c+UglTOD1xhC1BtjKI7XkCXRkZHrN5m18/XsnUp8Q89GkQO/z+0WjonSvl0FLhDYftp46nQ=="
|
||||||
|
},
|
||||||
|
"is-binary-path": {
|
||||||
|
"version": "2.1.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
|
||||||
|
"integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
|
||||||
|
"requires": {
|
||||||
|
"binary-extensions": "^2.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"is-core-module": {
|
||||||
|
"version": "2.9.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.9.0.tgz",
|
||||||
|
"integrity": "sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A==",
|
||||||
|
"requires": {
|
||||||
|
"has": "^1.0.3"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"is-extglob": {
|
||||||
|
"version": "2.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
|
||||||
|
"integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ=="
|
||||||
|
},
|
||||||
|
"is-glob": {
|
||||||
|
"version": "4.0.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
|
||||||
|
"integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
|
||||||
|
"requires": {
|
||||||
|
"is-extglob": "^2.1.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"is-number": {
|
||||||
|
"version": "7.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
|
||||||
|
"integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng=="
|
||||||
|
},
|
||||||
|
"nanoid": {
|
||||||
|
"version": "3.3.4",
|
||||||
|
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz",
|
||||||
|
"integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw=="
|
||||||
|
},
|
||||||
|
"normalize-path": {
|
||||||
|
"version": "3.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
|
||||||
|
"integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA=="
|
||||||
|
},
|
||||||
|
"path-parse": {
|
||||||
|
"version": "1.0.7",
|
||||||
|
"resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
|
||||||
|
"integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw=="
|
||||||
|
},
|
||||||
|
"picocolors": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
|
||||||
|
"integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ=="
|
||||||
|
},
|
||||||
|
"picomatch": {
|
||||||
|
"version": "2.3.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
|
||||||
|
"integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA=="
|
||||||
|
},
|
||||||
|
"postcss": {
|
||||||
|
"version": "8.4.14",
|
||||||
|
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.14.tgz",
|
||||||
|
"integrity": "sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig==",
|
||||||
|
"requires": {
|
||||||
|
"nanoid": "^3.3.4",
|
||||||
|
"picocolors": "^1.0.0",
|
||||||
|
"source-map-js": "^1.0.2"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"readdirp": {
|
||||||
|
"version": "3.6.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",
|
||||||
|
"integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",
|
||||||
|
"requires": {
|
||||||
|
"picomatch": "^2.2.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"resolve": {
|
||||||
|
"version": "1.22.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.0.tgz",
|
||||||
|
"integrity": "sha512-Hhtrw0nLeSrFQ7phPp4OOcVjLPIeMnRlr5mcnVuMe7M/7eBn98A3hmFRLoFo3DLZkivSYwhRUJTyPyWAk56WLw==",
|
||||||
|
"requires": {
|
||||||
|
"is-core-module": "^2.8.1",
|
||||||
|
"path-parse": "^1.0.7",
|
||||||
|
"supports-preserve-symlinks-flag": "^1.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"rollup": {
|
||||||
|
"version": "2.75.6",
|
||||||
|
"resolved": "https://registry.npmjs.org/rollup/-/rollup-2.75.6.tgz",
|
||||||
|
"integrity": "sha512-OEf0TgpC9vU6WGROJIk1JA3LR5vk/yvqlzxqdrE2CzzXnqKXNzbAwlWUXis8RS3ZPe7LAq+YUxsRa0l3r27MLA==",
|
||||||
|
"requires": {
|
||||||
|
"fsevents": "~2.3.2"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"sass": {
|
||||||
|
"version": "1.52.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/sass/-/sass-1.52.2.tgz",
|
||||||
|
"integrity": "sha512-mfHB2VSeFS7sZlPv9YohB9GB7yWIgQNTGniQwfQ04EoQN0wsQEv7SwpCwy/x48Af+Z3vDeFXz+iuXM3HK/phZQ==",
|
||||||
|
"requires": {
|
||||||
|
"chokidar": ">=3.0.0 <4.0.0",
|
||||||
|
"immutable": "^4.0.0",
|
||||||
|
"source-map-js": ">=0.6.2 <2.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"source-map-js": {
|
||||||
|
"version": "1.0.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz",
|
||||||
|
"integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw=="
|
||||||
|
},
|
||||||
|
"supports-preserve-symlinks-flag": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",
|
||||||
|
"integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w=="
|
||||||
|
},
|
||||||
|
"to-regex-range": {
|
||||||
|
"version": "5.0.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
|
||||||
|
"integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
|
||||||
|
"requires": {
|
||||||
|
"is-number": "^7.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"vite": {
|
||||||
|
"version": "2.9.10",
|
||||||
|
"resolved": "https://registry.npmjs.org/vite/-/vite-2.9.10.tgz",
|
||||||
|
"integrity": "sha512-TwZRuSMYjpTurLqXspct+HZE7ONiW9d+wSWgvADGxhDPPyoIcNywY+RX4ng+QpK30DCa1l/oZgi2PLZDibhzbQ==",
|
||||||
|
"requires": {
|
||||||
|
"esbuild": "^0.14.27",
|
||||||
|
"fsevents": "~2.3.2",
|
||||||
|
"postcss": "^8.4.13",
|
||||||
|
"resolve": "^1.22.0",
|
||||||
|
"rollup": "^2.59.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
21
package.json
Normal file
21
package.json
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
{
|
||||||
|
"name": "stocca-tre",
|
||||||
|
"version": "0.0.1",
|
||||||
|
"description": "pizza im dritten stock",
|
||||||
|
"scripts": {
|
||||||
|
"dev": "vite",
|
||||||
|
"build": "vite build"
|
||||||
|
},
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.djledda.de/Ledda/stocca-tre.git"
|
||||||
|
},
|
||||||
|
"author": "Daniel Ledda",
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"@djledda/ladder": "^1.0.2",
|
||||||
|
"@types/node": "^17.0.41",
|
||||||
|
"sass": "^1.52.2",
|
||||||
|
"vite": "^2.9.10"
|
||||||
|
}
|
||||||
|
}
|
||||||
24
src/StoccaTreRoot/index.tsx
Normal file
24
src/StoccaTreRoot/index.tsx
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
import { h, Rung } from "@djledda/ladder";
|
||||||
|
import StoccaTreLogo from "@/assets/stocca-tre-logo.svg";
|
||||||
|
import "./stocca-tre-root.scss";
|
||||||
|
|
||||||
|
export default class StoccaTreRoot extends Rung {
|
||||||
|
constructor() {
|
||||||
|
super({});
|
||||||
|
}
|
||||||
|
|
||||||
|
build(): Node {
|
||||||
|
return <div className={"stocca-tre-root"}>
|
||||||
|
<img alt={"Stocca Tre Pizzera"} src={StoccaTreLogo} />
|
||||||
|
<p>Die Pizzeria im dritten Stock.</p>
|
||||||
|
<hr></hr>
|
||||||
|
<h3>
|
||||||
|
Pizza-Bestellungen:
|
||||||
|
</h3>
|
||||||
|
<em className={"no-pizza"}>
|
||||||
|
Keine Pizzen aktuell verfügbar!!!!!
|
||||||
|
Später mal wieder vorbeischauen. Die Pizzen müssen ja noch lange gehen...
|
||||||
|
</em>
|
||||||
|
</div>;
|
||||||
|
}
|
||||||
|
}
|
||||||
5
src/StoccaTreRoot/stocca-tre-root.scss
Normal file
5
src/StoccaTreRoot/stocca-tre-root.scss
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
.stocca-tre-root {
|
||||||
|
.no-pizza {
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
|
}
|
||||||
99
src/assets/stocca-tre-logo.svg
Normal file
99
src/assets/stocca-tre-logo.svg
Normal file
@@ -0,0 +1,99 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||||
|
|
||||||
|
<svg
|
||||||
|
width="160.47701mm"
|
||||||
|
height="53.365002mm"
|
||||||
|
viewBox="0 0 160.47701 53.365002"
|
||||||
|
version="1.1"
|
||||||
|
id="svg31154"
|
||||||
|
inkscape:version="1.1.2 (08b2f3d93c, 2022-04-05)"
|
||||||
|
sodipodi:docname="stocca-tre-logo.svg"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg">
|
||||||
|
<sodipodi:namedview
|
||||||
|
id="namedview31156"
|
||||||
|
pagecolor="#505050"
|
||||||
|
bordercolor="#eeeeee"
|
||||||
|
borderopacity="1"
|
||||||
|
inkscape:pageshadow="0"
|
||||||
|
inkscape:pageopacity="0"
|
||||||
|
inkscape:pagecheckerboard="0"
|
||||||
|
inkscape:document-units="mm"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:zoom="1.5037598"
|
||||||
|
inkscape:cx="274.97742"
|
||||||
|
inkscape:cy="122.02747"
|
||||||
|
inkscape:window-width="1920"
|
||||||
|
inkscape:window-height="1016"
|
||||||
|
inkscape:window-x="1920"
|
||||||
|
inkscape:window-y="27"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:current-layer="layer1" />
|
||||||
|
<defs
|
||||||
|
id="defs31151" />
|
||||||
|
<g
|
||||||
|
inkscape:label="Layer 1"
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
id="layer1">
|
||||||
|
<g
|
||||||
|
id="Ebene_1-2"
|
||||||
|
data-name="Ebene 1"
|
||||||
|
transform="matrix(0.47008949,0,0,0.47008949,0,12.066247)">
|
||||||
|
<path
|
||||||
|
class="cls-1"
|
||||||
|
d="m 29.34,31.29 a 16.54,16.54 0 0 0 -4.9,-2.05 c -1.78,-0.45 -3.63,-0.82 -5.5,-1.11 -1.87,-0.29 -3.35,-0.64 -4.55,-1 A 11.52,11.52 0 0 1 11.58,26 4,4 0 0 1 10.2,24.5 5.71,5.71 0 0 1 9.81,22.27 a 5.4,5.4 0 0 1 0.39,-2.06 4.51,4.51 0 0 1 1.28,-1.66 6.26,6.26 0 0 1 2.17,-1.19 10.39,10.39 0 0 1 3.22,-0.45 9.54,9.54 0 0 1 5.94,1.63 5.31,5.31 0 0 1 2.19,4.13 v 0.53 h 7.93 V 22.64 A 11.37,11.37 0 0 0 28.45,13.51 15.86,15.86 0 0 0 23.33,10.89 21.5,21.5 0 0 0 16.87,10 a 20.75,20.75 0 0 0 -6.5,0.94 13.59,13.59 0 0 0 -4.69,2.64 10.85,10.85 0 0 0 -2.83,3.95 12.36,12.36 0 0 0 -1,4.84 11.12,11.12 0 0 0 1.21,5.41 10.87,10.87 0 0 0 3.25,3.66 16.68,16.68 0 0 0 4.69,2.2 40.08,40.08 0 0 0 5.47,1.2 c 1.56,0.26 3,0.55 4.2,0.87 a 10.8,10.8 0 0 1 3,1.12 4.93,4.93 0 0 1 1.79,1.68 A 4.49,4.49 0 0 1 26.07,41 5.15,5.15 0 0 1 24,45.34 C 22.54,46.41 20.35,47 17.47,47 a 14.17,14.17 0 0 1 -4.17,-0.56 9.5,9.5 0 0 1 -3,-1.6 6.71,6.71 0 0 1 -1.82,-2.29 7.15,7.15 0 0 1 -0.66,-2.9 V 39.1 L 0,39 v 0.56 a 13.7,13.7 0 0 0 1.07,5.29 13.22,13.22 0 0 0 3.31,4.49 16.55,16.55 0 0 0 5.47,3.15 22.31,22.31 0 0 0 7.58,1.18 26,26 0 0 0 6.7,-0.81 15.62,15.62 0 0 0 5.32,-2.45 11.64,11.64 0 0 0 3.55,-4.1 12.79,12.79 0 0 0 1.24,-5.74 10.88,10.88 0 0 0 -1.34,-5.66 10.66,10.66 0 0 0 -3.56,-3.62 z"
|
||||||
|
id="path36565" />
|
||||||
|
<polygon
|
||||||
|
class="cls-1"
|
||||||
|
points="68.5,11.14 54.56,11.14 54.56,0 46.53,0 46.53,11.14 37.56,11.14 37.56,18.62 46.53,18.62 46.53,52.55 54.56,52.55 54.56,18.62 68.5,18.62 "
|
||||||
|
id="polygon36567" />
|
||||||
|
<path
|
||||||
|
class="cls-1"
|
||||||
|
d="m 109.73,23.41 a 21.22,21.22 0 0 0 -11.48,-11.59 22.55,22.55 0 0 0 -17.18,0 21.31,21.31 0 0 0 -11.44,11.63 23,23 0 0 0 0,17.06 22.28,22.28 0 0 0 4.55,6.94 21.39,21.39 0 0 0 15.49,6.35 21.62,21.62 0 0 0 15.48,-6.35 22,22 0 0 0 4.59,-6.94 22.4,22.4 0 0 0 1.66,-8.51 22.1,22.1 0 0 0 -1.67,-8.59 z m -7.48,14.06 a 13.29,13.29 0 0 1 -2.88,4.44 13.68,13.68 0 0 1 -4.31,3 14.18,14.18 0 0 1 -10.73,0 14.43,14.43 0 0 1 -4.34,-3 14.15,14.15 0 0 1 -3.91,-10 14.52,14.52 0 0 1 1,-5.48 13.79,13.79 0 0 1 2.92,-4.38 13.69,13.69 0 0 1 9.7,-4.05 13.15,13.15 0 0 1 5.36,1.11 12.85,12.85 0 0 1 4.31,3 13.48,13.48 0 0 1 2.89,4.44 14.68,14.68 0 0 1 0,11 z"
|
||||||
|
id="path36569" />
|
||||||
|
<path
|
||||||
|
class="cls-1"
|
||||||
|
d="m 149.77,38.11 a 12.46,12.46 0 0 1 -1.92,3.28 12.86,12.86 0 0 1 -2.76,2.46 13.91,13.91 0 0 1 -3.41,1.55 13.46,13.46 0 0 1 -13.19,-3.33 14.13,14.13 0 0 1 -3,-4.41 14.45,14.45 0 0 1 -1.1,-5.7 14.14,14.14 0 0 1 1.1,-5.66 13.68,13.68 0 0 1 7.25,-7.3 13.84,13.84 0 0 1 8.83,-0.53 12.6,12.6 0 0 1 3.29,1.44 11.81,11.81 0 0 1 2.69,2.31 11.21,11.21 0 0 1 1.95,3 l 0.15,0.33 h 8.45 l -0.2,-0.71 a 18.7,18.7 0 0 0 -2.8,-5.93 19.48,19.48 0 0 0 -4.51,-4.68 20.67,20.67 0 0 0 -5.89,-3 21.51,21.51 0 0 0 -6.93,-1.1 21.1,21.1 0 0 0 -8.48,1.71 21.37,21.37 0 0 0 -6.77,4.66 22,22 0 0 0 -4.54,7 22.34,22.34 0 0 0 -1.62,8.5 22.66,22.66 0 0 0 1.64,8.51 22.09,22.09 0 0 0 4.54,6.93 21.75,21.75 0 0 0 6.81,4.67 21.11,21.11 0 0 0 8.44,1.7 22,22 0 0 0 7.09,-1.13 20,20 0 0 0 6,-3.13 19.44,19.44 0 0 0 4.52,-4.84 19.76,19.76 0 0 0 2.6,-6.27 l 0.15,-0.68 h -8.23 z"
|
||||||
|
id="path36571" />
|
||||||
|
<path
|
||||||
|
class="cls-1"
|
||||||
|
d="m 194.94401,38.11 a 12.46,12.46 0 0 1 -1.92,3.28 12.86,12.86 0 0 1 -2.76,2.46 13.91,13.91 0 0 1 -3.41,1.55 13.46,13.46 0 0 1 -13.19,-3.33 14.13,14.13 0 0 1 -3,-4.41 14.45,14.45 0 0 1 -1.1,-5.7 14.14,14.14 0 0 1 1.1,-5.66 13.68,13.68 0 0 1 7.25,-7.3 13.84,13.84 0 0 1 8.83,-0.53 12.6,12.6 0 0 1 3.29,1.44 11.81,11.81 0 0 1 2.69,2.31 11.21,11.21 0 0 1 1.95,3 l 0.15,0.33 h 8.45 l -0.2,-0.71 a 18.7,18.7 0 0 0 -2.8,-5.93 19.48,19.48 0 0 0 -4.51,-4.68 20.67,20.67 0 0 0 -5.89,-3 21.51,21.51 0 0 0 -6.93,-1.1 21.1,21.1 0 0 0 -8.48,1.71 21.37,21.37 0 0 0 -6.77,4.66 22,22 0 0 0 -4.54,7 22.34,22.34 0 0 0 -1.62,8.5 22.66,22.66 0 0 0 1.64,8.51 22.09,22.09 0 0 0 4.54,6.93 21.75,21.75 0 0 0 6.81,4.67 21.11,21.11 0 0 0 8.44,1.7 22,22 0 0 0 7.09,-1.13 20,20 0 0 0 6,-3.13 19.44,19.44 0 0 0 4.52,-4.84 19.76,19.76 0 0 0 2.6,-6.27 l 0.15,-0.68 h -8.23 z"
|
||||||
|
id="path36571-3" />
|
||||||
|
<g
|
||||||
|
aria-label="a"
|
||||||
|
id="text2064"
|
||||||
|
style="font-size:108.065px;line-height:1.25;stroke-width:0.562836"
|
||||||
|
transform="matrix(0.99399311,0,0,0.99399311,-0.99617961,0.06084596)">
|
||||||
|
<path
|
||||||
|
d="m 229.19684,53.81046 q -8.5682,0 -14.44834,-6.384154 -5.79614,-6.384153 -5.79614,-15.456371 0,-9.072218 5.79614,-15.456371 5.88014,-6.384153 14.44834,-6.384153 4.28411,0 7.8962,1.932047 3.61208,1.848043 5.54413,4.536108 v -5.628135 h 9.24022 V 52.97044 h -9.24022 v -5.628136 q -1.93205,2.688065 -5.54413,4.620111 -3.61209,1.848045 -7.8962,1.848045 z m -7.30817,-12.264296 q 3.52809,3.864093 8.98821,3.864093 5.46014,0 8.98822,-3.864093 3.52809,-3.864092 3.52809,-9.576229 0,-5.712137 -3.52809,-9.57623 -3.52808,-3.864093 -8.98822,-3.864093 -5.46012,0 -8.98821,3.864093 -3.52809,3.864093 -3.52809,9.57623 0,5.712137 3.52809,9.576229 z"
|
||||||
|
style="font-family:'Euclid Circular A';-inkscape-font-specification:'Euclid Circular A';stroke-width:0.437509"
|
||||||
|
id="path13083" />
|
||||||
|
</g>
|
||||||
|
<text
|
||||||
|
xml:space="preserve"
|
||||||
|
style="font-style:normal;font-weight:normal;font-size:95.5532px;line-height:1.25;font-family:sans-serif;opacity:0.99;fill:#aa0000;fill-opacity:1;stroke:none;stroke-width:0.995345"
|
||||||
|
x="245.82347"
|
||||||
|
y="22.395281"
|
||||||
|
id="text14273"><tspan
|
||||||
|
sodipodi:role="line"
|
||||||
|
id="tspan14271"
|
||||||
|
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:95.5532px;font-family:Z003;-inkscape-font-specification:Z003;opacity:0.99;fill:#aa0000;stroke-width:0.995345"
|
||||||
|
x="245.82347"
|
||||||
|
y="22.395281">tre</tspan></text>
|
||||||
|
<text
|
||||||
|
xml:space="preserve"
|
||||||
|
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:30.9149px;line-height:1.25;font-family:Chilanka;-inkscape-font-specification:Chilanka;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.77287"
|
||||||
|
x="104.74509"
|
||||||
|
y="81.700806"
|
||||||
|
id="text22454"><tspan
|
||||||
|
sodipodi:role="line"
|
||||||
|
id="tspan22452"
|
||||||
|
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:'Josefin Sans';-inkscape-font-specification:'Josefin Sans';stroke-width:0.77287"
|
||||||
|
x="104.74509"
|
||||||
|
y="81.700806">pizzeria</tspan></text>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 7.7 KiB |
4
src/filtypes.d.ts
vendored
Normal file
4
src/filtypes.d.ts
vendored
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
declare module "*.svg" {
|
||||||
|
declare const svg: string;
|
||||||
|
export default svg;
|
||||||
|
}
|
||||||
4
src/main.ts
Normal file
4
src/main.ts
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
import { bootstrap } from '@djledda/ladder';
|
||||||
|
import StoccaTreRoot from './StoccaTreRoot';
|
||||||
|
|
||||||
|
bootstrap(new StoccaTreRoot(), "root");
|
||||||
76
tsconfig.json
Normal file
76
tsconfig.json
Normal file
@@ -0,0 +1,76 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
/* Visit https://aka.ms/tsconfig.json to read more about this file */
|
||||||
|
|
||||||
|
/* Basic Options */
|
||||||
|
// "incremental": true, /* Enable incremental compilation */
|
||||||
|
"target": "ES6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', 'ES2021', or 'ESNEXT'. */
|
||||||
|
"module": "es2020", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */
|
||||||
|
// "lib": [], /* Specify library files to be included in the compilation. */
|
||||||
|
"allowJs": true, /* Allow javascript files to be compiled. */
|
||||||
|
// "checkJs": true, /* Report errors in .js files. */
|
||||||
|
"jsx": "react", /* Specify JSX code generation: 'preserve', 'react-native', 'react', 'react-jsx' or 'react-jsxdev'. */
|
||||||
|
"jsxFactory": "h",
|
||||||
|
"jsxFragmentFactory": "frag",
|
||||||
|
// "declaration": true, /* Generates corresponding '.d.ts' file. */
|
||||||
|
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
|
||||||
|
// "sourceMap": true, /* Generates corresponding '.map' file. */
|
||||||
|
// "outFile": "./", /* Concatenate and emit output to single file. */
|
||||||
|
// "outDir": "./", /* Redirect output structure to the directory. */
|
||||||
|
// "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
|
||||||
|
// "composite": true, /* Enable project compilation */
|
||||||
|
// "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
|
||||||
|
// "removeComments": true, /* Do not emit comments to output. */
|
||||||
|
// "noEmit": true, /* Do not emit outputs. */
|
||||||
|
// "importHelpers": true, /* Import emit helpers from 'tslib'. */
|
||||||
|
// "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */
|
||||||
|
// "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */
|
||||||
|
|
||||||
|
/* Strict Type-Checking Options */
|
||||||
|
"strict": true, /* Enable all strict type-checking options. */
|
||||||
|
// "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
|
||||||
|
// "strictNullChecks": true, /* Enable strict null checks. */
|
||||||
|
// "strictFunctionTypes": true, /* Enable strict checking of function types. */
|
||||||
|
"strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */
|
||||||
|
// "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */
|
||||||
|
// "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */
|
||||||
|
// "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
|
||||||
|
|
||||||
|
/* Additional Checks */
|
||||||
|
// "noUnusedLocals": true, /* Report errors on unused locals. */
|
||||||
|
// "noUnusedParameters": true, /* Report errors on unused parameters. */
|
||||||
|
"noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
|
||||||
|
// "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
|
||||||
|
"noUncheckedIndexedAccess": true, /* Include 'undefined' in index signature results */
|
||||||
|
// "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an 'override' modifier. */
|
||||||
|
// "noPropertyAccessFromIndexSignature": true, /* Require undeclared properties from index signatures to use element accesses. */
|
||||||
|
|
||||||
|
/* Module Resolution Options */
|
||||||
|
"moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
|
||||||
|
"baseUrl": "./", /* Base directory to resolve non-absolute module names. */
|
||||||
|
"paths": {
|
||||||
|
"@/": ["./src/"],
|
||||||
|
}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
|
||||||
|
// "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
|
||||||
|
// "typeRoots": [], /* List of folders to include type definitions from. */
|
||||||
|
// "types": [], /* Type declaration files to be included in compilation. */
|
||||||
|
// "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
|
||||||
|
"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
|
||||||
|
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
|
||||||
|
// "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
|
||||||
|
|
||||||
|
/* Source Map Options */
|
||||||
|
// "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
|
||||||
|
// "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
|
||||||
|
// "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
|
||||||
|
// "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
|
||||||
|
|
||||||
|
/* Experimental Options */
|
||||||
|
// "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
|
||||||
|
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
|
||||||
|
|
||||||
|
/* Advanced Options */
|
||||||
|
"skipLibCheck": true, /* Skip type checking of declaration files. */
|
||||||
|
"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */
|
||||||
|
}
|
||||||
|
}
|
||||||
12
vite.config.ts
Normal file
12
vite.config.ts
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
import { defineConfig } from "vite";
|
||||||
|
import path from "path";
|
||||||
|
|
||||||
|
const config = defineConfig({
|
||||||
|
resolve: {
|
||||||
|
alias: {
|
||||||
|
"@": path.resolve(__dirname, "./src"),
|
||||||
|
}
|
||||||
|
},
|
||||||
|
});
|
||||||
|
|
||||||
|
export default config;
|
||||||
Reference in New Issue
Block a user