@@ -73,10 +73,12 @@ manually)
7373
7474It depends on AngularJS (duh!), [ tv4] ( https://github.com/geraintluff/tv4 ) , and
7575if you like to use the date picker you also need jQuery and
76- [ pickadate.js] ( http://amsul.ca/pickadate.js/ )
76+ [ pickadate.js] ( http://amsul.ca/pickadate.js/ ) . Also if you use the ``` help ```
77+ type to inject HTML you'll want to use ngSanitize as well.
7778
7879The minified files also includes all templates so they are all you need.
7980
81+
8082Addons
8183------
8284Currently there is only one addon, a date picker using
@@ -85,6 +87,41 @@ the excellent [pickadate.js](http://amsul.ca/pickadate.js/).
8587See the [ docs] ( docs/datepicker.md ) for usage.
8688
8789
90+ Building
91+ --------
92+ The files in the ``` dist ``` plus dependencies are all you need to use Schema
93+ Form, but if you like to build it yourself we use [ gulp] ( http://gulpjs.com/ ) .
94+
95+ First off you need to have nodejs installed. Then install all dev dependencies
96+ of the project with npm, install gulp and run the default task.
97+
98+ ``` bash
99+ $ npm install
100+ $ sudo npm install -g gulp
101+ $ gulp
102+ ```
103+
104+ The default task uses [ gulp-angular-templatecache] ( https://github.com/miickel/gulp-angular-templatecache )
105+ to compile all html templates to js and then concatenates and minifies them with
106+ the rest of the sources.
107+
108+ You can also run ``` gulp watch ``` to have it rebuild on change.
109+
110+ Tests
111+ -----
112+ Unit tests are run with [ karma] ( http://karma-runner.github.io ) and written using
113+ [ mocha] ( http://visionmedia.github.io/mocha/ ) , [ chai] ( http://chaijs.com/ )
114+ and [ sinon] ( http://sinonjs.org/ )
115+
116+ To run the tests first install all dependencies with npm (if you haven't done it
117+ already) and install the karma cli to run the test.
118+
119+ ``` bash
120+ $ npm install
121+ $ sudo npm install -g karma-cli
122+ $ karma start karma.conf.js
123+ ```
124+
88125Contributing
89126------------
90127
0 commit comments