Skip to content

Commit 2392034

Browse files
committed
chore: remove unnecessary dependencies
1 parent 8efcde8 commit 2392034

File tree

2 files changed

+1
-29
lines changed

2 files changed

+1
-29
lines changed

gulpfile.js

+1-27
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
/*eslint no-console: 0*/
44

5-
var fs = require('fs'),
6-
path = require('path');
5+
var path = require('path');
76

87
var gulp = require('gulp'),
98
mergeStream = require('merge-stream'),
@@ -136,25 +135,6 @@ gulp.task('serve', ['build'], function(done) {
136135
});
137136
});
138137

139-
gulp.task('changelog', ['getVersion'], function(done) {
140-
var changelog = require('conventional-changelog');
141-
142-
var options = {
143-
repository: pkg.homepage,
144-
version: VERSION,
145-
file: 'CHANGELOG.md'
146-
};
147-
148-
var filePath = path.join(__dirname, options.file);
149-
changelog(options, function(err, log) {
150-
if (err) {
151-
throw err;
152-
}
153-
154-
fs.writeFile(filePath, log, done);
155-
});
156-
});
157-
158138
function bumpVersion(folder) {
159139
return gulp.src([
160140
'bower.json',
@@ -168,12 +148,6 @@ function bumpVersion(folder) {
168148
.pipe(gulp.dest(folder));
169149
}
170150

171-
gulp.task('version-bump', ['getVersion'], function() {
172-
return bumpVersion('./');
173-
});
174-
175-
gulp.task('release', ['version-bump', 'changelog']);
176-
177151
gulp.task('bower-clone', ['build'], function(done) {
178152
plugins.git.clone(bowerConfig.repository, {
179153
args: '--depth=2'

package.json

-2
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,10 @@
3636
"angular-mocks": "~1.3.16",
3737
"browserify": "^13.0.0",
3838
"browserify-istanbul": "^1.0.0",
39-
"conventional-changelog": "0.0.17",
4039
"eslint": "^2.2.0",
4140
"express": "^4.8.5",
4241
"gulp": "^3.9.0",
4342
"gulp-bump": "^1.0.0",
44-
"gulp-exit": "0.0.2",
4543
"gulp-git": "^1.1.0",
4644
"gulp-header": "^1.2.2",
4745
"gulp-load-plugins": "^1.2.0",

0 commit comments

Comments
 (0)