Skip to content

Commit a4998fa

Browse files
authored
Support postcss v8 (#349)
* Support postcss v8 Fixes #344 Closes #348, closes #345, closes #343. * Don't promote global installs
1 parent 66b6055 commit a4998fa

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<h2 align="center">Install</h2>
1717

1818
```bash
19-
npm i -g|-D postcss-cli
19+
npm i -D postcss postcss-cli
2020
```
2121

2222
<h2 align="center">Usage</h2>

package.json

+7-4
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,8 @@
2424
"fs-extra": "^9.0.0",
2525
"get-stdin": "^8.0.0",
2626
"globby": "^11.0.0",
27-
"postcss": "^7.0.0",
28-
"postcss-load-config": "^2.0.0",
29-
"postcss-reporter": "^6.0.0",
27+
"postcss-load-config": "^2.1.1",
28+
"postcss-reporter": "^7.0.0",
3029
"pretty-hrtime": "^1.0.3",
3130
"read-cache": "^1.0.0",
3231
"yargs": "^16.0.0"
@@ -37,11 +36,15 @@
3736
"eslint": "^7.8.0",
3837
"eslint-config-problems": "5.0.0",
3938
"nyc": "^15.0.0",
39+
"postcss": "^8.0.4",
4040
"postcss-import": "^12.0.0",
4141
"prettier": "~2.1.0",
42-
"sugarss": "^2.0.0",
42+
"sugarss": "^3.0.0",
4343
"uuid": "^8.0.0"
4444
},
45+
"peerDependencies": {
46+
"postcss": "^8.0.0"
47+
},
4548
"files": [
4649
"bin",
4750
"index.js",

0 commit comments

Comments
 (0)