├── .eslintignore ├── .eslintrc.js ├── .gitignore ├── .npmignore ├── .travis.yml ├── LICENSE ├── package.json ├── readme.md ├── src ├── config │ ├── configure-webpack.js │ ├── custom-tags.js │ ├── defaults.js │ ├── webpack.config.js │ └── webpack.prod.config.js ├── helpers.js ├── index.js └── util │ └── fs.js ├── test ├── config │ ├── defaults.test.js │ └── webpack.test.js ├── fixtures │ ├── production │ │ ├── .metalpress │ │ ├── expected │ │ │ ├── 2016 │ │ │ │ └── 03 │ │ │ │ │ └── 15 │ │ │ │ │ └── dreaming │ │ │ │ │ └── index.html │ │ │ ├── assets │ │ │ │ ├── css │ │ │ │ │ ├── main-bc6e62fad4a93d095f6b38cad6a2e63c.css │ │ │ │ │ └── main.css │ │ │ │ └── js │ │ │ │ │ └── bundle.js │ │ │ ├── home │ │ │ │ └── index.html │ │ │ ├── rss.xml │ │ │ └── sitemap.xml │ │ ├── src │ │ │ ├── assets │ │ │ │ ├── _sass │ │ │ │ │ ├── _test.scss │ │ │ │ │ └── main.scss │ │ │ │ └── js │ │ │ │ │ └── index.js │ │ │ ├── data │ │ │ │ └── config.yaml │ │ │ ├── index.md │ │ │ └── posts │ │ │ │ └── 2016-03-15-dreaming.md │ │ ├── templates │ │ │ └── _layouts │ │ │ │ ├── blog.liquid │ │ │ │ ├── home.liquid │ │ │ │ └── post.liquid │ │ └── webpack.config.prod.babel.js │ ├── standard │ │ ├── .metalpress │ │ ├── expected │ │ │ ├── 2016 │ │ │ │ └── 03 │ │ │ │ │ └── 15 │ │ │ │ │ └── dreaming │ │ │ │ │ └── index.html │ │ │ ├── assets │ │ │ │ └── css │ │ │ │ │ ├── main-a50f1d8da8241e9f887f63a678b5b728.css │ │ │ │ │ ├── main.css │ │ │ │ │ └── main.css.map │ │ │ ├── home │ │ │ │ └── index.html │ │ │ └── topics │ │ │ │ └── dreaming │ │ │ │ └── index.html │ │ ├── src │ │ │ ├── assets │ │ │ │ ├── _sass │ │ │ │ │ ├── _test.scss │ │ │ │ │ └── main.scss │ │ │ │ └── js │ │ │ │ │ └── index.js │ │ │ ├── data │ │ │ │ └── config.yaml │ │ │ ├── index.md │ │ │ └── posts │ │ │ │ └── 2016-03-15-dreaming.md │ │ └── templates │ │ │ └── _layouts │ │ │ ├── blog.liquid │ │ │ ├── home.liquid │ │ │ ├── post.liquid │ │ │ └── tag.liquid │ ├── webpack.config.es6.js │ ├── webpack.config.js │ ├── webpack.prod.config.es6.js │ ├── webpack.prod.config.js │ └── webpack │ │ ├── src │ │ └── assets │ │ │ └── js │ │ │ └── index.js │ │ └── webpack.config.js ├── index.ava.js ├── middleware.ava.js └── production.ava.js └── yarn.lock /.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | lib/ 3 | umd/ 4 | docs/ 5 | test/ 6 | coverage/ -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | src/ -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/LICENSE -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/package.json -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/readme.md -------------------------------------------------------------------------------- /src/config/configure-webpack.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/src/config/configure-webpack.js -------------------------------------------------------------------------------- /src/config/custom-tags.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/src/config/custom-tags.js -------------------------------------------------------------------------------- /src/config/defaults.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/src/config/defaults.js -------------------------------------------------------------------------------- /src/config/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/src/config/webpack.config.js -------------------------------------------------------------------------------- /src/config/webpack.prod.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/src/config/webpack.prod.config.js -------------------------------------------------------------------------------- /src/helpers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/src/helpers.js -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/src/index.js -------------------------------------------------------------------------------- /src/util/fs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/src/util/fs.js -------------------------------------------------------------------------------- /test/config/defaults.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/test/config/defaults.test.js -------------------------------------------------------------------------------- /test/config/webpack.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/test/config/webpack.test.js -------------------------------------------------------------------------------- /test/fixtures/production/.metalpress: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/test/fixtures/production/.metalpress -------------------------------------------------------------------------------- /test/fixtures/production/expected/2016/03/15/dreaming/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/test/fixtures/production/expected/2016/03/15/dreaming/index.html -------------------------------------------------------------------------------- /test/fixtures/production/expected/assets/css/main-bc6e62fad4a93d095f6b38cad6a2e63c.css: -------------------------------------------------------------------------------- 1 | .testing{background:blue} 2 | -------------------------------------------------------------------------------- /test/fixtures/production/expected/assets/css/main.css: -------------------------------------------------------------------------------- 1 | .testing{background:blue} 2 | -------------------------------------------------------------------------------- /test/fixtures/production/expected/assets/js/bundle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/test/fixtures/production/expected/assets/js/bundle.js -------------------------------------------------------------------------------- /test/fixtures/production/expected/home/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/test/fixtures/production/expected/home/index.html -------------------------------------------------------------------------------- /test/fixtures/production/expected/rss.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/test/fixtures/production/expected/rss.xml -------------------------------------------------------------------------------- /test/fixtures/production/expected/sitemap.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/test/fixtures/production/expected/sitemap.xml -------------------------------------------------------------------------------- /test/fixtures/production/src/assets/_sass/_test.scss: -------------------------------------------------------------------------------- 1 | .testing { 2 | background: blue; 3 | } -------------------------------------------------------------------------------- /test/fixtures/production/src/assets/_sass/main.scss: -------------------------------------------------------------------------------- 1 | @import "test"; -------------------------------------------------------------------------------- /test/fixtures/production/src/assets/js/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/test/fixtures/production/src/assets/js/index.js -------------------------------------------------------------------------------- /test/fixtures/production/src/data/config.yaml: -------------------------------------------------------------------------------- 1 | title: Testing -------------------------------------------------------------------------------- /test/fixtures/production/src/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/test/fixtures/production/src/index.md -------------------------------------------------------------------------------- /test/fixtures/production/src/posts/2016-03-15-dreaming.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/test/fixtures/production/src/posts/2016-03-15-dreaming.md -------------------------------------------------------------------------------- /test/fixtures/production/templates/_layouts/blog.liquid: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/test/fixtures/production/templates/_layouts/blog.liquid -------------------------------------------------------------------------------- /test/fixtures/production/templates/_layouts/home.liquid: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/test/fixtures/production/templates/_layouts/home.liquid -------------------------------------------------------------------------------- /test/fixtures/production/templates/_layouts/post.liquid: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/test/fixtures/production/templates/_layouts/post.liquid -------------------------------------------------------------------------------- /test/fixtures/production/webpack.config.prod.babel.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/test/fixtures/production/webpack.config.prod.babel.js -------------------------------------------------------------------------------- /test/fixtures/standard/.metalpress: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/test/fixtures/standard/.metalpress -------------------------------------------------------------------------------- /test/fixtures/standard/expected/2016/03/15/dreaming/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/test/fixtures/standard/expected/2016/03/15/dreaming/index.html -------------------------------------------------------------------------------- /test/fixtures/standard/expected/assets/css/main-a50f1d8da8241e9f887f63a678b5b728.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/test/fixtures/standard/expected/assets/css/main-a50f1d8da8241e9f887f63a678b5b728.css -------------------------------------------------------------------------------- /test/fixtures/standard/expected/assets/css/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/test/fixtures/standard/expected/assets/css/main.css -------------------------------------------------------------------------------- /test/fixtures/standard/expected/assets/css/main.css.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/test/fixtures/standard/expected/assets/css/main.css.map -------------------------------------------------------------------------------- /test/fixtures/standard/expected/home/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/test/fixtures/standard/expected/home/index.html -------------------------------------------------------------------------------- /test/fixtures/standard/expected/topics/dreaming/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/test/fixtures/standard/expected/topics/dreaming/index.html -------------------------------------------------------------------------------- /test/fixtures/standard/src/assets/_sass/_test.scss: -------------------------------------------------------------------------------- 1 | .testing { 2 | background: blue; 3 | } -------------------------------------------------------------------------------- /test/fixtures/standard/src/assets/_sass/main.scss: -------------------------------------------------------------------------------- 1 | @import "test"; -------------------------------------------------------------------------------- /test/fixtures/standard/src/assets/js/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/test/fixtures/standard/src/assets/js/index.js -------------------------------------------------------------------------------- /test/fixtures/standard/src/data/config.yaml: -------------------------------------------------------------------------------- 1 | title: Testing -------------------------------------------------------------------------------- /test/fixtures/standard/src/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | layout: home.liquid 3 | title: Home 4 | --- 5 | 6 | # Testing -------------------------------------------------------------------------------- /test/fixtures/standard/src/posts/2016-03-15-dreaming.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/test/fixtures/standard/src/posts/2016-03-15-dreaming.md -------------------------------------------------------------------------------- /test/fixtures/standard/templates/_layouts/blog.liquid: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/test/fixtures/standard/templates/_layouts/blog.liquid -------------------------------------------------------------------------------- /test/fixtures/standard/templates/_layouts/home.liquid: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/test/fixtures/standard/templates/_layouts/home.liquid -------------------------------------------------------------------------------- /test/fixtures/standard/templates/_layouts/post.liquid: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/test/fixtures/standard/templates/_layouts/post.liquid -------------------------------------------------------------------------------- /test/fixtures/standard/templates/_layouts/tag.liquid: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/test/fixtures/standard/templates/_layouts/tag.liquid -------------------------------------------------------------------------------- /test/fixtures/webpack.config.es6.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/test/fixtures/webpack.config.es6.js -------------------------------------------------------------------------------- /test/fixtures/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/test/fixtures/webpack.config.js -------------------------------------------------------------------------------- /test/fixtures/webpack.prod.config.es6.js: -------------------------------------------------------------------------------- 1 | export default { 2 | entry: '' 3 | }; -------------------------------------------------------------------------------- /test/fixtures/webpack.prod.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | entry: '' 3 | }; -------------------------------------------------------------------------------- /test/fixtures/webpack/src/assets/js/index.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/webpack/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/test/fixtures/webpack/webpack.config.js -------------------------------------------------------------------------------- /test/index.ava.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/test/index.ava.js -------------------------------------------------------------------------------- /test/middleware.ava.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/test/middleware.ava.js -------------------------------------------------------------------------------- /test/production.ava.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/test/production.ava.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ninjasort/metalpress/HEAD/yarn.lock --------------------------------------------------------------------------------