CONTRIBUTING.md 838 字节
Newer Older
D
David Calavera 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
# CONTRIBUTING

Contributions are always welcome, no matter how large or small. Before contributing,
please read the [code of conduct](CODE_OF_CONDUCT.md).

## Setup

```sh
$ git clone https://github.com/netlify/victor-hugo
$ cd victor-hugo
$ npm install
```

## Building

```sh
$ npm run build
```

## Testing

```sh
$ npm run test
```

```sh
$ npm run test:watch
```

30
## Running the server
D
David Calavera 已提交
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49

```sh
$ npm run start
```

## Pull Requests

We actively welcome your pull requests.

1. Fork the repo and create your branch from `master`.
2. If you've added code that should be tested, add tests.
3. If you've changed APIs, update the documentation.
4. Ensure the test suite passes.
5. Make sure your code lints.

## License

By contributing to Victor-Hugo, you agree that your contributions will be licensed
under its [MIT license](LICENSE).