\x20\t\r\n\f]*)[^>]*)\/>/gi,Ae=/
diff --git a/modernizr-config.json b/modernizr-config.json
deleted file mode 100644
index aa9bed1..0000000
--- a/modernizr-config.json
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- "minify": true,
- "options": [
- "domPrefixes",
- "prefixes",
- "addTest",
- "hasEvent",
- "mq",
- "prefixedCSSValue",
- "testAllProps",
- "testProp",
- "testStyles",
- "setClasses"
- ],
- "feature-detects": [
- "test/custom-elements",
- "test/history",
- "test/pointerevents",
- "test/postmessage",
- "test/webgl",
- "test/websockets",
- "test/css/animations",
- "test/css/columns",
- "test/css/flexbox",
- "test/elem/picture",
- "test/img/sizes",
- "test/img/srcset",
- "test/workers/webworkers"
- ]
-}
diff --git a/package.json b/package.json
deleted file mode 100644
index 86b5ffb..0000000
--- a/package.json
+++ /dev/null
@@ -1,68 +0,0 @@
-{
- "devDependencies": {
- "apache-server-configs": "^3.1.0",
- "archiver": "^3.0.0",
- "babel-core": "^6.26.3",
- "babel-preset-env": "^1.7.0",
- "babel-register": "^6.26.0",
- "del": "^4.0.0",
- "eslint": "^5.15.2",
- "eslint-config-recommended": "^4.0.0",
- "eslint-plugin-mocha": "^5.3.0",
- "glob": "^7.1.3",
- "gulp": "^3.9.1",
- "gulp-autoprefixer": "^6.0.0",
- "gulp-eslint": "^5.0.0",
- "gulp-header": "^2.0.7",
- "gulp-jscs": "^4.1.0",
- "gulp-load-plugins": "^1.5.0",
- "gulp-rename": "^1.4.0",
- "gulp-replace": "^1.0.0",
- "jquery": "3.3.1",
- "main.css": "1.0.0",
- "mocha": "^5.2.0",
- "modernizr": "3.7.1",
- "normalize.css": "8.0.1",
- "run-sequence": "^2.2.1",
- "ssri": "^6.0.1",
- "strip-json-comments": "^2.0.1"
- },
- "engines": {
- "node": ">=6",
- "npm": ">=3"
- },
- "babel": {
- "presets": [
- "env"
- ]
- },
- "h5bp-configs": {
- "directories": {
- "archive": "archive",
- "dist": "dist",
- "src": "src",
- "test": "test"
- }
- },
- "homepage": "https://html5boilerplate.com/",
- "license": "MIT",
- "name": "html5-boilerplate",
- "scripts": {
- "build": "gulp build",
- "test": "gulp archive && mocha --require babel-core/register --reporter spec --timeout 5000"
- },
- "version": "7.1.0",
- "description": "A professional front-end template for building fast, robust, and adaptable web apps or sites.",
- "files": [
- "CHANGELOG.md",
- "HTML5-Boilerplate-LICENSE.txt",
- "package.json",
- "dist/",
- "modernizr-config.json",
- "README.md"
- ],
- "repository": {
- "type": "git",
- "url": "https://github.com/h5bp/html5-boilerplate.git"
- }
-}
diff --git a/dist/robots.txt b/robots.txt
similarity index 100%
rename from dist/robots.txt
rename to robots.txt
diff --git a/src/.editorconfig b/src/.editorconfig
deleted file mode 100644
index 125d12c..0000000
--- a/src/.editorconfig
+++ /dev/null
@@ -1,13 +0,0 @@
-# editorconfig.org
-
-root = true
-
-[*]
-charset = utf-8
-indent_size = 2
-indent_style = space
-insert_final_newline = true
-trim_trailing_whitespace = true
-
-[*.md]
-trim_trailing_whitespace = false
diff --git a/src/.gitattributes b/src/.gitattributes
deleted file mode 100644
index c664a90..0000000
--- a/src/.gitattributes
+++ /dev/null
@@ -1,194 +0,0 @@
-## GITATTRIBUTES FOR WEB PROJECTS
-#
-# These settings are for any web project.
-#
-# Details per file setting:
-# text These files should be normalized (i.e. convert CRLF to LF).
-# binary These files are binary and should be left untouched.
-#
-# Note that binary is a macro for -text -diff.
-######################################################################
-
-## AUTO-DETECT
-## Handle line endings automatically for files detected as
-## text and leave all files detected as binary untouched.
-## This will handle all files NOT defined below.
-* text=auto
-
-## SOURCE CODE
-*.bat text eol=crlf
-*.coffee text
-*.css text
-*.htm text
-*.html text
-*.inc text
-*.ini text
-*.js text
-*.json text
-*.jsx text
-*.less text
-*.od text
-*.onlydata text
-*.php text
-*.pl text
-*.py text
-*.rb text
-*.sass text
-*.scm text
-*.scss text
-*.sh text eol=lf
-*.sql text
-*.styl text
-*.tag text
-*.ts text
-*.tsx text
-*.xml text
-*.xhtml text
-
-## DOCKER
-*.dockerignore text
-Dockerfile text
-
-## DOCUMENTATION
-*.markdown text
-*.md text
-*.mdwn text
-*.mdown text
-*.mkd text
-*.mkdn text
-*.mdtxt text
-*.mdtext text
-*.txt text
-AUTHORS text
-CHANGELOG text
-CHANGES text
-CONTRIBUTING text
-COPYING text
-copyright text
-*COPYRIGHT* text
-INSTALL text
-license text
-LICENSE text
-NEWS text
-readme text
-*README* text
-TODO text
-
-## TEMPLATES
-*.dot text
-*.ejs text
-*.haml text
-*.handlebars text
-*.hbs text
-*.hbt text
-*.jade text
-*.latte text
-*.mustache text
-*.njk text
-*.phtml text
-*.tmpl text
-*.tpl text
-*.twig text
-
-## LINTERS
-.babelrc text
-.csslintrc text
-.eslintrc text
-.htmlhintrc text
-.jscsrc text
-.jshintrc text
-.jshintignore text
-.prettierrc text
-.stylelintrc text
-
-## CONFIGS
-*.bowerrc text
-*.cnf text
-*.conf text
-*.config text
-.browserslistrc text
-.editorconfig text
-.gitattributes text
-.gitconfig text
-.gitignore text
-.htaccess text
-*.npmignore text
-*.yaml text
-*.yml text
-browserslist text
-Makefile text
-makefile text
-
-## HEROKU
-Procfile text
-.slugignore text
-
-## GRAPHICS
-*.ai binary
-*.bmp binary
-*.eps binary
-*.gif binary
-*.ico binary
-*.jng binary
-*.jp2 binary
-*.jpg binary
-*.jpeg binary
-*.jpx binary
-*.jxr binary
-*.pdf binary
-*.png binary
-*.psb binary
-*.psd binary
-*.svg text
-*.svgz binary
-*.tif binary
-*.tiff binary
-*.wbmp binary
-*.webp binary
-
-## AUDIO
-*.kar binary
-*.m4a binary
-*.mid binary
-*.midi binary
-*.mp3 binary
-*.ogg binary
-*.ra binary
-
-## VIDEO
-*.3gpp binary
-*.3gp binary
-*.as binary
-*.asf binary
-*.asx binary
-*.fla binary
-*.flv binary
-*.m4v binary
-*.mng binary
-*.mov binary
-*.mp4 binary
-*.mpeg binary
-*.mpg binary
-*.ogv binary
-*.swc binary
-*.swf binary
-*.webm binary
-
-## ARCHIVES
-*.7z binary
-*.gz binary
-*.jar binary
-*.rar binary
-*.tar binary
-*.zip binary
-
-## FONTS
-*.ttf binary
-*.eot binary
-*.otf binary
-*.woff binary
-*.woff2 binary
-
-## EXECUTABLES
-*.exe binary
-*.pyc binary
diff --git a/src/.gitignore b/src/.gitignore
deleted file mode 100644
index ef8f3b1..0000000
--- a/src/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
-# Include your project-specific ignores in this file
-# Read about how to use .gitignore: https://help.github.com/articles/ignoring-files
-# Useful .gitignore templates: https://github.com/github/gitignore
diff --git a/src/404.html b/src/404.html
deleted file mode 100644
index 778d7ea..0000000
--- a/src/404.html
+++ /dev/null
@@ -1,60 +0,0 @@
-
-
-
-
- Page Not Found
-
-
-
-
- Page Not Found
- Sorry, but the page you were trying to view does not exist.
-
-
-
diff --git a/src/browserconfig.xml b/src/browserconfig.xml
deleted file mode 100644
index 219b759..0000000
--- a/src/browserconfig.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/favicon.ico b/src/favicon.ico
deleted file mode 100644
index be74abd..0000000
Binary files a/src/favicon.ico and /dev/null differ
diff --git a/src/humans.txt b/src/humans.txt
deleted file mode 100644
index 8d2330f..0000000
--- a/src/humans.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-# humanstxt.org/
-# The humans responsible & technology colophon
-
-# TEAM
-
- -- --
-
-# THANKS
-
-
-
-# TECHNOLOGY COLOPHON
-
- CSS3, HTML5
- Apache Server Configs, jQuery, Modernizr, Normalize.css
diff --git a/src/icon.png b/src/icon.png
deleted file mode 100644
index 8a42581..0000000
Binary files a/src/icon.png and /dev/null differ
diff --git a/src/img/.gitignore b/src/img/.gitignore
deleted file mode 100644
index e69de29..0000000
diff --git a/src/js/main.js b/src/js/main.js
deleted file mode 100644
index e69de29..0000000
diff --git a/src/js/plugins.js b/src/js/plugins.js
deleted file mode 100644
index feb7d19..0000000
--- a/src/js/plugins.js
+++ /dev/null
@@ -1,24 +0,0 @@
-// Avoid `console` errors in browsers that lack a console.
-(function() {
- var method;
- var noop = function () {};
- var methods = [
- 'assert', 'clear', 'count', 'debug', 'dir', 'dirxml', 'error',
- 'exception', 'group', 'groupCollapsed', 'groupEnd', 'info', 'log',
- 'markTimeline', 'profile', 'profileEnd', 'table', 'time', 'timeEnd',
- 'timeline', 'timelineEnd', 'timeStamp', 'trace', 'warn'
- ];
- var length = methods.length;
- var console = (window.console = window.console || {});
-
- while (length--) {
- method = methods[length];
-
- // Only stub undefined methods.
- if (!console[method]) {
- console[method] = noop;
- }
- }
-}());
-
-// Place any jQuery/helper plugins in here.
diff --git a/src/robots.txt b/src/robots.txt
deleted file mode 100644
index d0e5f1b..0000000
--- a/src/robots.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-# www.robotstxt.org/
-
-# Allow crawling of all content
-User-agent: *
-Disallow:
diff --git a/src/site.webmanifest b/src/site.webmanifest
deleted file mode 100644
index 222ae16..0000000
--- a/src/site.webmanifest
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "short_name": "",
- "name": "",
- "icons": [{
- "src": "icon.png",
- "type": "image/png",
- "sizes": "192x192"
- }],
- "start_url": "/?utm_source=homescreen",
- "background_color": "#fafafa",
- "theme_color": "#fafafa"
-}
diff --git a/src/tile-wide.png b/src/tile-wide.png
deleted file mode 100644
index ccd739c..0000000
Binary files a/src/tile-wide.png and /dev/null differ
diff --git a/src/tile.png b/src/tile.png
deleted file mode 100644
index f820f61..0000000
Binary files a/src/tile.png and /dev/null differ
diff --git a/test/file_content.js b/test/file_content.js
deleted file mode 100644
index 0316bca..0000000
--- a/test/file_content.js
+++ /dev/null
@@ -1,83 +0,0 @@
-import assert from 'assert';
-import fs from 'fs';
-import path from 'path';
-
-import pkg from './../package.json';
-
-const dirs = pkg['h5bp-configs'].directories;
-
-// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-function checkString(file, string, done) {
-
- let character = '';
- let matchFound = false;
- let matchedPositions = 0;
- const readStream = fs.createReadStream(file, {'encoding': 'utf8'});
-
- readStream.on('close', done);
- readStream.on('error', done);
- readStream.on('readable', function () {
-
- // Read file until the string is found
- // or the whole file has been read
- while (matchFound !== true &&
- (character = readStream.read(1)) !== null) {
-
- if (character === string.charAt(matchedPositions)) {
- matchedPositions += 1;
- } else {
- matchedPositions = 0;
- }
-
- if (matchedPositions === string.length) {
- matchFound = true;
- }
-
- }
-
- assert.equal(true, matchFound);
- this.close();
-
- });
-
-}
-
-// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-function runTests() {
-
- const dir = dirs.dist;
-
- describe(`Test if the files from the "${dir}" directory have the expected content`, () => {
-
- it('".htaccess" should have the "ErrorDocument..." line uncommented', (done) => {
- const string = '\n\nErrorDocument 404 /404.html\n\n';
- checkString(path.resolve(dir, '.htaccess'), string, done);
- });
-
- it('"index.html" should contain the correct jQuery version in the CDN URL', (done) => {
- const string = `code.jquery.com/jquery-${pkg.devDependencies.jquery}.min.js`;
- checkString(path.resolve(dir, 'index.html'), string, done);
- });
-
- it('"index.html" should contain the correct jQuery version in the local URL', (done) => {
- const string = `js/vendor/jquery-${pkg.devDependencies.jquery}.min.js`;
- checkString(path.resolve(dir, 'index.html'), string, done);
- });
-
- it('"index.html" should contain the correct Modernizr version in the local URL', (done) => {
- const string = `js/vendor/modernizr-${pkg.devDependencies.modernizr}.min.js`;
- checkString(path.resolve(dir, 'index.html'), string, done);
- });
-
- it('"main.css" should contain a custom banner', function (done) {
- const string = `/*! HTML5 Boilerplate v${pkg.version} | ${pkg.license} License | ${pkg.homepage} */\n`;
- checkString(path.resolve(dir, 'css/main.css'), string, done);
- });
-
- });
-
-}
-
-runTests();
diff --git a/test/file_existence.js b/test/file_existence.js
deleted file mode 100644
index 919638e..0000000
--- a/test/file_existence.js
+++ /dev/null
@@ -1,133 +0,0 @@
-import assert from 'assert';
-import fs from 'fs';
-import path from 'path';
-import glob from 'glob';
-
-import pkg from './../package.json';
-
-const dirs = pkg['h5bp-configs'].directories;
-
-const expectedFilesInArchiveDir = [
- `${pkg.name}_v${pkg.version}.zip`
-];
-
-const expectedFilesInDistDir = [
-
- '.editorconfig',
- '.gitattributes',
- '.gitignore',
- '.htaccess',
- '404.html',
- 'browserconfig.xml',
-
- 'css/', // for directories, a `/` character
- // should be included at the end
- 'css/main.css',
- 'css/normalize.css',
-
- 'doc/',
- 'doc/TOC.md',
- 'doc/css.md',
- 'doc/extend.md',
- 'doc/faq.md',
- 'doc/html.md',
- 'doc/js.md',
- 'doc/misc.md',
- 'doc/usage.md',
-
- 'favicon.ico',
- 'humans.txt',
-
- 'icon.png',
-
- 'img/',
- 'img/.gitignore',
-
- 'index.html',
-
- 'js/',
- 'js/main.js',
- 'js/plugins.js',
- 'js/vendor/',
- `js/vendor/jquery-${pkg.devDependencies.jquery}.min.js`,
- `js/vendor/modernizr-${pkg.devDependencies.modernizr}.min.js`,
-
- 'HTML5-Boilerplate-LICENSE.txt',
- 'robots.txt',
- 'site.webmanifest',
- 'tile-wide.png',
- 'tile.png'
-
-];
-
-// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-function checkFiles(directory, expectedFiles) {
-
- // Get the list of files from the specified directory
- const files = glob.sync('**/*', {
- 'cwd': directory,
- 'dot': true, // include hidden files
- 'mark': true // add a `/` character to directory matches
- });
-
- // Check if all expected files are present in the
- // specified directory, and are of the expected type
- expectedFiles.forEach((file) => {
-
- let ok = false;
- const expectedFileType = (file.slice(-1) !== '/' ? 'regular file' : 'directory');
-
- // If file exists
- if (files.indexOf(file) !== -1) {
-
- // Check if the file is of the correct type
- if (file.slice(-1) !== '/') {
- // Check if the file is really a regular file
- ok = fs.statSync(path.resolve(directory, file)).isFile();
- } else {
- // Check if the file is a directory
- // (Since glob adds the `/` character to directory matches,
- // we can simply check if the `/` character is present)
- ok = (files[files.indexOf(file)].slice(-1) === '/');
- }
-
- }
-
- it(`"${file}" should be present and it should be a ${expectedFileType}`, () =>{
- assert.equal(true, ok);
- });
-
- });
-
- // List all files that should be NOT
- // be present in the specified directory
- (files.filter((file) => {
- return expectedFiles.indexOf(file) === -1;
- })).forEach((file) => {
- it(`"${file}" should NOT be present`, () => {
- assert(false);
- });
- });
-
-}
-
-// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-function runTests() {
-
- describe('Test if all the expected files, and only them, are present in the build directories', () => {
-
- describe(dirs.archive, () => {
- checkFiles(dirs.archive, expectedFilesInArchiveDir);
- });
-
- describe(dirs.dist, () => {
- checkFiles(dirs.dist, expectedFilesInDistDir);
- });
-
- });
-
-}
-
-runTests();