Skip to content

Commit

Permalink
chore(package.json): update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
the-darc committed Nov 9, 2016
1 parent 73c0dce commit e358d4d
Show file tree
Hide file tree
Showing 7 changed files with 295 additions and 247 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ node_js:
- "5"
- "4"
- "0.11"
- "0.10"

before_install:
- npm install -g bower
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
"tests"
],
"dependencies": {
"br-masks": "~0.4.1"
"br-masks": "~0.5.0"
}
}
2 changes: 1 addition & 1 deletion config/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ module.exports = function(config) {
},
colors: true,
autoWatch: false,
singleRun: false,
singleRun: true,
browsers: ['Chrome'],
customLaunchers: {
Chrome_travis_ci: {
Expand Down
32 changes: 1 addition & 31 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@ var gulp = require('gulp'),
browserify = require('browserify'),
source = require('vinyl-source-stream'),
buffer = require('vinyl-buffer'),
karma = require('karma').server,
jshintReporter = require('jshint-stylish'),
pkg = require(path.join(__dirname, 'package.json')),
plugins = require('gulp-load-plugins')({
config: path.join(__dirname, 'package.json')
}),
fs = require('fs');
});

var config = {
src: {
Expand Down Expand Up @@ -57,31 +55,3 @@ gulp.task('build', function() {
gulp.task('default', ['jshint', 'build'], function() {
gulp.watch(config.src.files, ['jshint', 'build']);
});

gulp.task('test', function(done) {
var karmaConfig = {
singleRun: true,
configFile: __dirname + '/config/karma.conf.js'
};

karma.start(karmaConfig, done);
});

gulp.task('changelog', function(done) {
var changelog = require('conventional-changelog');

var options = {
repository: pkg.homepage,
version: pkg.version,
file: path.join(__dirname, 'CHANGELOG.md')
};

changelog(options, function(err, log) {
if (err) {
throw err;
}

fs.writeFile(options.file, log, done);
});
});

40 changes: 22 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "An Angular library of masks applicable to several Brazilian data.",
"main": "src/filters.js",
"scripts": {
"test": "gulp test"
"test": "karma start config/karma.conf.js",
"release": "conventional-changelog -p angular -i CHANGELOG.md -s"
},
"repository": {
"type": "git",
Expand All @@ -28,31 +29,34 @@
},
"homepage": "https://github.com/the-darc/angular-br-filters",
"dependencies": {
"br-masks": "^0.4.0"
"br-masks": "^0.5.0"
},
"devDependencies": {
"angular": "^1.3.15",
"angular-mocks": "^1.3.15",
"browserify": "^11.0.1",
"browserify-istanbul": "^0.2.1",
"conventional-changelog": "0.0.17",
"angular": "~1.5.8",
"angular-mocks": "~1.5.8",
"browserify": "^13.1.1",
"browserify-istanbul": "^2.0.0",
"conventional-changelog": "1.1.0",
"gulp": "^3.8.8",
"gulp-concat": "^2.6.0",
"gulp-footer": "^1.0.5",
"gulp-header": "^1.1.1",
"gulp-jshint": "^1.9.0",
"gulp-load-plugins": "^0.6.0",
"gulp-jshint": "^2.0.2",
"gulp-load-plugins": "^1.4.0",
"gulp-rename": "^1.2.2",
"gulp-uglify": "^1.0.1",
"gulp-uglify": "^2.0.0",
"istanbul": "^0.4.5",
"jasmine-core": "^2.3.2",
"jshint-stylish": "^1.0.0",
"karma": "^0.12.31",
"karma-browserify": "^4.3.0",
"karma-chrome-launcher": "^0.1.10",
"karma-coverage": "^0.3.1",
"karma-coveralls": "^0.1.5",
"karma-jasmine": "^0.3.5",
"jshint": "^2.9.4",
"jshint-stylish": "^2.2.1",
"karma": "^1.3.0",
"karma-browserify": "^5.1.0",
"karma-chrome-launcher": "^2.0.0",
"karma-coverage": "^1.1.1",
"karma-coveralls": "^1.1.2",
"karma-jasmine": "^1.0.2",
"vinyl-buffer": "^1.0.0",
"vinyl-source-stream": "^1.1.0"
"vinyl-source-stream": "^1.1.0",
"watchify": "^3.7.0"
}
}
Loading

0 comments on commit e358d4d

Please sign in to comment.