From f72a0fbfa1240d1bfec7c8b56b1cf8b54eee3b6c Mon Sep 17 00:00:00 2001 From: Zohar Date: Sun, 28 Jun 2015 14:05:59 -0500 Subject: [PATCH] Updated dependencies, added ngAnnotate, cleaned up code --- CONTRIBUTING.md | 1 - Gruntfile.js | 1 - bower.json | 2 +- karma.conf.js | 1 - package.json | 7 ++----- 5 files changed, 3 insertions(+), 9 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0ebddef..47319b4 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -9,7 +9,6 @@ Thanks for wanting to contribute. Please follow the instructions below. 4. Run `grunt serve` to start serving the demo on `http://localhost:9001/demo/` - ## Before creating a pull request 1. Make sure you add tests to `/test/angular-validator-spec.js` that test your changes. To run tests `grunt test` 2. If appropriate update the README to reflect your changes. diff --git a/Gruntfile.js b/Gruntfile.js index ddabbd4..0b7eacb 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -79,7 +79,6 @@ module.exports = function(grunt) { grunt.loadNpmTasks('grunt-contrib-connect'); grunt.loadNpmTasks('grunt-ng-annotate'); - // Load the plugin that provides the "jshint" task. grunt.loadNpmTasks('grunt-contrib-jshint'); diff --git a/bower.json b/bower.json index 3590461..ed6be05 100644 --- a/bower.json +++ b/bower.json @@ -36,4 +36,4 @@ "angular-mocks": "~1.4.1" }, "homepage": "https://github.com/turinggroup/angular-validator" -} +} \ No newline at end of file diff --git a/karma.conf.js b/karma.conf.js index 7db3aad..ea8d1e6 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -1,5 +1,4 @@ // Karma configuration - module.exports = function(config) { config.set({ diff --git a/package.json b/package.json index 42847df..9e9d7fc 100644 --- a/package.json +++ b/package.json @@ -13,10 +13,7 @@ "grunt-karma": "latest", "karma": "~0.12.1", "karma-jasmine": "~0.1.5", - "karma-chrome-launcher": "~0.1.2", - "karma-phantomjs-launcher": "~0.1.2", - "karma-firefox-launcher": "~0.1.3", - "ng-annotate": "0.15.4", - "grunt-ng-annotate": "~0.10.0" + "ng-annotate": ">=0.15.4", + "grunt-ng-annotate": ">=0.10.0" } } \ No newline at end of file