Contribution to the project is more than welcome! 🍺
If you're submitting a bug, please clearly state what is:
- the JSON Schema content that fails: go to the demo page, paste your schema, click
generate
and grab the updated URL from browser address bar - and paste it here. It will make it easier for us to fix it, thanks in advance 🍺 Otherwise please paste the schema inline. - the result you get
- the result you expected
- When submitting bugs (or inappropriate behavior), do paste your schema example if only it's possible. This will prevent us from explicitly asking you to do this.
- When submitting PRs, ship them under the
develop
branch. - The testing approach architecture is described in spec/README.md.
- PR without specs will not be merged soon.
- Include a new entry in CHANGELOG.md file,
- Be followed by re-building and re-releasing online demo, see
website-jsf
gh-pages branch.
npm run dev
— Run the tests and watch (preferred during development)npm run dev:lint
— Run eslint on all sourcesnpm run dev:unit
— Runjasmine-node
on unit testsnpm run dev:schema
— Runjasmine-node
on schema testsnpm run cover
— Run istanbul + jasmine-nodenpm run cover:up
— Upload to coveralls (CI only)npm run dist
— Prepare all assets with locales for CDN supportnpm test
— Run all the tests
npm run tsc
— Compile TypeScript to JavaScript (via commonJS)