JSONForms extends the AngularJS view model approach by eliminating the need to write HTML templates in order to create forms by leveraging the capabilities of JSON and JSON schema.
- Install node.js (https://nodejs.org/)
- Install grunt-cli via the command
npm install -g grunt-cli - Clone this repository
- Execute
npm installin root of your cloned repository
JSONForms uses Grunt to build and test.
- Run
gruntorgrunt distto build the distribution - Run
grunt examplesto build the application - Run
grunt testto test the framework and the application - Run
grunt watchduring development to automatically rebuild the distribution and application when any of the development files are touched. - Run
grunt clean:allif you want to clean the whole project.
The JSONForms project is build and tested via Travis. Coverage is documented by Coveralls.
Run grunt deploy to deploy a new version. The following tasks are executed:
- Build the distribution
- Increase version in package.json and bower.json
- Commit version bump to the current branch
- Checkout a new temporary deploy-branch
- Modify LICENSE file to include all necessary licenses of redistributed libraries
- Commit distribution files and LICENSE file
- Create a new version tag
- Push the version tag to 'upstream'
The JSONForms project is licensed under the MIT License. See the LICENSE file for more information.