Skip to content

Commit b887d51

Browse files
committed
Init project
0 parents  commit b887d51

File tree

9 files changed

+94
-0
lines changed

9 files changed

+94
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules/

.npmignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.gitignore
2+
3+
node_modules/
4+
5+
test/
6+
.travis.yml
7+
8+
gulpfile.js

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
sudo: false
2+
language: node_js
3+
node_js:
4+
- "0.10"

LICENSE

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
The MIT License (MIT)
2+
3+
Copyright 2015 Andrey Sitnik <[email protected]>
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of
6+
this software and associated documentation files (the "Software"), to deal in
7+
the Software without restriction, including without limitation the rights to
8+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9+
the Software, and to permit persons to whom the Software is furnished to do so,
10+
subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
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, FITNESS
17+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# PostCSS Mixins [![Build Status](https://travis-ci.org/postcss/postcss-mixins.svg)](https://travis-ci.org/postcss/postcss-mixins)
2+
3+
<img align="right" width="95" height="95" src="http://postcss.github.io/postcss/logo.svg" title="Philosopher’s stone, logo of PostCSS">
4+
5+
[PostCSS] plugin for mixins.
6+
7+
[PostCSS]: https://github.com/postcss/postcss

gulpfile.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
var gulp = require('gulp');
2+
3+
gulp.task('lint', function () {
4+
var jshint = require('gulp-jshint');
5+
return gulp.src(['index.js', 'test/*.js', 'gulpfile.js'])
6+
.pipe(jshint())
7+
.pipe(jshint.reporter('jshint-stylish'))
8+
.pipe(jshint.reporter('fail'));
9+
});
10+
11+
gulp.task('test', function () {
12+
var mocha = require('gulp-mocha');
13+
return gulp.src('test/*.js', { read: false }).pipe(mocha());
14+
});
15+
16+
gulp.task('default', ['lint', 'test']);

index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = function (opts) { };
2+
3+
module.exports.postcss = function (css) {
4+
module.exports()(css);
5+
};

package.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"name": "postcss-mixins",
3+
"version": "0.0.0",
4+
"description": "PostCSS plugin for mixins",
5+
"keywords": ["postcss", "sass", "css", "mixins"],
6+
"author": "Andrey Sitnik <[email protected]>",
7+
"license": "MIT",
8+
"repository": {
9+
"type": "git",
10+
"url": "https://github.com/postcss/postcss-mixins.git"
11+
},
12+
"dependencies": {
13+
"postcss-simple-vars": "~0.1.0"
14+
},
15+
"devDependencies": {
16+
"jshint-stylish": "1.0.0",
17+
"gulp-jshint": "1.9.0",
18+
"gulp-mocha": "2.0.0",
19+
"postcss": "4.0.3",
20+
"mocha": "2.1.0",
21+
"chai": "1.10.0",
22+
"gulp": "3.8.10"
23+
},
24+
"scripts": {
25+
"test": "gulp"
26+
}
27+
}

test/mixins.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
var postcss = require('postcss');
2+
var expect = require('chai').expect;
3+
4+
var mixins = require('../');
5+
6+
describe('postcss-mixins', function () { });

0 commit comments

Comments
 (0)