Skip to content

Commit b232f1b

Browse files
committed
Added gulp and gulp-uglify
1 parent 63cb882 commit b232f1b

File tree

3 files changed

+34
-0
lines changed

3 files changed

+34
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

gulpfile.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
var gulp = require('gulp');
2+
var uglify = require('gulp-uglify');
3+
4+
gulp.task('build', function() {
5+
return gulp.src('src/*.js')
6+
.pipe(uglify())
7+
.pipe(gulp.dest('dist'));
8+
});

package.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"name": "share-buttons",
3+
"version": "1.0.0",
4+
"description": "Simple social buttons for your site.",
5+
"directories": {
6+
"example": "example"
7+
},
8+
"scripts": {
9+
"test": "echo \"Error: no test specified\" && exit 1"
10+
},
11+
"repository": {
12+
"type": "git",
13+
"url": "https://github.com/wcoder/share-buttons.git"
14+
},
15+
"author": "Yauheni Pakala <[email protected]>",
16+
"license": "MIT",
17+
"bugs": {
18+
"url": "https://github.com/wcoder/share-buttons/issues"
19+
},
20+
"homepage": "https://github.com/wcoder/share-buttons",
21+
"devDependencies": {
22+
"gulp": "^3.8.11",
23+
"gulp-uglify": "^1.2.0"
24+
}
25+
}

0 commit comments

Comments
 (0)