Popcorn (Popcore)
Popcorn (or Popcore (ha!)) is the core for OOOM. It uses npm
and should be published to npm as it is updated.
You can create a symbolic link locally using npm link
from within popcorn and npm publish --access public
(soon to be private) when ready. You will need a OTP and a device registered with NPM to allow you to publish (typically Google Auth).
Do not publish any sensitive information within core, such-as keys, secrets etc.
Do publish constants, utils, shared functions and transformers.
To Run
npm install
npm run start
You don't need to keep webpack running thereafter, just point at popcorn from other projects and it'll all just work.
To Publish
npm publish --access public
after nudging the package version.
To Test
npm run test
Use npm run test --no-config
if you don't want the logs suppressed (show console logs).
A note about the RSA key pair
This is generated using:-
openssl genrsa -out private.key 4096
openssl rsa -in private.key -pubout -out public.key