Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 795 Bytes

DEVELOPMENT.md

File metadata and controls

18 lines (12 loc) · 795 Bytes

Development environment

All files in the octoprint_filamentmanager/static/{css,js} directory will be build with Gulp, from the source in static/{css,js}, and not modified directly. The build process includes:

  • Static code analysis with ESLint
  • Transcompiling to ES5 with Babel
  • Concatinating all JS files into one file filamentmanager.bundled.js
  • Concatinating and minifying all CSS file into one file filamentmanager.min.css

Prerequisites

  1. Install NodeJS and NPM with your package manager

  2. Install development dependencies with npm install

Build

  1. Check the source code with npx gulp lint

  2. Start the build process with npx gulp build