Skip to content

Commit 462fc5d

Browse files
authored
Move postcss to peerDependencies (#273)
1 parent a200b51 commit 462fc5d

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
Supports `@import` and [`@value ... from`](https://github.com/css-modules/postcss-icss-values).
99

1010
```sh
11-
npm install detective-postcss
11+
npm install postcss detective-postcss
1212
```
1313

1414
It's the CSS (PostCSS dialect) counterpart to [detective](https://github.com/browserify/detective), [detective-amd](https://github.com/dependents/node-detective-amd), [detective-es6](https://github.com/dependents/node-detective-es6), [detective-sass](https://github.com/dependents/node-detective-sass), [detective-scss](https://github.com/dependents/node-detective-scss).

package-lock.json

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,19 @@
2222
"engines": {
2323
"node": "^14.0.0 || >=16.0.0"
2424
},
25+
"peerDependencies": {
26+
"postcss": "^8.4.38"
27+
},
2528
"dependencies": {
2629
"is-url": "^1.2.4",
27-
"postcss": "^8.4.38",
2830
"postcss-values-parser": "^6.0.2"
2931
},
3032
"devDependencies": {
3133
"@types/is-url": "^1.2.32",
3234
"@types/jest": "^29.5.12",
3335
"jest": "^29.7.0",
3436
"lint-staged": "^15.2.2",
37+
"postcss": "^8.4.38",
3538
"prettier": "^3.2.5",
3639
"rimraf": "^3.0.2",
3740
"ts-jest": "^29.1.2",

0 commit comments

Comments
 (0)