bricklayer
Advanced tools
Comparing version 0.2.22 to 0.3.0
@@ -24,5 +24,5 @@ { | ||
"logo.png", | ||
"screenshot.gif" | ||
"assets" | ||
], | ||
"version": "0.2.22" | ||
"version": "0.3.0" | ||
} |
@@ -11,2 +11,3 @@ var gulp = require('gulp'), | ||
rename = require('gulp-rename'), | ||
cssmin = require('gulp-cssmin'), | ||
typescript = require('gulp-typescript') | ||
@@ -26,2 +27,8 @@ | ||
gulp.task("cssmin", function () { | ||
gulp.src('dist/bricklayer.css') | ||
.pipe(cssmin()) | ||
.pipe(rename({suffix: '.min'})) | ||
.pipe(gulp.dest('dist')); | ||
}) | ||
@@ -36,3 +43,5 @@ gulp.task("js", function () { | ||
.pipe(gulp.dest('./dist')); | ||
}) | ||
gulp.task("browserify", function () { | ||
browserify() | ||
@@ -49,3 +58,5 @@ .add('./src/bricklayer.ts') | ||
.pipe(gulp.dest("./")); | ||
}) | ||
gulp.task("jsmin", function () { | ||
gulp.src("./dist/bricklayer.js") | ||
@@ -55,3 +66,3 @@ .pipe(uglify()) | ||
.pipe(gulp.dest("./dist")) | ||
}); | ||
}) | ||
@@ -62,9 +73,8 @@ gulp.task("watch", ["css", "js"], function () { | ||
// proxy: "localhost/bricklayer" | ||
}); | ||
gulp.watch('./src/*.scss', ["css"]); | ||
gulp.watch('./src/*.ts', ["js"]); | ||
}); | ||
}) | ||
gulp.watch('./src/*.scss', ["css"]) | ||
gulp.watch('./src/*.ts', ["js"]) | ||
}) | ||
gulp.task("default", ["watch"]); | ||
gulp.task("export", ["css", "js"]); | ||
gulp.task("default", ["watch"]) | ||
gulp.task("export", ["css", "cssmin", "js", "browserify", "jsmin"]) |
{ | ||
"name": "bricklayer", | ||
"version": "0.2.22", | ||
"version": "0.3.0", | ||
"description": "Lightweight and strong Masonry alternative", | ||
@@ -29,2 +29,3 @@ "main": "dist/bricklayer-node.js", | ||
"gulp-csslint": "^0.3.0", | ||
"gulp-cssmin": "^0.1.7", | ||
"gulp-rename": "^1.2.2", | ||
@@ -31,0 +32,0 @@ "gulp-sass": "^2.2.0", |
@@ -14,4 +14,14 @@ <img src="https://raw.githubusercontent.com/ademilter/bricklayer/master/logo.png" width="416"> | ||
[![Image](https://rawgit.com/ademilter/bricklayer/master/screenshot.gif)](http://ademilter.github.io/bricklayer) | ||
[![Image](https://rawgit.com/ademilter/bricklayer/master/assets/screenshot-wall.gif)](http://ademilter.github.io/bricklayer/gradient-wall.html) | ||
## All Examples | ||
- [Colourful Boxes](http://bricklayer.js.org/index.html) | ||
- [Gradient Wall](http://bricklayer.js.org/gradient-wall.html) | ||
## Bricklayer Playgrounds | ||
- Play with Bricklayer on [CodePen.io](http://codepen.io/f/pen/QNBwrO) | ||
- Play with Bricklayer on [JSFiddle](https://jsfiddle.net/fka/totn2yL0/) | ||
## Why Bricklayer? | ||
@@ -29,4 +39,4 @@ | ||
```html | ||
<link rel="stylesheet" href="//rawgit.com/ademilter/bricklayer/master/dist/bricklayer.css"> | ||
<script src="//rawgit.com/ademilter/bricklayer/master/dist/bricklayer.min.js"></script> | ||
<link rel="stylesheet" href="//npmcdn.com/bricklayer/dist/bricklayer.css"> | ||
<script src="//npmcdn.com/bricklayer/dist/bricklayer.min.js"></script> | ||
``` | ||
@@ -178,2 +188,8 @@ | ||
## Credits | ||
- [Adem İlter](https://twitter.com/ademilter) - creator, owner of the whole idea, maintainer of CSS artwork. | ||
- [Fatih Kadir Akın](https://twitter.com/fkadev) - creator, maintainer of JavaScript parts. | ||
- [Yasir Buğra Eryılmaz](https://twitter.com/yasirbugra) - maintainer of logo | ||
## License | ||
@@ -180,0 +196,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3549557
19
837
216
12