Quickly get up and running with a p5.js typescript project.
Clone this project, and re-initialize it for your project.
git clone https://github.com/justino/p5ts-skeleton <project name>
cd <project name>
rm -rf .git
git init .
git add .
git commit -m 'Initial Setup'
npm install
npm start
You can access the development server via https://localhost:1234/
You can simply build your project with:
npm run build
Build artifacts are created in the dist
subdirectory.
Makes use of the Parcel build system.
Pre-configured with Sass support.
Pre-configured with Normalize.css.
Supports VSCode Devcontainers with a handful of pre-configured VSCode extensions.
Modify ./devcontainer/devcontainer.json
with your project name so that the container name makes sense.
Supports Editorconfig with some basic settings.
p5.js will run in instance mode only. No cluttering of the global space.
MIT License, see LICENSE for details.