mirror of https://gitea.com/gitea/theme.git
npm init & start building scss to css with gulp
This commit is contained in:
parent
01e53500fc
commit
d8a4fcfb41
|
@ -0,0 +1,2 @@
|
||||||
|
/node_modules/
|
||||||
|
/static/styles/
|
|
@ -0,0 +1,8 @@
|
||||||
|
var gulp = require('gulp');
|
||||||
|
var sass = require('gulp-sass');
|
||||||
|
|
||||||
|
gulp.task('default', function () {
|
||||||
|
return gulp.src('./src/main.scss')
|
||||||
|
.pipe(sass().on('error', sass.logError))
|
||||||
|
.pipe(gulp.dest('./static/styles'));
|
||||||
|
});
|
|
@ -0,0 +1,21 @@
|
||||||
|
{
|
||||||
|
"name": "gitea-theme",
|
||||||
|
"description": "This is a Hugo theme that gets used within all of our websites like our blog, documentation and also the redirects.",
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "git+https://github.com/go-gitea/theme.git"
|
||||||
|
},
|
||||||
|
"author": "The Gitea Authors",
|
||||||
|
"license": "Apache-2.0",
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://github.com/go-gitea/theme/issues"
|
||||||
|
},
|
||||||
|
"homepage": "https://github.com/go-gitea/theme#readme",
|
||||||
|
"dependencies": {
|
||||||
|
"bootstrap": "^4.0.0-alpha.5"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"gulp": "^3.9.1",
|
||||||
|
"gulp-sass": "^2.3.2"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue