Skip to content

Commit edc23b8

Browse files
authored
chore: Move tailwindcss to devDependency & peerDependency (#201)
* chore: Move `tailwindcss` to `devDependency` & `peerDependency` * docs: 📝 Update installation instructions in the `README.md`
1 parent 781fdff commit edc23b8

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ $ npm i -D eslint
8383
Next, install the latest version of `eslint-plugin-tailwindcss` if you are using Tailwind CSS v3
8484

8585
```
86-
$ npm i -D eslint-plugin-tailwindcss
86+
$ npm i -D tailwindcss eslint-plugin-tailwindcss
8787
```
8888

8989
> ### Still using Tailwind CSS v2?

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,12 @@
2323
"files": [
2424
"lib"
2525
],
26+
"peerDependencies": {
27+
"tailwindcss": "^3.2.2"
28+
},
2629
"dependencies": {
2730
"fast-glob": "^3.2.5",
28-
"postcss": "^8.4.4",
29-
"tailwindcss": "^3.2.2"
31+
"postcss": "^8.4.4"
3032
},
3133
"devDependencies": {
3234
"@angular-eslint/template-parser": "^13.0.1",
@@ -39,6 +41,7 @@
3941
"daisyui": "^2.6.4",
4042
"eslint": "^7.1.0",
4143
"mocha": "^7.2.0",
44+
"tailwindcss": "^3.2.2",
4245
"typescript": "4.3.5",
4346
"vue-eslint-parser": "^7.6.0"
4447
},

0 commit comments

Comments
 (0)