Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/instantiator/2024-xmas-game
https://github.com/instantiator/2024-xmas-game
Last synced: about 16 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/instantiator/2024-xmas-game
- Owner: instantiator
- Created: 2024-12-10T20:19:15.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-12-20T19:43:21.000Z (26 days ago)
- Last Synced: 2024-12-20T20:29:40.422Z (26 days ago)
- Language: TypeScript
- Size: 785 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Xmas game 2024
Resources to accompany the family Christmas escape room we're building for 2024.
## Invocations
```bash
npm run dev
``````bash
npm run build
``````bash
npm run lint
``````bash
npm run preview
```## Modifications
### `vite-config.ts`
```ts
base: '/2024-xmas-game/'
```### `tsconfig.app.json`
```json
"noUnusedLocals": false,
"noUnusedParameters": false,
```### Workflow
See: `.github/workshops/deploy-pages.yaml`
* Enabled deployment from GHA
* Set node version to `22`
* Updated paths to build and deploy from the `xmas-game` directory## Additional packages
### `react-router-dom`
`react-router` with some DOM specific functions. See: `App.tsx`
### `motion`
Animation library.
## Resources
https://vite.dev/guide/static-deploy
https://medium.com/@galohernandez/vite-react-react-router-dom-the-latest-way-312ee887197e
https://motion.dev/docs/react-transitions