Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 857 Bytes

CONTRIBUTING.md

File metadata and controls

34 lines (22 loc) · 857 Bytes

gjs-status

Example. Counts issues and merge requests for Gjs, with Gjs.

Usage

Get a GitLab token and run:

# Ubuntu 17.10
sudo apt update && sudo apt install gir1.2-glib-2.0 gir1.2-soup-2.4 git gjs npm

git clone https://github.com/makepost/grest
cd grest

GITLAB_TOKEN=... PORT=3000 npm start

Development

Also install Yarn. Get started:

# install development dependencies
yarn

# lint all JS files
yarn format

# run tests and see coverage
yarn test && xdg-open coverage/index.html

VS Code will highlight mistakes and provide autocomplete, as long as you follow JSDoc @param and @type.