Add TailwindCSS Prettier plugin

This commit is contained in:
James Panther 2022-08-19 09:17:32 +10:00
parent dcba2153b1
commit 71765a44fe
No known key found for this signature in database
GPG Key ID: D36F789E45745D17
2 changed files with 21 additions and 0 deletions

20
package-lock.json generated
View File

@ -12,6 +12,7 @@
"@tailwindcss/typography": "^0.5.4",
"prettier": "^2.7.1",
"prettier-plugin-go-template": "^0.0.13",
"prettier-plugin-tailwindcss": "^0.1.13",
"tailwindcss": "^3.1.8"
}
},
@ -659,6 +660,18 @@
"prettier": "^2.0.0"
}
},
"node_modules/prettier-plugin-tailwindcss": {
"version": "0.1.13",
"resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.1.13.tgz",
"integrity": "sha512-/EKQURUrxLu66CMUg4+1LwGdxnz8of7IDvrSLqEtDqhLH61SAlNNUSr90UTvZaemujgl3OH/VHg+fyGltrNixw==",
"dev": true,
"engines": {
"node": ">=12.17.0"
},
"peerDependencies": {
"prettier": ">=2.2.0"
}
},
"node_modules/queue-microtask": {
"version": "1.2.3",
"resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
@ -1316,6 +1329,13 @@
"ulid": "^2.3.0"
}
},
"prettier-plugin-tailwindcss": {
"version": "0.1.13",
"resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.1.13.tgz",
"integrity": "sha512-/EKQURUrxLu66CMUg4+1LwGdxnz8of7IDvrSLqEtDqhLH61SAlNNUSr90UTvZaemujgl3OH/VHg+fyGltrNixw==",
"dev": true,
"requires": {}
},
"queue-microtask": {
"version": "1.2.3",
"resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",

View File

@ -28,6 +28,7 @@
"@tailwindcss/typography": "^0.5.4",
"prettier": "^2.7.1",
"prettier-plugin-go-template": "^0.0.13",
"prettier-plugin-tailwindcss": "^0.1.13",
"tailwindcss": "^3.1.8"
}
}