Skip to content

Commit

Permalink
Merge pull request #8 from jedmao/update-deps
Browse files Browse the repository at this point in the history
v1.1.5: Fix issue #5, retire Babel, update deps
  • Loading branch information
jedmao authored Jan 20, 2017
2 parents 6bb72d3 + 1607eee commit 98d960f
Show file tree
Hide file tree
Showing 23 changed files with 113 additions and 329 deletions.
3 changes: 0 additions & 3 deletions .babelrc

This file was deleted.

134 changes: 0 additions & 134 deletions .eslintrc

This file was deleted.

4 changes: 2 additions & 2 deletions .tasks/gulp-clean.js → .tasks/gulp-clean.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import gulp from 'gulp';
import rimraf from 'gulp-rimraf';
import * as gulp from 'gulp';
var rimraf = require('gulp-rimraf');

export default () => {
return gulp.src([
Expand Down
6 changes: 0 additions & 6 deletions .tasks/gulp-copy.js

This file was deleted.

12 changes: 12 additions & 0 deletions .tasks/gulp-copy.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import * as gulp from 'gulp';

export default () => {
return gulp.src(
[
'build/lib/**/*.js',
'build/lib/**/*.d.ts'
],
{ base: 'build' }
)
.pipe(gulp.dest('dist'));
};
14 changes: 0 additions & 14 deletions .tasks/gulp-eslint.js

This file was deleted.

44 changes: 0 additions & 44 deletions .tasks/gulp-scripts.js

This file was deleted.

23 changes: 0 additions & 23 deletions .tasks/gulp-test.js

This file was deleted.

6 changes: 3 additions & 3 deletions .tasks/gulp-tslint.js → .tasks/gulp-tslint.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import gulp from 'gulp';
import plumber from 'gulp-plumber';
import tslint from 'gulp-tslint';
import * as gulp from 'gulp';
var plumber = require('gulp-plumber');
var tslint = require('gulp-tslint');

export default () => {
return gulp.src([
Expand Down
21 changes: 0 additions & 21 deletions .tasks/gulp-typescript.js

This file was deleted.

11 changes: 0 additions & 11 deletions .tasks/gulp-watch.js

This file was deleted.

20 changes: 10 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
language: node_js

node_js:
- '5.5'
- '4.2' #LTS

notifications:
email:
on_success: change
on_failure: always
language: node_js

node_js:
- "node"
- "4"

notifications:
email:
on_success: change
on_failure: always
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
## 1.1.5
- Fix build, PostCSS dependency.

## 1.1.2
- Supports PostCSS 5.2.9.

## 1.1.1
- Fix module resolution (fixes [`#5`](https://github.com/jedmao/postcss-nested-props/issues/5)).

## 1.1.0
- [Supports vendor pseudo elements](https://github.com/jedmao/postcss-nested-props/pull/4). Thanks [@ooHmartY](https://github.com/ooHmartY)!

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ postcss([ require('postcss-nested-props') ]);

```ts
///<reference path="node_modules/postcss-nested-props/.d.ts" />
import postcssNestedProps from 'postcss-nested-props';
import * as postcssNestedProps from 'postcss-nested-props';

postcss([ postcssNestedProps ]);
```
Expand Down
14 changes: 7 additions & 7 deletions build/.eslintrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"rules": {
"indent": [2, 4, {
"SwitchCase": 1
}]
}
}
{
"rules": {
"indent": [2, 4, {
"SwitchCase": 1
}]
}
}
10 changes: 5 additions & 5 deletions build/test/.eslintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"env": {
"mocha": true
}
}
{
"env": {
"mocha": true
}
}
15 changes: 0 additions & 15 deletions gulpfile.babel.js

This file was deleted.

10 changes: 10 additions & 0 deletions gulpfile.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import * as gulp from 'gulp';

function loadTask(taskName: string) {
return require(`./.tasks/gulp-${taskName}`).default;
}

gulp.task('default', ['tslint']);
gulp.task('clean', loadTask('clean'));
gulp.task('tslint', loadTask('tslint'));
gulp.task('copy', loadTask('copy'));
Loading

0 comments on commit 98d960f

Please sign in to comment.