Permalink
Browse files

init

  • Loading branch information...
0 parents commit a7f5e969c662e0cbec77e67a99efe5b1407783df @morishitter committed Aug 4, 2015
Showing with 121 additions and 0 deletions.
  1. +16 −0 .editorconfig
  2. +2 −0 .gitignore
  3. +6 −0 .travis.yml
  4. +20 −0 LICENSE
  5. +17 −0 README.md
  6. +30 −0 cli.js
  7. +2 −0 index.js
  8. +22 −0 package.json
  9. +6 −0 test/index.js
@@ -0,0 +1,16 @@
+# editorconfig.org
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+indent_size = 2
+indent_style = space
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+[*.js]
+indent_size = 4
+
+[*.md]
+trim_trailing_whitespace = false
@@ -0,0 +1,2 @@
+node_modules
+npm-debug.log
@@ -0,0 +1,6 @@
+sudo: false
+language: node_js
+node_js:
+ - iojs
+ - "0.10"
+ - "0.12"
@@ -0,0 +1,20 @@
+This software is released under the MIT license:
+
+Copyright (c) 2015 Masaaki Morishita
+
+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.))
@@ -0,0 +1,17 @@
+# cssfmt [![Build Status](https://travis-ci.org/morishitter/cssfmt.svg)](https://travis-ci.org/morishitter/cssfmt)
+
+CSSfmt formats CSS code.
+
+## Installation
+
+```shell
+$ npm install cssfmt
+```
+
+## Usage
+
+## License
+
+The MIT License (MIT)
+
+Copyright (c) 2015 Masaaki Morishita
@@ -0,0 +1,30 @@
+#!/usr/bin/env node
+
+var fs = require('fs')
+var pkg = require('../package.json')
+var cssfmt = require('..')
+
+var minimist = require('minimist')
+var argv = minimist(process.argv.slice(2), {
+ boolean: [
+ 'help',
+ 'versions'
+ ],
+ alias: {
+ h: 'help',
+ V: 'versions'
+ }
+})
+
+if (argv.V) {
+ console.log(pkg.version)
+}
+
+if (argv.h) {
+ console.log('Usage: atcss input-name output-name [options]');
+ console.log('');
+ console.log('Options:');
+ console.log('');
+ console.log(' -V, --versions output the version number');
+ console.log(' -h, --help output usage information');
+}
@@ -0,0 +1,2 @@
+module.exports = function () {
+}
@@ -0,0 +1,22 @@
+{
+ "name": "cssfmt",
+ "version": "0.0.1",
+ "description": "CSSfmt formats CSS code.",
+ "main": "index.js",
+ "scripts": {
+ "test": "tape test"
+ },
+ "bin": {
+ "cssfmt": "cli.js"
+ },
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/morishitter/cssfmt/git"
+ },
+ "keywords": ["css","format","code style","beautifier"],
+ "author": "Masaaki Morishita",
+ "license": "MIT",
+ "dependencies": {},
+ "devDependencies": {
+ }
+}
@@ -0,0 +1,6 @@
+var test = require('tape')
+var cssfmt = require('..')
+
+test('description', function (t) {
+ t.end()
+})

0 comments on commit a7f5e96

Please sign in to comment.