From bb4948c8efd1454c9029604b4784145a1a2fef39 Mon Sep 17 00:00:00 2001
From: Oliver Davies <oliver@oliverdavies.uk>
Date: Thu, 24 Aug 2023 19:52:27 +0100
Subject: [PATCH] chore: add test index.html

---
 index.html         | 9 +++++++++
 package.json       | 6 +++++-
 tailwind.config.js | 9 +++++++++
 3 files changed, 23 insertions(+), 1 deletion(-)
 create mode 100644 index.html
 create mode 100644 tailwind.config.js

diff --git a/index.html b/index.html
new file mode 100644
index 0000000..ac5aa6e
--- /dev/null
+++ b/index.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <link rel="stylesheet" href="/dist/tailwind.css" />
+  </head>
+  <body class="antialiased p-4">
+    <a class="hocus:bg-black hocus:text-white hocus:underline" href="#0">This is a link</a>
+  </body>
+</html>
diff --git a/package.json b/package.json
index 5b0b978..b222347 100644
--- a/package.json
+++ b/package.json
@@ -4,8 +4,12 @@
   "description": "Adds a hocus state for Tailwind CSS for easily adding styles for hover and focus states.",
   "main": "src/index.js",
   "scripts": {
+    "build": "tailwindcss --output dist/tailwind.css",
     "test": "echo \"Error: no test specified\" && exit 1"
   },
   "author": "Oliver Davies",
-  "license": "MIT"
+  "license": "MIT",
+  "devDependencies": {
+    "tailwindcss": "^3.3.3"
+  }
 }
diff --git a/tailwind.config.js b/tailwind.config.js
new file mode 100644
index 0000000..8149da8
--- /dev/null
+++ b/tailwind.config.js
@@ -0,0 +1,9 @@
+module.exports = {
+  content: ['./index.html'],
+  theme: {
+    extend: {
+      //
+    },
+  },
+  plugins: [require('./src')],
+}