JSON-Schema and JSON-UI-Schema utilities for form generation.
npm install json-schema-form-coreAngular Schema Form and also the Bootstrap decorator bundle
javascript
/*!
* json-schema-form-core
* @version 1.0.0-alpha.5
* @date Sat, 14 Jan 2017 08:08:15 GMT
* @link https://github.com/json-schema-form/json-schema-form-core
* @license MIT
* Copyright (c) 2014-2017 JSON Schema Form
*/
`
Contributing / Plans
The main contributions we need to the core at the moment are related to both the migration
of Angular Schema Form features to the core (like templates/builders) and the addition
of an API for use by ASF (Angular) and RSF (React) libraries.
Please contact @Anthropic via our Gitter if you wish to get involved.
Testing it
$3
There is a branch in angular-schema-form called feature/webpack-babel that integrates the core.
To use it roughly follow these steps:
* Clone angular-schema-form to a sibling directory and switch to branch feature/webpack-babel
* npm install to install dependencies
* npm run build to build with the core.
Use dist/angular-schema-form.js, now with the core from this folder. No need to also load ObjectPath since it is already included*
$3
Tests are written in mocha + chai and run trough npm test.
When the command npm run testdoc is run instead, the tests will also generate a readable
markdown` file test.md to document elements of the library.