nginx v1.10.1 nodejs v9.0.0 npm v5.7.1
git clone https://github.com/***/hub-app.gitcd hub-app/yarn installnpm run start
- run
npm run initin root dir. It will install lerna, install all necessary dependencies for packages and create symlink for package relation - For local development please don't forget to use auth token (type in terminal):
echo '//registry.npmjs.org/:_authToken=26abc3fc-ce43-4f9e-b50c-0e998eaecdd4' > ~/.npmrc
- run
npm run buildin root dir. Build all applications. - run
npm run buildRemotein root dir. Build all applications for remote servers. - watch mode
npm run startin root dir. Watch all applications.
- run
npm run bumpin root dir for increase versions in changed packages and dependent from changed packages. - run
npm run cleanin root dir for remove all node_modules and build folders.