An opinionated starter project for using Typescript, React, and Pixi.js in the browser.
To get started use this repository as a template, run npm run develop
, and
make your changes in ./src/sketch.ts
- update
package.json
and replace thepublicURL
with the name of your repository - update the project name in
package.json
- update the github url in
package.json
npm run develop
- start an interactive server which live-reloads changes
npm run build
- run the production build
npm run check
- run the typescript compiler to check types in the project
./src
- The main TS application. This is the index, the app, any css modules, etc. This is where you should put your code when building something new../lib
- Is the P5+React wrapper logic. This defines theSketch
component and theP5Sketch
abstract class which can be overridden to interact with the P5 sketch../site
- The root html and css for the site. This also includes site metadata like the favicon and manifest.
- Pixi.js
- React
- valtio
- Parcel
- Typescript
- eslint
- prettier
- husky