Skip to content
This repository has been archived by the owner on Jan 16, 2019. It is now read-only.

Latest commit

 

History

History
34 lines (23 loc) · 881 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 881 Bytes

pinecast-js

This is all of the Pinecast JavaScript components.

Setup

npm install
lerna bootstrap

Packaging the omnibus:

cd packages/omnibus
npm run build
# use `npm run dev` instead to start a watcher

Note that you don't need to run prepublish on any of the packages, since omnibus's webpack is configured to use jsnext:main in the package.json files, which references the ES6 sources.

The output will be in packages/omnibus/build/ and can be copied to the pinecast/static/js/ directory. If it's a backwards-incompatible change, don't forget to update the cache buster in base.html.

Rebuilding dependencies:

rm packages/*/package-lock.json && lerna clean && lerna bootstrap

Hard-rebuilding dependencies:

rm packages/*/package-lock.json && lerna clean && rm -rf node_mododules && npm i && lerna bootstrap