Skip to content

Latest commit

 

History

History
76 lines (48 loc) · 1.09 KB

File metadata and controls

76 lines (48 loc) · 1.09 KB

Contributing to Sketchbook

General discussion happens in the Github Discussions section:

https://github.com/orgs/sketchbook-js/discussions

Contributor setup

Prerequisite:

  • Node.js 10.x
  • Yarn 1.x

Steps to set up your local repo:

  1. Fork the repo:

    https://github.com/sketchbook-js/sketchbook/fork

  2. Clone your fork:

    git clone git@github.com:<YOUR_GITHUB_ACCOUNT>/sketchbook.git
  3. Change into the directory:

    cd sketchbook
  4. Install dependencies:

    yarn install
  5. Run the app:

    yarn run start
  6. Run the tests:

    yarn run test

Testing the npm package works

  1. Create a package.json file:

    yarn init
  2. Download the sketchbook npm package:

    yarn add -D @sketchbook-js/sketchbook@dev

    or use this command for the production version:

    yarn add -D @sketchbook-js/sketchbook
  3. Test running the app with:

    yarn init && yarn start

    or test any commands you want to test.