#Basic generation of fractal tree using canvas Demo here
Setup
For development tools and building:
- Install the latest Node.js and NPM.
- Run
npm install
within the project root directory in Terminal. - Run
npm run build:watch
. - Run
npm start
in another tab. Tada!
Scripts
Command | Purpose |
---|---|
npm run lint:js |
Lint JS (see eslintConfig in package.json ). |
npm run lint:js:fix |
Lint JS and automatically fix issues. |
npm run lint:css |
Lint CSS (see stylelint in package.json ). |
npm run clean |
Delete /bundle . |
npm run build |
Compile JS and CSS to /bundle . |
npm run build:watch |
Build, rebuilding on source file changes. |
npm start |
Start a dev server and open in browser. |