Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 758 Bytes

BUILDING.md

File metadata and controls

20 lines (14 loc) · 758 Bytes

How to build

Dependencies

  1. Install nvm, its the only sane way to manage node.js
  2. I don't like using install -g as this installs stuff at the 'global' level of your npm install. And this may cause version conflicts with other projects or packages
  3. nvm install stable
  4. nvm alias default stable
  5. npm install yarn cuz npm sucks. Yarn is faster.
  6. yarn to install dependencies

Running / Building

see package.json for commands

  • yarn run clean to remove build/ and dist/
  • yarn run build:lib to build library and copy to dist/lib
  • yarn run build:app to build a bundled app including all assets under dist:app
  • npm serve:hot run parcel js in hot reload mode.