Skip to content

Commit 26cc94d

Browse files
authored
Merge pull request #18 from jonathantneal/feature/postcss6
Update to PostCSS 6
2 parents 247886f + 97e0861 commit 26cc94d

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

.travis.yml

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

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 3.0.0 2017-05-10
2+
3+
Change: Use PostCSS 6 API.
4+
15
# 2.1.2 2016-04-01
26

37
Fix: incorrect output when using both > and >= (or similar).(#12)

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "postcss-media-minmax",
3-
"version": "2.1.2",
3+
"version": "3.0.0",
44
"description": "Using more intuitive `>=`, `<=`, `>`, `<` instead of media queries min/max prefix.",
55
"scripts": {
66
"test": "tape test"
@@ -27,10 +27,10 @@
2727
"index.js"
2828
],
2929
"dependencies": {
30-
"postcss": "^5.0.4"
30+
"postcss": "^6.0.1"
3131
},
3232
"devDependencies": {
33-
"tape": "^3.0.0"
33+
"tape": "^4.6.3"
3434
},
3535
"bugs": {
3636
"url": "https://github.com/postcss/postcss-media-minmax/issues"

test/fixtures/comment.output.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
@media screen and (min-width: 500px) and (max-width: 1200px)/* comment */ {
1+
@media screen and (min-width: 500px) and (max-width: 1200px) /* comment */{
22
.bar {
33
display: block;
44
}
55
}
66

7-
@media screen and (min-width: 500px) and (max-width: 1200px)/* comment */ {
7+
@media screen and (min-width: 500px) and (max-width: 1200px) /* comment */{
88
.bar {
99
display: block;
1010
}

0 commit comments

Comments
 (0)