Skip to content

Build Process

Vladimir Mandic edited this page Nov 7, 2020 · 24 revisions

Build Process

If you want to modify the library and perform a full rebuild:

clone repository, install dependencies, check for errors and run full rebuild from which creates bundles from /src into /dist:

git clone https://github.com/vladmandic/human
cd human
npm install # installs all project dependencies
npm run lint
npm run build

This will rebuild library itself (all variations) as well as demo

Project is written in pure JavaScript ECMAScript version 2020
Build target is JavaScript EMCAScript version 2018

Only project depdendency is @tensorflow/tfjs Development dependencies are eslint used for code linting and esbuild used for IIFE and ESM script bundling

Clone this wiki locally