Fork the repo, or clone the canonical one:
git clone https://github.com/app-json/app.json
cd app.json
npm install
npm test
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
To prepare a browser-ready bundle, run the following:
npm run build
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
- Run
npm run build
- Update version number in package.json and bower.json.
- Create a new GitHub release for bower at https://github.com/app-json/app.json/releases/new
npm publish