Go to file
2019-05-23 12:01:51 +03:00
build_utils@ea4aa042f4 FE-827: Add Swagger Codegen (#15) 2019-04-25 14:56:34 +03:00
e2e FE-708: Init (#1) 2018-11-30 16:26:03 +03:00
schemes/swag FE-827: Add Swagger Codegen (#15) 2019-04-25 14:56:34 +03:00
src FE-837: ITS A BUTTON!!! (#24) 2019-05-23 12:01:51 +03:00
.gitignore Add sections module (#17) 2019-05-08 14:32:38 +03:00
.gitmodules FE-827: Add Swagger Codegen (#15) 2019-04-25 14:56:34 +03:00
.prettierignore Add sections module (#17) 2019-05-08 14:32:38 +03:00
.prettierrc FE-716: Layout modules (#3) 2018-12-13 16:22:47 +03:00
angular.json Theme module (#18) 2019-05-13 15:02:44 +03:00
containerpilot.json FE-708: Init (#1) 2018-11-30 16:26:03 +03:00
Dockerfile.sh FE-708: Init (#1) 2018-11-30 16:26:03 +03:00
Jenkinsfile FE-827: Add Swagger Codegen (#15) 2019-04-25 14:56:34 +03:00
Makefile FE-831: Kontur.Focus module (#16) 2019-05-06 13:53:24 +03:00
nginx.conf FE-708: Init (#1) 2018-11-30 16:26:03 +03:00
package-lock.json Add sections module (#17) 2019-05-08 14:32:38 +03:00
package.json Add sections module (#17) 2019-05-08 14:32:38 +03:00
README.md FE-831: Kontur.Focus module (#16) 2019-05-06 13:53:24 +03:00
tsconfig.json FE-809: DaData module (#9) 2019-04-09 19:39:03 +05:00
tslint.json FE-708: Init (#1) 2018-11-30 16:26:03 +03:00
webpack.extra.js Form control UI kit (#2) 2018-12-04 20:38:16 +03:00

Dashboard

Libraries

  • Angular CLI
    • Run ng generate component component-name to generate a new component (you can also use ng generate directive|pipe|service|class|guard|interface|enum|module).
    • To get more help use ng help or go check out the Angular CLI README.
  • Angular Material
  • Prettier

Initialization

# Install packages

npm ci

# Generate swagger

make wc_shell
make compile

Development server

  1. Run 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.
  • 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