-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
61 additions
and
76 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,8 @@ | |
"authors": [ | ||
"Bogdan Chadkin <[email protected]>" | ||
], | ||
"description": "skrollr plugin that makes presentation scrolling decks", | ||
"main": "src/skrollr.decks.js", | ||
"description": "Fullpage presentation decks with scrolling", | ||
"main": "dist/skrollr.decks.js", | ||
"keywords": [ | ||
"skrollr", | ||
"decks", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
/** | ||
* skrollr-decks 0.2.0 (2014-12-05) - Makes fullpage presentation decks. | ||
* Bogdan Chadkin - https://github.com/TrySound/skrollr-decks | ||
* Free to use under terms of MIT license | ||
/*! | ||
* skrollr-decks 0.2.1 | ||
* Fullpage presentation decks with scrolling | ||
* https://github.com/TrySound/skrollr-decks | ||
* | ||
* Released under the MIT license | ||
* Copyright (c) 2015, Bogdan Chadkin <[email protected]> | ||
*/ | ||
|
||
(function (module) { | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
var gulp = require('gulp'), | ||
rename = require('gulp-rename'), | ||
uglify = require('gulp-uglify'), | ||
header = require('gulp-header'), | ||
pkg = JSON.parse(require('fs').readFileSync('package.json')), | ||
template = ['/*!', | ||
' * <%= name %> <%= version %>', | ||
' * <%= description %>', | ||
' * <%= homepage %>', | ||
' * ', | ||
' * Released under the <%= license %> license', | ||
' * Copyright (c) <%= new Date().getFullYear() %>, <%= author %>', | ||
' */\n\n'].join('\n'); | ||
|
||
|
||
gulp.task('default', function () { | ||
gulp.src('src/skrollr.decks.js') | ||
.pipe(header(template, pkg)) | ||
.pipe(gulp.dest('dist')) | ||
.pipe(rename({suffix: '.min'})) | ||
.pipe(uglify({ | ||
preserveComments: 'some' | ||
})) | ||
.pipe(gulp.dest('dist')); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,31 @@ | ||
{ | ||
"name": "skrollr-decks", | ||
"version": "0.2.0", | ||
"description": "Makes fullpage presentation decks.", | ||
"homepage": "https://github.com/TrySound/skrollr-decks", | ||
"author": { | ||
"name": "Bogdan Chadkin", | ||
"email": "[email protected]" | ||
"version": "0.2.1", | ||
"description": "Fullpage presentation decks with scrolling", | ||
"main": "gulpfile.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/TrySound/skrollr-decks.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/TrySound/skrollr-decks/issues" | ||
}, | ||
"license": { | ||
"type": "MIT", | ||
"url": "https://github.com/TrySound/skrollr-decks/blob/master/LICENSE.txt" | ||
}, | ||
|
||
"engines": { | ||
"node": ">= 0.10.0" | ||
}, | ||
"devDependencies": { | ||
"grunt": "~0.4.5", | ||
"grunt-contrib-jshint": "~0.10.0", | ||
"grunt-contrib-concat": "~0.4.0", | ||
"grunt-contrib-uglify": "~0.5.0" | ||
"url": "https://github.com/TrySound/skrollr-decks" | ||
}, | ||
"keywords": [ | ||
"skrollr", | ||
"decks", | ||
"presentation", | ||
"vanillajs" | ||
] | ||
], | ||
"author": "Bogdan Chadkin <[email protected]>", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/TrySound/skrollr-decks/issues" | ||
}, | ||
"homepage": "https://github.com/TrySound/skrollr-decks", | ||
"devDependencies": { | ||
"gulp": "^3.8.10", | ||
"gulp-header": "^1.2.2", | ||
"gulp-rename": "^1.2.0", | ||
"gulp-uglify": "^1.0.2" | ||
} | ||
} |