npm init & start building scss to css with gulp

This commit is contained in:
Matthias Loibl 2016-12-06 22:02:52 +01:00
parent 01e53500fc
commit d8a4fcfb41
No known key found for this signature in database
GPG Key ID: B1C7DF661ABB2C1A
3 changed files with 31 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
/node_modules/
/static/styles/

8
gulpfile.js Normal file
View File

@ -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'));
});

21
package.json Normal file
View File

@ -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"
}
}