Skip to content
This repository was archived by the owner on Apr 3, 2019. It is now read-only.

Commit 23e4472

Browse files
committed
Clean-up gulp
1 parent 79213f7 commit 23e4472

File tree

2 files changed

+5
-22
lines changed

2 files changed

+5
-22
lines changed

gulpfile.js

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
var gulp = require("gulp");
66
var browserify = require('browserify');
77
var source = require('vinyl-source-stream');
8-
var uglify = require('gulp-uglify');
9-
var deploy = require("gulp-gh-pages");
108

119
var opt = {
1210
outputFolder: "build",
@@ -28,17 +26,4 @@ gulp.task("dist", function() {
2826
.pipe(gulp.dest(opt.outputFolder));
2927
});
3028

31-
gulp.task("cname", function() {
32-
return gulp.src("CNAME")
33-
.pipe(gulp.dest(opt.outputFolder));
34-
});
35-
36-
/**
37-
* Deploy to gh-pages
38-
*/
39-
gulp.task("deploy", ["dist", "cname"], function() {
40-
gulp.src("./build/**")
41-
.pipe(deploy("git@github.com:spiral-project/daybed.js.git"));
42-
});
43-
4429
gulp.task("default", ["dist"]);

package.json

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,24 @@
1010
"url": "git@github.com:spiral-project/daybed.js.git"
1111
},
1212
"scripts": {
13-
"deploy": "gulp deploy",
1413
"dist": "gulp dist",
1514
"test": "make test",
1615
"outdated": "npm outdated --depth 0"
1716
},
1817
"dependencies": {
1918
"hawk": "2.2.*",
2019
"sjcl": "1.0.*",
21-
"gulp": "^3.8.*",
22-
"gulp-gh-pages": "^0.3.*",
23-
"gulp-uglify": "^0.3.*",
24-
"browserify": "^4.1.*",
25-
"vinyl-source-stream": "^0.1.*",
2620
"promise-polyfill": "1.1.*",
2721
"xmlhttprequest": "^1.6.*"
2822
},
2923
"devDependencies": {
3024
"mocha": "1.21.*",
3125
"chai": "1.9.*",
3226
"sinon": "1.10.*",
33-
"mocha-phantomjs": "3.5.*"
27+
"mocha-phantomjs": "3.5.*",
28+
"promise-polyfill": "1.1.*",
29+
"gulp": "^3.8.*",
30+
"browserify": "^4.1.*",
31+
"vinyl-source-stream": "^0.1.*"
3432
}
3533
}

0 commit comments

Comments
 (0)