Skip to content

Commit

Permalink
brutusin#21 add test coverage to json-forms
Browse files Browse the repository at this point in the history
  • Loading branch information
monte-hayward committed Mar 23, 2016
1 parent 912ada3 commit 7fdba3d
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 11 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules
dist
coverage
bower_components
.publish
19 changes: 11 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
language: node_js
node_js:
- stable
before_install:
- npm install -g bower
- npm install rimraf
before_script:
- rm -rf node_modules/json-forms
script: gulp
sudo: false
- 5.7.0
cache:
directories:
- node_modules
after_script:
- npm run codecov
notifications:
slack:
on_success: change
on_failure: change
email: false
34 changes: 31 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"name": "brutusin-json-forms",
"version": "0.0.0",
"version": "0.0.1",
"description": "Brutusin json-forms is a JSON Schema to HTML form generator, supporting dynamic subschemas (on the fly resolution). Extensible and customizable library with zero dependencies. Bootstrap add-ons provided",
"repository": "idelvall/brutusin-json-forms",
"repository": {
"type": "git",
"url": "git+https://github.com/idelvall/brutusin-json-forms.git"
},
"main": "dist/brutusin-json-forms.min.js",
"filename": "dist/brutusin-json-forms.min.js",
"homepage": "http://brutusin.org/json-forms/",
Expand All @@ -16,6 +19,8 @@
"schema"
],
"devDependencies": {
"chai": "^3.5.0",
"codecov.io": "^0.1.6",
"gulp": "^3.5.6",
"gulp-angular-templatecache": "^1.2.1",
"gulp-concat": "^2.2.0",
Expand All @@ -27,7 +32,24 @@
"gulp-rename": "^1.2.0",
"gulp-uglify": "^0.2.1",
"gulp-umd": "^0.1.3",
"rimraf": "^2.5.1"
"istanbul": "^0.4.2",
"karma": "^0.13.22",
"rimraf": "^2.5.1",
"karma-browserify": "^5.0.2",
"karma-chrome-launcher": "^0.2.2",
"karma-coverage": "^0.5.3",
"karma-firefox-launcher": "^0.1.7",
"karma-mocha": "^0.2.1",
"karma-mocha-reporter": "^2.0.0",
"karma-phantomjs-launcher": "^1.0.0",
"karma-safari-launcher": "^0.1.1",
"karma-sinon-chai": "^1.1.0",
"lolex": "^1.4.0",
"mocha": "^2.4.5",
"phantomjs-prebuilt": "^2.1.3",
"sinon": "^1.17.3",
"sinon-chai": "^2.8.0",
"watchify": "^3.7.0"
},
"licenses": [
{
Expand All @@ -47,5 +69,11 @@
"brutusin-json-forms-jsonsrv.js",
"brutusin-json-forms-jsonsrv.min.js"
]
},
"bugs": {
"url": "https://github.com/idelvall/brutusin-json-forms/issues"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
}
}
11 changes: 11 additions & 0 deletions todo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[ ] Continuous integration


[ ] Update deps
npm WARN deprecated [email protected]: Please use gulp-clean-css
npm WARN deprecated [email protected]: Please use gulp-htmlmin
npm WARN deprecated [email protected]: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.
npm WARN deprecated [email protected]: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.
npm WARN deprecated [email protected]: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.
npm WARN deprecated [email protected]: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.

0 comments on commit 7fdba3d

Please sign in to comment.