parent
72381a1ac3
commit
bf5484dd10
@ -0,0 +1,17 @@
|
||||
var gulp = require('gulp');
|
||||
var less = require('gulp-less');
|
||||
var path = require('path');
|
||||
var minifyCSS = require('gulp-minify-css');
|
||||
var rename = require('gulp-rename');
|
||||
|
||||
gulp.task('less', function () {
|
||||
return gulp.src('./jupyter_notebook/static/style/*.less')
|
||||
.pipe(less({
|
||||
paths: [ path.join(__dirname, 'less', 'includes') ]
|
||||
}))
|
||||
.pipe(minifyCSS())
|
||||
.pipe(rename({
|
||||
suffix: '.min'
|
||||
}))
|
||||
.pipe(gulp.dest('./jupyter_notebook/static/style'));
|
||||
});
|
||||
@ -1,16 +1,19 @@
|
||||
{
|
||||
"name": "jupyter-notebook-deps",
|
||||
"version": "4.0.0",
|
||||
"description": "Jupyter Notebook nodejs dependencies",
|
||||
"author": "Jupyter Developers",
|
||||
"license": "BSD",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/jupyter/jupyter_notebook.git"
|
||||
},
|
||||
"devDependencies": {
|
||||
"bower": "*",
|
||||
"less": "~2",
|
||||
"less-plugin-clean-css": "*"
|
||||
}
|
||||
"name": "jupyter-notebook-deps",
|
||||
"version": "4.0.0",
|
||||
"description": "Jupyter Notebook nodejs dependencies",
|
||||
"author": "Jupyter Developers",
|
||||
"license": "BSD",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/jupyter/jupyter_notebook.git"
|
||||
},
|
||||
"devDependencies": {
|
||||
"bower": "*",
|
||||
"gulp": "^3.8.11",
|
||||
"gulp-less": "^3.0.2",
|
||||
"gulp-minify-css": "^1.0.0",
|
||||
"gulp-rename": "^1.2.2",
|
||||
"less": "~2"
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in new issue