diff --git a/bower.json b/bower.json deleted file mode 100644 index 0aca309..0000000 --- a/bower.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "angular-slugify", - "version": "1.0.1", - "main": "./angular-slugify.js", - "dependencies": { - "angular": "^1.0.x" - }, - "devDependencies": { - "angular": "^1.2.x", - "angular-mocks": "^1.2.x" - } -} diff --git a/package.json b/package.json index 70b2acb..c1bc408 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,6 @@ "test": "test" }, "scripts": { - "postinstall": "bower install", "pretest": "npm install", "test": "node node_modules/.bin/karma start test/karma.conf.js", "test-single-run": "node node_modules/.bin/karma start test/karma.conf.js --single-run" @@ -31,11 +30,11 @@ "angular": "^1.0.x" }, "devDependencies": { + "angular": "^1.2.x", + "angular-mocks": "^1.2.x", + "jasmine-core": "^2.4.1", "karma": "^0.13.3", "karma-chrome-launcher": "^0.2.0", - "karma-jasmine": "^0.3.6", - "bower": "^1.4.1", - "angular": "^1.2.x", - "angular-mocks": "^1.2.x" + "karma-jasmine": "^0.3.6" } } diff --git a/test/karma.conf.js b/test/karma.conf.js index 2f1083d..c00275d 100644 --- a/test/karma.conf.js +++ b/test/karma.conf.js @@ -15,10 +15,10 @@ module.exports = function(config) { // list of files / patterns to load in the browser files: [ - 'bower_components/angular/angular.js', - 'bower_components/angular-mocks/angular-mocks.js', - 'angular-slugify.js', - 'test/unit/**/*.js' + 'node_modules/angular/angular.js', + 'node_modules/angular-mocks/angular-mocks.js', + 'angular-slugify.js', + 'test/unit/**/*.js' ],