Skip to content

Commit 05be637

Browse files
authored
Merge pull request #126 from realityking/postcss7
Use PostCSS 7 and require Node.js 6
2 parents ea84a94 + 1b5c06e commit 05be637

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
language: node_js
22

33
node_js:
4-
- 4
54
- 6
5+
- 8
6+
- 10
67

78
matrix:
89
fast_finish: true

appveyor.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22

33
environment:
44
matrix:
5-
- nodejs_version: 4
65
- nodejs_version: 6
6+
- nodejs_version: 8
7+
- nodejs_version: 10
78

89
version: "{build}"
910
build: off

package.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,22 @@
1919
"files": [
2020
"src"
2121
],
22+
"engines": {
23+
"node": ">=6.0.0"
24+
},
2225
"dependencies": {
2326
"mime": "^1.4.1",
2427
"minimatch": "^3.0.4",
2528
"mkdirp": "^0.5.0",
26-
"postcss": "^6.0.1",
29+
"postcss": "^7.0.2",
2730
"xxhashjs": "^0.2.1"
2831
},
2932
"devDependencies": {
30-
"chai": "^3.5.0",
33+
"chai": "^4.1.2",
3134
"eslint": "^3.16.1",
32-
"mocha": "^3.2.0",
35+
"mocha": "^5.2.0",
3336
"npmpub": "^3.0.1",
34-
"postcss-import": "^10.0.0"
37+
"postcss-import": "^12.0.0"
3538
},
3639
"scripts": {
3740
"lint": "eslint --fix .",

test/setup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function compareFixtures(name, msg, opts, postcssOpts, plugin) {
2727
const expected = read(`fixtures/${name}.expected`);
2828

2929
// handy thing: checkout actual in the *.actual.css file
30-
fs.writeFile(`test/fixtures/${name}.actual.css`, actual);
30+
fs.writeFile(`test/fixtures/${name}.actual.css`, actual, () => {});
3131

3232
assert.equal(actual, expected);
3333
});

0 commit comments

Comments
 (0)