Permalink
Browse files

Merge pull request #8 from digitor/feature/gulp-build

Added a gulp build for minification
  • Loading branch information...
2 parents 350cc18 + e970943 commit 20dd16f025c8e87bee2efe75b2fc996c498afe48 @snookca committed Aug 21, 2015
Showing with 46 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. +13 −0 gulpfile.js
  3. +31 −0 package.json
  4. +1 −1 preparetransition.min.js
View
@@ -0,0 +1 @@
+node_modules
View
@@ -0,0 +1,13 @@
+var gulp = require('gulp'),
+ rename = require('gulp-rename'),
+ uglify = require('gulp-uglify'),
+ header = require('gulp-header'),
+ pkg = require('./package.json');
+
+gulp.task('default', function() {
+ return gulp.src("./preparetransition.js")
+ .pipe(uglify())
+ .pipe(rename("preparetransition.min.js"))
+ .pipe(header("/* "+pkg.header+" */\n"))
+ .pipe(gulp.dest('./'))
+});
View
@@ -0,0 +1,31 @@
+{
+ "name": "prepare-transition",
+ "version": "0.1.1",
+ "description": "The prepareTransition plugin sets display and visibility to override any existing display and visibility properties.",
+ "header": "Jonathan Snook - MIT License - https://github.com/snookca/prepareTransition",
+ "main": "gulpfile.js",
+ "scripts": {
+ "test": "echo \"Error: no test specified\" && exit 1"
+ },
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/snookca/prepareTransition.git"
+ },
+ "keywords": [
+ "css",
+ "transition",
+ "jquery"
+ ],
+ "author": "jonathan@snook.ca",
+ "license": "MIT",
+ "bugs": {
+ "url": "https://github.com/snookca/prepareTransition/issues"
+ },
+ "homepage": "https://github.com/snookca/prepareTransition#readme",
+ "devDependencies": {
+ "gulp": "^3.9.0",
+ "gulp-rename": "^1.2.2",
+ "gulp-uglify": "^1.2.0",
+ "gulp-header": "^1.2.2"
+ }
+}
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit 20dd16f

Please sign in to comment.