From 452ad5c893daacca82181aa2fe0b951f9fb96736 Mon Sep 17 00:00:00 2001 From: Ryan Chandler Date: Sun, 7 Jan 2024 23:06:57 +0000 Subject: [PATCH] fix: make tippy a dependency rather than dev dependency Also updates "main" entry to point to src files rather than dist. --- package.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index e466cb5..7d4444c 100644 --- a/package.json +++ b/package.json @@ -11,9 +11,12 @@ "type": "git", "url": "https://github.com/ryangjchandler/alpine-tooltip" }, - "main": "dist/module.cjs.js", + "main": "src/index.js", "module": "dist/module.esm.js", "type": "module", + "dependencies": { + "tippy.js": "^6.3.1" + }, "devDependencies": { "@types/jest": "^27.0.2", "brotli-size": "^4.0.0", @@ -25,8 +28,7 @@ "eslint-plugin-promise": "^4.3.1", "eslint-plugin-standard": "^4.1.0", "jest": "^27.2.4", - "lint-staged": "^10.5.4", - "tippy.js": "^6.3.1" + "lint-staged": "^10.5.4" }, "scripts": { "test": "npm run build && node --experimental-vm-modules node_modules/.bin/jest",