1
0
mirror of synced 2025-11-06 04:21:11 +08:00
Files
eruda/doc/CONTRIBUTING.md
2017-08-26 10:59:55 +08:00

668 B

Contributing Guide

Development Setup

Node.js is needed for the development of eruda.

After cloning the repo, run:

# install npm dependencies.
npm install
# copy jasmine lib from node_modules to test folder.
npm run setup

Commonly used NPM scripts

# watch and auto re-build.
npm run dev
# build eruda.js and eruda.min.js
npm run build
# lint, build and test.
npm run ci

Project Structure

  • doc: documents.
  • eustia: eustia extended utilties.
  • script: webpack configuration, and some other useful scripts.
  • src: source code, written in es2015.
  • test: contain pages for testing.