this is super early commit, just getting it out there to see if others can build/upload successfully
the package.json scripts in the repo are set to upload to an esp32 wroom board on my linux dev machine, you'll have to change the npm scripts accordingly
Uses rollup to
- bundle esm based modules main.js, app.js, those in
/libplusnode_modulesdependencies. - extend the current features via buble and one babel plugin. Extended features include async/await, rest/spread, let/const block scope, destructring assignment and more with minimal bloat.
- allow an options file in yaml format to be imported containing application configuration settings/options
- Allow environment variables set on dev machine to effect the environment of the build. See injectProcessEnv plugin and rollup.config.js.
clone this repo
copy example.options.yaml to options.yaml and edit accordingly
npm installinstall all the build dependenciesnpm run buildmakes espruino builds in /build directorynpm devbuilds and uploads then runs terminal on devicenpm run probuilds and uploads and saves to flashnpm run wipewill reset and clear flash on esp and also wifi settings
repo includes local copy of eslint and eslintrc.js file. Can thus lint via atom plugin (or I assume vscode plugin but I don't use vscode)
job.json is not currently used but will be in future commits.