diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..759c2c5 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,14 @@ +# Enforce Unix newlines +*.* text eol=lf +*.css text eol=lf +*.html text eol=lf +*.js text eol=lf +*.json text eol=lf +*.less text eol=lf +*.md text eol=lf +*.yml text eol=lf + +*.jpg binary +*.gif binary +*.png binary +*.jpeg binary \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3281f18 --- /dev/null +++ b/.gitignore @@ -0,0 +1,10 @@ +*.sublime-* +_gh_pages +bower_components +node_modules +npm-debug.log +temp +test/actual +tmp +TODO.md +vendor \ No newline at end of file diff --git a/.jshintrc b/.jshintrc new file mode 100644 index 0000000..96d4b14 --- /dev/null +++ b/.jshintrc @@ -0,0 +1,18 @@ +{ + "asi": false, + "boss": true, + "curly": true, + "eqeqeq": true, + "eqnull": true, + "esnext": true, + "immed": true, + "latedef": true, + "laxcomma": false, + "newcap": true, + "noarg": true, + "node": true, + "sub": true, + "undef": true, + "unused": true, + "mocha": true +} \ No newline at end of file diff --git a/.verb.md b/.verb.md new file mode 100644 index 0000000..64c9c65 --- /dev/null +++ b/.verb.md @@ -0,0 +1,35 @@ +# {%= name %} {%= badge("fury") %} + +> {%= description %} + +## Install +{%= include("install-npm", {save: true}) %} + +## Run tests + +```bash +npm test +``` + +## Usage + +```js +var gulpRoutes = require('{%= name %}'); +``` + +## API +{%= comments("index.js") %} + +## Contributing +Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue]({%= bugs.url %}) + +## Author +{%= include("author") %} + +## License +{%= copyright() %} +{%= license() %} + +*** + +{%= include("footer") %} \ No newline at end of file diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..c9ff6c8 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1 @@ +Please see the [Contributing to Assemble](http://assemble.io/contributing) guide for information on contributing to this project. diff --git a/LICENSE-MIT b/LICENSE-MIT new file mode 100644 index 0000000..4ee4498 --- /dev/null +++ b/LICENSE-MIT @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2014 Brian Woodward + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..f0c886a --- /dev/null +++ b/README.md @@ -0,0 +1,43 @@ +# gulp-routes [![NPM version](https://badge.fury.io/js/gulp-routes.svg)](http://badge.fury.io/js/gulp-routes) + +> Add middleware to run for specified routes in your gulp pipeline. + +## Install +## Install with [npm](npmjs.org) + +```bash +npm i gulp-routes --save +``` + +## Run tests + +```bash +npm test +``` + +## Usage + +```js +var gulpRoutes = require('gulp-routes'); +``` + +## API + + +## Contributing +Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/assemble/gulp-routes/issues) + +## Author + +**Brian Woodward** + ++ [github/assemble](https://github.com/assemble) ++ [twitter/assemble](http://twitter.com/assemble) + +## License +Copyright (c) 2014 Brian Woodward +Released under the MIT license + +*** + +_This file was generated by [verb](https://github.com/assemble/verb) on December 09, 2014._ \ No newline at end of file diff --git a/index.js b/index.js new file mode 100644 index 0000000..360bbb6 --- /dev/null +++ b/index.js @@ -0,0 +1,12 @@ +/*! + * gulp-routes + * + * Copyright (c) 2014 Brian Woodward, contributors. + * Licensed under the MIT license. + */ + +'use strict'; + +module.exports = function () { + // do stuff +}; \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..2b29b2f --- /dev/null +++ b/package.json @@ -0,0 +1,33 @@ +{ + "name": "gulp-routes", + "description": "Add middleware to run for specified routes in your gulp pipeline.", + "version": "0.1.0", + "homepage": "https://github.com/assemble/gulp-routes", + "author": { + "name": "Brian Woodward", + "url": "https://github.com/doowb" + }, + "repository": { + "type": "git", + "url": "git://github.com/assemble/gulp-routes.git" + }, + "bugs": { + "url": "https://github.com/assemble/gulp-routes/issues" + }, + "license": { + "type": "MIT", + "url": "https://github.com/assemble/gulp-routes/blob/master/LICENSE-MIT" + }, + "main": "index.js", + "engines": { + "node": ">=0.10.0" + }, + "scripts": { + "test": "mocha -R spec" + }, + "devDependencies": { + "mocha": "*", + "should": "*" + }, + "keywords": [] +}