mirror of
https://github.com/papercss/papercss
synced 2024-06-08 00:42:20 +02:00
updated for 1.4.0 release
This commit is contained in:
parent
1212a2db8d
commit
e317fad536
11
gulpfile.js
11
gulpfile.js
|
@ -11,7 +11,7 @@ gulp.task('webserver', function() {
|
|||
});
|
||||
|
||||
gulp.task('sass', function() {
|
||||
gulp.src('src/styles.scss')
|
||||
gulp.src('src/**/*.scss')
|
||||
.pipe(sass.sync().on('error', sass.logError))
|
||||
.pipe(cleanCSS({format: 'beautify'}))
|
||||
.pipe(rename('paper.css'))
|
||||
|
@ -20,7 +20,7 @@ gulp.task('sass', function() {
|
|||
});
|
||||
|
||||
gulp.task('watch', function () {
|
||||
gulp.watch('src/*.scss', ['sass']);
|
||||
gulp.watch('src/**/*.scss', ['sass']);
|
||||
});
|
||||
|
||||
gulp.task('minify-css', () => {
|
||||
|
@ -30,12 +30,5 @@ gulp.task('minify-css', () => {
|
|||
.pipe(gulp.dest('dist'));
|
||||
});
|
||||
|
||||
//gulp.task('components', () => {
|
||||
// gulp.src('src/*.scss')
|
||||
// .pipe(sass.sync().on('error', sass.logError))
|
||||
// .pipe(cleanCSS({format: 'beautify'}))
|
||||
// .pipe(gulp.dest('dist/components'));
|
||||
//});
|
||||
|
||||
gulp.task('default', ['sass', 'webserver', 'watch']);
|
||||
gulp.task('build', ['sass', 'minify-css']);
|
||||
|
|
606
package-lock.json
generated
606
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "papercss",
|
||||
"version": "1.3.1",
|
||||
"version": "1.4.0",
|
||||
"description": "The less formal CSS framework.",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
@ -23,11 +23,8 @@
|
|||
"gulp": "3.9.1",
|
||||
"gulp-clean-css": "3.9.0",
|
||||
"gulp-connect": "5.0.0",
|
||||
"gulp-less": "3.3.2",
|
||||
"gulp-plumber": "1.1.0",
|
||||
"gulp-rename": "1.2.2",
|
||||
"gulp-watch-less": "1.0.1",
|
||||
"less": "2.7.2"
|
||||
"gulp-rename": "1.2.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"browserify": "^14.1.0",
|
||||
|
|
Loading…
Reference in a new issue