Tracks Prebid.js events.
In order to run the app you need to install dependencies.
Installing dependencies via npm
:
cd /project/root/directory
npm i
Installing dependencies via npm
:
cd /project/root/directory
yarn install
Once all the dependencies are installed, you can run the app from the project root directory with:
npm start
yarn start
Open http://localhost:8080 to view app in the browser.
Jest testing framework is used for writing unit tests.
Run all unit tests with:
npm test
or
yarn test
By default, test coverage report is turned off. Run following to see coverage report in test logs:
npm run test:coverage
or
yarn test:coverage
You can also turn coverage report on in jest.config.js
to run it evertime tests run. In jest.config.js
, set collectCoverage
to true
.
Generate production build with:
npm run build
or
yarn build
Output will be stored in ./build
directory.
- babel - Enable the use of commonly used and very helpful ES6+ features in backward compatible way.
- webpack - JavaScript module bundler. It also provides a built in development server for serving files.
- Jest - JavaScript testing framework.