mirror of
https://github.com/valitydev/dashboard.git
synced 2024-11-06 02:25:23 +00:00
e67db789aa
Co-authored-by: A77AY <11846445+A77AY@users.noreply.github.com> |
||
---|---|---|
.github | ||
.idea | ||
.run | ||
.vscode | ||
src | ||
tools | ||
_.env | ||
.eslintrc.js | ||
.gitignore | ||
.prettierignore | ||
.prettierrc.js | ||
angular.json | ||
crowdin.yml | ||
Dockerfile | ||
extra-webpack.config.ts | ||
icons-config.json | ||
karma-ci.conf.js | ||
karma.conf.js | ||
LICENSE | ||
nginx.conf | ||
package-lock.json | ||
package.json | ||
proxy.conf.js | ||
README.md | ||
renovate.json | ||
transloco.config.js | ||
tsconfig.app.json | ||
tsconfig.json | ||
tsconfig.spec.json |
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