mirror of
https://github.com/valitydev/dashboard.git
synced 2024-11-06 10:35:21 +00:00
631be67cd5
* tab group init * extends * tabs wrapper * part of tab group * tab group, changing tab is not working * partial refactor * prevent scroll to top, refactor 2/3 * refactor * fix * mat-tab-group removed * fixes * Integrate tabs to operations module * fixes + tests * prettier * unused components for tests was removed |
||
---|---|---|
.vsc-templates | ||
.vscode | ||
build_utils@ea4aa042f4 | ||
e2e | ||
schemes/swag | ||
src | ||
.gitignore | ||
.gitmodules | ||
.prettierignore | ||
.prettierrc | ||
angular.json | ||
containerpilot.json | ||
Dockerfile.sh | ||
Jenkinsfile | ||
Makefile | ||
nginx.conf | ||
package-lock.json | ||
package.json | ||
README.md | ||
tsconfig.json | ||
tslint.json | ||
webpack.extra.js |
Dashboard
Libraries
- Angular CLI
- Run
ng generate component component-name
to generate a new component (you can also useng generate directive|pipe|service|class|guard|interface|enum|module
). - To get more help use
ng help
or go check out the Angular CLI README.
- Run
- Angular Material
- Prettier
Initialization
# Install packages
npm ci
# Generate swagger
make wc_shell
make compile
Development server
- Run
npm start
- Navigate to
http://localhost:8000/
Production build
- Run
npm run build
- The build artifacts will be stored in the
dist/
directory.
Tests
- Run
npm run test
to execute the unit tests via Karma. - Run
npm run e2e
to execute the end-to-end tests via Protractor.
Utils
Analyze bundle size
npm run build -- --prod --stats-json --extraWebpackConfig webpack.extra.js
npx webpack-bundle-analyzer dist/stats.json