This repository contains the source code of the browser extension for the Smart Speaker Study. Please feel free to examine it.
Make sure you have node.js and npm installed, then run:
npm install --only=dev
The code uses webpack to transform the modularized source code into the final extension. To build the code, run:
npm run build
To avoid rerunning this command every time you change the source code, you can use webpack's watch feature:
npm run watch
The linters will run automatically when you commit any code. However, you can also run them manually:
npm run lint
To run the tests for this project, execute npm test
(or yarn test
if you use yarn). Additional diagnostics tests can be run from the options page of the installed extension.