NGINX Plus Dashboard
Live activity monitoring tool for NGINX Plus.
Build process
Ensure you have all dependencies installed:
yarn install
To build the dashboard run:
yarn build
The result will be placed in dist/dashboard.html
.
Testing
To not have tests mixed with sources all test files should be placed in related __test__
folders in the project.
yarn test
Running the above command will start karma server and build the coverage report.
Tests report
http://0.0.0.0:9876/
– start page of karma server where your tests will run
http://0.0.0.0:9876/debug.html
– all tests and their statuses
Coverage report
In the project folder check coverage
directory – index.html
includes everything you need.
Useful links
3rd party modules
Modules included in the result HTML
- core-js – 3.22.8
- npm-font-open-sans – 1.1.0
- preact – 10.7.3
- regenerator-runtime – 0.13.9
- whatwg-fetch – 2.0.4
Full list of 3rd party modules
- @babel/core – 7.23.2
- @babel/plugin-transform-object-rest-spread – 7.22.15
- @babel/plugin-transform-runtime – 7.22.15
- @babel/preset-env – 7.22.15
- @babel/preset-react – 7.22.15
- autoprefixer – 10.4.7
- babel-loader – 9.1.3
- babel-plugin-istanbul – 6.1.1
- chai – 4.3.10
- core-js – 3.22.8
- css-loader – 6.8.1
- cssnano – 5.1.11
- enzyme – 3.11.0
- enzyme-adapter-preact-pure – 4.0.1
- eslint – 8.49.0
- eslint-config-airbnb – 19.0.4
- eslint-plugin-import – 2.28.1
- eslint-plugin-jsx-a11y – 6.5.1
- eslint-plugin-react – 7.33.2
- eslint-webpack-plugin – 4.0.1
- history – 4.10.1
- html-inline-css-webpack-plugin – 1.11.1
- html-webpack-plugin – 5.5.0
- karma – 6.4.2
- karma-chrome-launcher – 3.1.0
- karma-coverage – 2.2.1
- karma-coverage-istanbul-reporter – 3.0.3
- karma-mocha – 2.0.1
- karma-sinon-chai – 2.0.2
- karma-sourcemap-loader – 0.3.7
- karma-webpack – 5.0.0
- mini-css-extract-plugin – 2.6.0
- mocha – 10.0.0
- npm-font-open-sans – 1.1.0
- nyc – 15.1.0
- postcss – 8.4.31
- postcss-loader – 7.3.3
- postcss-url – 10.1.3
- preact – 10.7.3
- react-dev-utils – 12.0.1
- regenerator-runtime – 0.13.9
- sinon – 9.0.2
- sinon-chai – 3.7.0
- style-loader – 3.3.1
- webpack – 5.88.2
- webpack-cli – 4.10.0
- webpack-dev-server – 4.9.2
- whatwg-fetch – 2.0.4