This Mobify Platform project is a monorepo that includes the Javascript packages you need to build your frontends. It includes:
pwa- the code for your PWAconnector- the code for your data layer, using commerce-integrations
node@v8.10.0 or node@v10.x
npm@v6.11.3
Behind the scenes we're using Lerna to manage the monorepo. This lets us install all your dependencies in one single command:
npm ciYou'll need to re-run this command every now and then, if your packages dependencies change.
Once you've installed your dependencies, see packages/pwa/README.md to learn how
to get started building and running your PWA.
npm run lintRun tests for all packages with:
cd [repo root]
npm testRun integration tests against live APIs for all packages with:
cd [repo root]
npm run integrationTest