├── .gitattributes ├── .gitignore ├── .jshintignore ├── .jshintrc ├── .travis.yml ├── CHANGELOG.md ├── CONTRIBUTING.md ├── LICENSE.md ├── README.md ├── doc ├── docco.css └── index.html ├── lib ├── cache.js ├── h5bp.js ├── layers │ ├── amd.js │ ├── commonjs.js │ ├── headers.js │ ├── less.js │ ├── node.types │ ├── sass.js │ └── stylus.js ├── patch.js └── utils │ └── mini_require.js ├── package.json └── test ├── fixtures ├── a.js ├── amd.js ├── commonjs.js ├── deep │ ├── amd.js │ ├── commonjs.js │ ├── less.less │ ├── sass.scss │ └── stylus.styl ├── font.css ├── less.less ├── one.js ├── sass.scss ├── stylus.styl ├── test.appcache ├── test.atom ├── test.bmp ├── test.crx ├── test.css ├── test.cur ├── test.eot ├── test.f4a ├── test.f4b ├── test.f4p ├── test.f4v ├── test.flv ├── test.gif ├── test.htc ├── test.htm ├── test.html ├── test.ico ├── test.jpe ├── test.jpeg ├── test.jpg ├── test.js ├── test.json ├── test.jsonp ├── test.m4a ├── test.m4v ├── test.manifest ├── test.mp4 ├── test.oex ├── test.oga ├── test.ogg ├── test.ogv ├── test.otf ├── test.png ├── test.rdf ├── test.rss ├── test.safariextz ├── test.svg ├── test.svgz ├── test.swf ├── test.tif ├── test.tiff ├── test.ttc ├── test.ttf ├── test.txt ├── test.vcf ├── test.vtt ├── test.webapp ├── test.webm ├── test.webp ├── test.woff ├── test.xml ├── test.xpi └── two.js └── h5bp.js /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h5bp/server-configs-node/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | npm-debug.log 2 | node_modules 3 | -------------------------------------------------------------------------------- /.jshintignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | lib-cov/ 3 | test/fixtures/ 4 | -------------------------------------------------------------------------------- /.jshintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h5bp/server-configs-node/HEAD/.jshintrc -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h5bp/server-configs-node/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h5bp/server-configs-node/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h5bp/server-configs-node/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h5bp/server-configs-node/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h5bp/server-configs-node/HEAD/README.md -------------------------------------------------------------------------------- /doc/docco.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h5bp/server-configs-node/HEAD/doc/docco.css -------------------------------------------------------------------------------- /doc/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h5bp/server-configs-node/HEAD/doc/index.html -------------------------------------------------------------------------------- /lib/cache.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h5bp/server-configs-node/HEAD/lib/cache.js -------------------------------------------------------------------------------- /lib/h5bp.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h5bp/server-configs-node/HEAD/lib/h5bp.js -------------------------------------------------------------------------------- /lib/layers/amd.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h5bp/server-configs-node/HEAD/lib/layers/amd.js -------------------------------------------------------------------------------- /lib/layers/commonjs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h5bp/server-configs-node/HEAD/lib/layers/commonjs.js -------------------------------------------------------------------------------- /lib/layers/headers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h5bp/server-configs-node/HEAD/lib/layers/headers.js -------------------------------------------------------------------------------- /lib/layers/less.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h5bp/server-configs-node/HEAD/lib/layers/less.js -------------------------------------------------------------------------------- /lib/layers/node.types: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h5bp/server-configs-node/HEAD/lib/layers/node.types -------------------------------------------------------------------------------- /lib/layers/sass.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h5bp/server-configs-node/HEAD/lib/layers/sass.js -------------------------------------------------------------------------------- /lib/layers/stylus.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h5bp/server-configs-node/HEAD/lib/layers/stylus.js -------------------------------------------------------------------------------- /lib/patch.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h5bp/server-configs-node/HEAD/lib/patch.js -------------------------------------------------------------------------------- /lib/utils/mini_require.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h5bp/server-configs-node/HEAD/lib/utils/mini_require.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h5bp/server-configs-node/HEAD/package.json -------------------------------------------------------------------------------- /test/fixtures/a.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/amd.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h5bp/server-configs-node/HEAD/test/fixtures/amd.js -------------------------------------------------------------------------------- /test/fixtures/commonjs.js: -------------------------------------------------------------------------------- 1 | var a = require('./a'); -------------------------------------------------------------------------------- /test/fixtures/deep/amd.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h5bp/server-configs-node/HEAD/test/fixtures/deep/amd.js -------------------------------------------------------------------------------- /test/fixtures/deep/commonjs.js: -------------------------------------------------------------------------------- 1 | var a = require('../a'); -------------------------------------------------------------------------------- /test/fixtures/deep/less.less: -------------------------------------------------------------------------------- 1 | @base: #133742; 2 | 3 | .box { 4 | background: @base; 5 | } -------------------------------------------------------------------------------- /test/fixtures/deep/sass.scss: -------------------------------------------------------------------------------- 1 | body { 2 | background: #133742; 3 | } -------------------------------------------------------------------------------- /test/fixtures/deep/stylus.styl: -------------------------------------------------------------------------------- 1 | body 2 | background #133742 3 | -------------------------------------------------------------------------------- /test/fixtures/font.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/less.less: -------------------------------------------------------------------------------- 1 | @base: #fe57a1; 2 | 3 | .box { 4 | background: @base; 5 | } -------------------------------------------------------------------------------- /test/fixtures/one.js: -------------------------------------------------------------------------------- 1 | define({ 2 | name: 'one' 3 | }); -------------------------------------------------------------------------------- /test/fixtures/sass.scss: -------------------------------------------------------------------------------- 1 | body { 2 | // we all miss hot pink... 3 | background: #fe57a1; 4 | } -------------------------------------------------------------------------------- /test/fixtures/stylus.styl: -------------------------------------------------------------------------------- 1 | body 2 | background #fe57a1 3 | -------------------------------------------------------------------------------- /test/fixtures/test.appcache: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.atom: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.bmp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.crx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.cur: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.eot: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.f4a: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.f4b: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.f4p: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.f4v: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.flv: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.gif: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.htc: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.htm: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h5bp/server-configs-node/HEAD/test/fixtures/test.html -------------------------------------------------------------------------------- /test/fixtures/test.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.jpe: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.jpeg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.jpg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.jsonp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.m4a: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.m4v: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.manifest: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.mp4: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.oex: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.oga: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.ogg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.ogv: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.otf: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.png: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.rdf: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.rss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.safariextz: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.svgz: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.swf: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.tif: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.tiff: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.ttc: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.ttf: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.vcf: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.vtt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.webapp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.webm: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.webp: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.woff: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/test.xpi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/two.js: -------------------------------------------------------------------------------- 1 | define({ 2 | name: 'two' 3 | }); -------------------------------------------------------------------------------- /test/h5bp.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h5bp/server-configs-node/HEAD/test/h5bp.js --------------------------------------------------------------------------------