Skip to content

Commit 727b6d0

Browse files
author
Pablo Roizo
committed
added Swiper as dependency
1 parent 4296f67 commit 727b6d0

File tree

5 files changed

+43
-36
lines changed

5 files changed

+43
-36
lines changed

dist/angular-swiper.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/angular-swiper.min.js

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gulpfile.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
var gulp = require('gulp');
44
var server = require('gulp-webserver');
55
var ngAnnotate = require('gulp-ng-annotate');
6+
var concat = require('gulp-concat');
67
var uglify = require('gulp-uglify');
78

89
gulp.task('serve', function() {
@@ -15,8 +16,9 @@ gulp.task('serve', function() {
1516
});
1617

1718
gulp.task('dist', function() {
18-
return gulp.src('src/angular-swiper.js')
19+
return gulp.src(['node_modules/swiper/dist/js/swiper.min.js', 'src/angular-swiper.js'])
1920
.pipe(ngAnnotate())
21+
.pipe(concat('angular-swiper.min.js'))
2022
.pipe(uglify())
2123
.pipe(gulp.dest('dist'));
22-
});
24+
});

package.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
var packageName = 'aaronroberson:angular-swiper';
1+
var packageName = 'PRDeving:angular-swiper';
22
var where = 'client';
3-
var version = '0.3.2';
4-
var summary = 'Angular directive for iDangero.us Swiper re-packaged for Meteor.';
5-
var gitLink = 'https://github.com/aaronroberson/angular-swiper';
3+
var version = '0.4.2';
4+
var summary = 'Angular directive for iDangero.us Swiper';
5+
var gitLink = 'https://github.com/PRDeving/angular-swiper';
66
var documentationFile = 'README.md';
77

88
// Meta-data
@@ -21,4 +21,4 @@ Package.onUse(function(api) {
2121
api.use('swiper:[email protected]', where);
2222

2323
api.addFiles('dist/angular-swiper.js', where);
24-
});
24+
});

package.json

Lines changed: 31 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,32 @@
11
{
2-
"name": "angular-swiper",
3-
"version": "0.3.2",
4-
"description": "Angular directive for nolimits4web/swiper",
5-
"main": "dist/angular-swiper.js",
6-
"scripts": {
7-
"test": "echo \"Error: no test specified\" && exit 1"
8-
},
9-
"repository": {
10-
"type": "git",
11-
"url": "https://github.com/ksachdeva/angular-swiper.git"
12-
},
13-
"keywords": [
14-
"angular",
15-
"swiper"
16-
],
17-
"author": "Kapil Sachdeva",
18-
"license": "Apache",
19-
"bugs": {
20-
"url": "https://github.com/ksachdeva/angular-swiper/issues"
21-
},
22-
"homepage": "https://github.com/ksachdeva/angular-swiper",
23-
"devDependencies": {
24-
"gulp": "^3.8.11",
25-
"gulp-ng-annotate": "^0.5.2",
26-
"gulp-uglify": "^1.1.0",
27-
"gulp-webserver": "^0.9.0"
28-
}
29-
}
2+
"name": "angular-swiper",
3+
"version": "0.4.2",
4+
"description": "Angular directive for nolimits4web/swiper, fork from ksachdeva/angular-swiper",
5+
"main": "dist/angular-swiper.min.js",
6+
"scripts": {
7+
"test": "echo \"Error: no test specified\" && exit 1",
8+
"prepublish": "npm install && gulp dist"
9+
},
10+
"repository": {
11+
"type": "git",
12+
"url": "https://github.com/PRDeving/angular-swiper.git"
13+
},
14+
"keywords": [
15+
"angular",
16+
"swiper"
17+
],
18+
"author": "PRDeving",
19+
"license": "Apache",
20+
"bugs": {
21+
"url": "https://github.com/PRDeving/angular-swiper/issues"
22+
},
23+
"homepage": "https://github.com/PRDeving/angular-swiper",
24+
"devDependencies": {
25+
"gulp": "^3.8.11",
26+
"gulp-concat": "^2.6.0",
27+
"gulp-ng-annotate": "^0.5.2",
28+
"gulp-uglify": "^1.1.0",
29+
"gulp-webserver": "^0.9.0",
30+
"swiper": "^3.3.1"
31+
}
32+
}

0 commit comments

Comments
 (0)