Live activity monitoring tool for NGINX Plus.
Ensure you have all dependencies installed:
yarn install
To build the dashboard run:
yarn build
The result will be placed in dist/dashboard.html
.
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.
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
In the project folder check coverage
directory – index.html
includes everything you need.
- autoprefixer – 7.2.6
- babel-core – 6.26.3
- babel-loader – 7.1.5
- babel-plugin-istanbul – 4.1.6
- babel-plugin-react-css-modules – 3.4.2
- babel-plugin-transform-object-rest-spread – 6.26.0
- babel-plugin-transform-runtime – 6.23.0
- babel-polyfill – 6.26.0
- babel-preset-env – 1.7.0
- babel-preset-react – 6.24.1
- chai – 4.2.0
- css-loader – 3.5.3
- cssnano – 4.1.10
- enzyme – 3.11.0
- enzyme-adapter-preact-pure – 2.2.0
- eslint – 4.19.1
- eslint-config-airbnb – 15.1.0
- eslint-plugin-import – 2.20.2
- eslint-plugin-jsx-a11y – 5.1.1
- eslint-plugin-react – 7.20.0
- history – 4.10.1
- html-webpack-inline-source-plugin – 0.0.10
- html-webpack-plugin – 3.2.0
- karma – 6.3.9
- karma-chrome-launcher – 3.1.0
- karma-coverage – 2.0.2
- 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 – 3.0.0
- mini-css-extract-plugin – 0.9.0
- mocha – 8.0.1
- npm-font-open-sans – 1.1.0
- nyc – 15.1.0
- postcss-import – 11.1.0
- postcss-inline-svg – 3.1.1
- postcss-loader – 2.1.6
- postcss-svgo – 4.0.2
- postcss-url – 7.3.2
- preact – 8.5.3
- preact-portal – 1.1.3
- preact-compat – 3.19.0
- preact-compat-enzyme – 0.2.5
- preact-render-to-string – 3.8.2
- preact-test-utils – 0.1.4
- sinon – 9.0.2
- sinon-chai – 3.5.0
- style-loader – 0.18.2
- webpack – 4.43.0
- webpack-cli – 3.3.11
- webpack-dev-server – 3.11.0
- whatwg-fetch – 2.0.4