mirror of
https://github.com/valitydev/dashboard.git
synced 2024-11-06 02:25:23 +00:00
1.0 KiB
1.0 KiB
Dashboard
Libraries
Guides
Installation
-
Add environment and configurations:
src/.env
src/appConfig.json
src/authConfig.json
You can copy from examples like this one: _appConfig.json
- Install packages
npm ci
Development server
-
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.
Utils
Analyze bundle size
npm run build -- --prod --stats-json --extraWebpackConfig webpack.extra.js
npx webpack-bundle-analyzer dist/stats.json