Simple Chrome Extension which gives the user notifications about games waiting for action.
After cloning repository run npm install
npm run build
- builds in production mode
npm run watch
- builds as dev - with sourcemaps and dev settings
To install local extension read https://developer.chrome.com/docs/extensions/mv2/faq/#faq-dev-01
npm run lint
to check is file formatting correctnpm run lint:fix
to fix formatting errors
npm run stylelint
to check is file formatting correctnpm run stylelint:fix
to fix formatting errors
npm run publish
- extension code will be build and located in build/farmersi-notifier.zip
You can have automatically formatted code (JS, SCSS) in VSCode in few steps:
- Install VSCode plugins ESLint and stylelint
- Create file
.vscode/settings.json
if not exists - Add configuration:
{
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
"source.fixAll.stylelint": true
},
"eslint.validate": ["javascript"]
}
Contact me via zenit710@gmail.com