1
0
mirror of synced 2025-12-08 22:58:46 +08:00
Files
eruda/.github/CONTRIBUTING.md
2020-06-05 13:35:32 +08:00

33 lines
610 B
Markdown

# Contributing Guide
## Development Setup
[Node.js](https://nodejs.org/en/) is needed for the development of eruda.
After cloning the repo, run:
```bash
# install npm dependencies.
npm install
# copy jasmine lib from node_modules to test folder.
npm run setup
```
## Commonly used NPM scripts
```bash
# watch and auto re-build.
npm run dev
# build eruda.js
npm run build
# lint, build and test.
npm run ci
```
## Project Structure
- **doc**: documents.
- **build**: webpack configuration, and some other useful scripts.
- **src**: source code, written in es2015.
- **test**: contain pages for testing.