Skip to content

Latest commit

 

History

History
66 lines (46 loc) · 1.32 KB

CONTRIBUTING.md

File metadata and controls

66 lines (46 loc) · 1.32 KB

Contibuting to app.json

Clone

Fork the repo, or clone the canonical one:

git clone https://github.com/app-json/app.json
cd app.json

Test

npm install
npm test

Develop

To use the CLI from your local code instead of an installed node package:

npm remove app.json -g
cd ~/my/copy/of/app.json
npm link

Now when you run app.json in the shell, you're using your local code. To install the "real" thing later:

npm remove app.json -g
npm install app.json -g

Bundle

To prepare a browser-ready bundle, run the following:

npm run build

Schema Documentation

The schema documentation is generated from these two files:

Use the command below to genarate human-friendly docs from the schema and copy the markdown to the system clipboard. Then paste the updated schema doc into the app-json-schema Dev Center article.

npm run doc
cat dist/schema.md | pbcopy

Releasing a New Version