Skip to content

rombau/osext2

Repository files navigation

OnlineSoccer Extension

The OnlineSoccer Extension extension adds useful details and forecasts to the pages of OnlineSoccer.

Features

  • Forecast of the team players values (loans, bans, skills based on trainings settings, ...)
  • Finance forecast with account balance in the team season view
  • Youth forecast based on the current skills

Development with Visual Studio Code

Basic formatter configuration and settings for Karma Test Explorer for Angular, Jasmine, and Mocha from Lucas Ononiwu are provided in .vscode/settings.json.

In order to apply formatting rules on every change the following additional user settings are recommended:

	"files.autoSave": "onFocusChange",
	"editor.insertSpaces": false,
	"editor.formatOnSave": true,

Node and Gulp tools

The coverage reports are created with npm test in the folder .coverage. Based on the summary.json the coverage badge is updated in the README with npm run badge.

The release can be created by running gulp --release major.minor.patch:

  • this updates the version in the relevant files
  • pushes these updates in a separate commit
  • creates the extension archive (for uploading to AMO) in the folder release
  • creates a new release/tag in github (env variable GITHUB_TOKEN is needed)