diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..066ebdf --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/node_modules/ +/static/styles/ diff --git a/gulpfile.js b/gulpfile.js new file mode 100644 index 0000000..edc76c6 --- /dev/null +++ b/gulpfile.js @@ -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')); +}); diff --git a/package.json b/package.json new file mode 100644 index 0000000..d7b58d2 --- /dev/null +++ b/package.json @@ -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" + } +}