add index, gulp and initial folders

This commit is contained in:
Laurentiu Trofosila 2020-12-26 21:08:02 +01:00
parent 84f671be04
commit 1fba53987a
6 changed files with 7401 additions and 0 deletions

6
.gitignore vendored Normal file
View File

@ -0,0 +1,6 @@
node_modules
.DS_Store
dist/*
!dist/.gitkeep

0
dist/.gitkeep vendored Normal file
View File

13
gulpfile.js Normal file
View File

@ -0,0 +1,13 @@
var gulp = require("gulp");
const htmlmin = require("gulp-htmlmin");
function defaultTask(cb) {
gulp
.src("src/*.html")
.pipe(htmlmin({ collapseWhitespace: true }))
.pipe(gulp.dest("dist"));
cb();
}
exports.default = defaultTask;

7350
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

22
package.json Normal file
View File

@ -0,0 +1,22 @@
{
"name": "minwiz",
"version": "1.0.0",
"description": "MinWiz - Minimal starter kit for under 1 KB sites",
"scripts": {
"build": "gulp"
},
"repository": {
"type": "git",
"url": "git+https://github.com/zeplia/minwiz.git"
},
"author": "Zeplia",
"license": "BSD-2-Clause",
"bugs": {
"url": "https://github.com/zeplia/minwiz/issues"
},
"homepage": "https://github.com/zeplia/minwiz#readme",
"devDependencies": {
"gulp": "^4.0.2",
"gulp-htmlmin": "^5.0.1"
}
}

10
src/index.html Normal file
View File

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>This is a Heading</h1>
<p>This is a paragraph.</p>
</body>
</html>