diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..5760be5 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,12 @@ +# http://editorconfig.org +root = true + +[*] +indent_style = space +indent_size = 2 +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.md] +trim_trailing_whitespace = false diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c2658d7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +node_modules/ diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..9662f6b --- /dev/null +++ b/.travis.yml @@ -0,0 +1,5 @@ +language: node_js +node_js: + - 'stable' + - '5' + - '4' diff --git a/index.js b/index.js new file mode 100644 index 0000000..8cb3e4e --- /dev/null +++ b/index.js @@ -0,0 +1,7 @@ +'use strict' + +module.exports = function tachyonsGenerator (options) { + options = options || {} + + return true +} diff --git a/license b/license new file mode 100644 index 0000000..4ae167e --- /dev/null +++ b/license @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2016 John Otander + +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/package.json b/package.json new file mode 100644 index 0000000..ed9c475 --- /dev/null +++ b/package.json @@ -0,0 +1,20 @@ +{ + "name": "tachyons-generator", + "description": "Generate a custom Tachyons build with a json configuration", + "author": "John Otander", + "version": "0.1.0", + "main": "index.js", + "files": [ + "index.js" + ], + "scripts": { + "test": "ava" + }, + "repository": "johnotander/tachyons-generator", + "keywords": [], + "license": "MIT", + "dependencies": {}, + "devDependencies": { + "ava": "*" + } +} diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..fad637e --- /dev/null +++ b/readme.md @@ -0,0 +1,35 @@ +# tachyons-generator [![Build Status](https://secure.travis-ci.org/johnotander/tachyons-generator.svg?branch=master)](https://travis-ci.org/johnotander/tachyons-generator) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard) + +Generate a custom Tachyons build with a json configuration + +## Installation + +```bash +npm install --save tachyons-generator +``` + +## Usage + +```javascript +var tachyonsGenerator = require('tachyons-generator') + +tachyonsGenerator() // => true +``` + +## License + +MIT + +## Contributing + +1. Fork it +2. Create your feature branch (`git checkout -b my-new-feature`) +3. Commit your changes (`git commit -am 'Add some feature'`) +4. Push to the branch (`git push origin my-new-feature`) +5. Create new Pull Request + +Crafted with <3 by John Otander ([@4lpine](https://twitter.com/4lpine)). + +*** + +> This package was initially generated with [yeoman](http://yeoman.io) and the [p generator](https://github.com/johnotander/generator-p.git). diff --git a/test.js b/test.js new file mode 100644 index 0000000..5c14b31 --- /dev/null +++ b/test.js @@ -0,0 +1,8 @@ +import test from 'ava' +import tachyonsGenerator from './' + +test('tachyons-generator does something awesome', t => { + t.plan(1) + + t.true(tachyonsGenerator()) +})