Skip to content

Starter pack for ML5 project with typescript and webpack set up.

Notifications You must be signed in to change notification settings

dejavu1987/ml5-typescript-webpack

Repository files navigation

ml5-typescript-webpack

Starter pack for ML5 project with typescript and webpack set up.

Installation

Clone this repo ml5-typescript-webpack from github

git clone [email protected]:dejavu1987/ml5-typescript-webpack.git

Then go to the new directory and run npm install

cd ml5-typescript-webpack
npm install

Start development

npm start

Build

npm run build

Link

npm run lint

Lint and fix

npm run lint-and-fix

Guide on how P5 / ML5 works with TS/Webpack setup

Read on my blog post how to update your sketch files to make it work with this setup http://anilmaharjan.com.np/blog/2020/10/ml5-with-webpack-and-typescript

Notice

ML5 does not officially support typescript yet. Initial draft version of type definition from @dikarel is being used at the moment. Follow the discussion here ml5js/ml5-library#253

About

Starter pack for ML5 project with typescript and webpack set up.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published