My template repository for creating web animations
This repository uses Node version v18.17.1
. Once you have this installed, make sure you also install yarn
globally, with
npm install yarn -G
Once you have this installed, run
yarn
This will install the needed dependencies.
In the project directory, you can run:
Builds the src
directory into dist/bundle.js
using webpack.
Watches for changes inside your src directory, and then rebuilds dist/bundle.js
on change.
Also launches browser-sync, so your browser will update with any changes.
Runs both yarn typecheck
(runs tsc
) as well as yarn lint
(runs eslint for any typescript files inside the src
directory).
Deploys the project using the gh-pages npm package.