Angular PWA Seed
A starter project for a PWA built in Angular 2+
Install
npm install
will download all dependencies needed for build and dev
Scripts
npm run build
- transpile the server and compile the clientnpm run buildssr
- transpile the server and compile the client for Angular Universalnpm run dev
- continously rebuilt and reloaded client and servernpm run devssr
- Build for SSR and rebuild on server changesnpm run clean
- removes the dist folder from previous buildsnpm run test-client
- run karma for client-side testsnpm run test-client-dev
- run karma in watch-mode, re-running tests on savenpm run test-server
- run mocha tests against servernpm test
- run client and server tests once