- Install nvm, its the only sane way to manage node.js
- 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 nvm install stable
nvm alias default stable
npm install yarn
cuz npm sucks. Yarn is faster.yarn
to install dependencies
see package.json for commands
yarn run clean
to remove build/ and dist/yarn run build:lib
to build library and copy to dist/libyarn run build:app
to build a bundled app including all assets under dist:appnpm serve:hot
run parcel js in hot reload mode.