Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Latest commit

 

History

History
36 lines (22 loc) · 923 Bytes

CONTRIBUTING.md

File metadata and controls

36 lines (22 loc) · 923 Bytes

Contributing

We'd love to have your contribution added to Battlecry. If you decide to do so, please follow the code of conduct

Prerequisites

Node.js >= v8 must be installed.

Installation

  • Running npm install in the root directory will install everything you need for development.

Development

Go to the battlecry folder you cloned and:

  • npm uninstall -g battlecry if you have battlecry already installed globally
  • npm link will link the battlecry and cry commands globally
  • npm link battlecry will link the require('battlecry')

Running Tests

  • npm run test will run jest

Code Style

The project uses prettier hooked on precommit, so don't worry too much about it, it will get formatted automatically once you commit.

Releasing

npm version <patch|minor|major>
npm publish