Skip to content

valitydev/dashboard

Dashboard

Libraries

Guides

Installation

  1. Add environment and configurations:

    • src/.env
    • src/appConfig.json
    • src/authConfig.json

You can copy from examples like this one: _appConfig.json

  1. Install packages
    npm ci

Development server

  1. npm start

  2. Navigate to http://localhost:8000/

Production build

  1. Run npm run build
  2. The build artifacts will be stored in the dist/ directory.

Tests

  • Run npm run test to execute the unit tests via Karma.

Utils

Analyze bundle size

npm run build -- --prod --stats-json --extraWebpackConfig webpack.extra.js
npx webpack-bundle-analyzer dist/stats.json