Skip to content

Commit 3d54f9f

Browse files
committed
Initial commit
0 parents  commit 3d54f9f

File tree

9 files changed

+141
-0
lines changed

9 files changed

+141
-0
lines changed

.editorconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_style = space
6+
indent_size = 2
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true
10+
11+
[*.md]
12+
trim_trailing_whitespace = false

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules/
2+
*.swp

.jshintrc

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"node": true,
3+
"esnext": true,
4+
"bitwise": true,
5+
"camelcase": true,
6+
"curly": true,
7+
"immed": true,
8+
"newcap": true,
9+
"noarg": true,
10+
"undef": true,
11+
"unused": "vars",
12+
"strict": true,
13+
"globals": {
14+
"describe": false,
15+
"it": false
16+
}
17+
}

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
sudo: false
2+
language: node_js
3+
4+
node_js:
5+
- 'iojs'
6+
- '0.12'
7+
- '0.11'

LICENSE.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2015 John Otander
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

README.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# postcss-cssstats [![Build Status](https://secure.travis-ci.org/cssstats/postcss-cssstats.png?branch=master)](https://travis-ci.org/cssstats/postcss-cssstats)
2+
3+
A PostCSS plugin for cssstats.
4+
5+
## Installation
6+
7+
```bash
8+
npm install --save postcss-cssstats
9+
```
10+
11+
## Usage
12+
13+
```javascript
14+
var postcssCssstats = require('postcss-cssstats');
15+
16+
postcssCssstats(); // => true
17+
```
18+
19+
## License
20+
21+
MIT
22+
23+
## Contributing
24+
25+
1. Fork it
26+
2. Create your feature branch (`git checkout -b my-new-feature`)
27+
3. Commit your changes (`git commit -am 'Add some feature'`)
28+
4. Push to the branch (`git push origin my-new-feature`)
29+
5. Create new Pull Request
30+
31+
Crafted with <3 by John Otander ([@4lpine](https://twitter.com/4lpine)).
32+
33+
***
34+
35+
> This package was initially generated with [yeoman](http://yeoman.io) and the [p generator](https://github.com/johnotander/generator-p.git).

index.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
'use strict';
2+
3+
module.exports = function postcssCssstats(options) {
4+
options = options || {};
5+
6+
return true;
7+
};

package.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"name": "postcss-cssstats",
3+
"description": "A PostCSS plugin for cssstats.",
4+
"author": "John Otander",
5+
"version": "0.0.1",
6+
"main": "index.js",
7+
"directories": {
8+
"test": "test"
9+
},
10+
"scripts": {
11+
"test": "jshint . && mocha test"
12+
},
13+
"repository": {
14+
"type": "git",
15+
"url": "https://github.com/cssstats/postcss-cssstats.git"
16+
},
17+
"keywords": [
18+
19+
],
20+
"license": "MIT",
21+
"bugs": {
22+
"url": "https://github.com/cssstats/postcss-cssstats/issues"
23+
},
24+
"homepage": "https://github.com/cssstats/postcss-cssstats",
25+
"dependencies": {},
26+
"devDependencies": {
27+
"mocha": "*"
28+
}
29+
}

test/test.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
'use strict';
2+
3+
var assert = require('assert');
4+
var postcssCssstats = require('..');
5+
6+
describe('postcss-cssstats', function() {
7+
8+
it('should do something awesome', function() {
9+
assert.equal(postcssCssstats(), true);
10+
});
11+
});

0 commit comments

Comments
 (0)