add index, gulp and initial folders
This commit is contained in:
parent
84f671be04
commit
1fba53987a
|
@ -0,0 +1,6 @@
|
|||
node_modules
|
||||
|
||||
.DS_Store
|
||||
|
||||
dist/*
|
||||
!dist/.gitkeep
|
|
@ -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;
|
File diff suppressed because it is too large
Load Diff
|
@ -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"
|
||||
}
|
||||
}
|
|
@ -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>
|
Loading…
Reference in New Issue