mirror of
https://github.com/valitydev/dashboard.git
synced 2024-11-06 02:25:23 +00:00
2d68036c43
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.4 to 6.3.16. - [Release notes](https://github.com/karma-runner/karma/releases) - [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md) - [Commits](https://github.com/karma-runner/karma/compare/v6.3.4...v6.3.16) --- updated-dependencies: - dependency-name: karma dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
.github | ||
.idea | ||
.run | ||
.vscode | ||
src | ||
tools | ||
_.env | ||
.browserslistrc | ||
.eslintrc.js | ||
.gitignore | ||
.prettierignore | ||
.prettierrc | ||
angular.json | ||
crowdin.yml | ||
Dockerfile | ||
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 | ||
webpack.extra.js |
Dashboard
Libraries
Guides
Installation
-
Add environment and configurations:
-
src/appConfig.json
:{ "apiEndpoint": "https://api.xample.com", "urlShortenerEndpoint": "https://shrt.example.com", "checkoutEndpoint": "https://checkout.example.com", "docsEndpoints": { "payments": "https://example.com/docs" }, "theme": { "name": "main" }, "sentryDsn": "https://public@sentry.example.com/1", "keycloakEndpoint": "https://auth.example.com" }
-
src/authConfig.json
:{ "realm": "external", "auth-server-url": "https://auth.example.com/auth/", "ssl-required": "external", "resource": "koffing", "public-client": true }
-
-
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