From d2bca5c40199d0a378481d9008502b803c237e0f Mon Sep 17 00:00:00 2001
From: Jonathan Bernard <jonathan@jdbernard.com>
Date: Wed, 16 Feb 2022 13:46:27 -0600
Subject: [PATCH] Custom publish script to publish in the state I want to use
 it.

---
 package.json | 23 +++++++----------------
 1 file changed, 7 insertions(+), 16 deletions(-)

diff --git a/package.json b/package.json
index 364d9f2..0f9486d 100644
--- a/package.json
+++ b/package.json
@@ -1,23 +1,14 @@
 {
   "name": "@jdbernard/vue-common",
-  "version": "1.0.4",
+  "version": "1.0.5",
   "description": "Extra stuff I always use when building Vue applications.",
-  "main": "dist/index.js",
-  "types": "dist/index.d.ts",
-  "files": [
-    "/dist"
-  ],
-  "exports": {
-    ".": "./dist/index.js",
-    "./injector": "./dist/injector.js",
-    "./sorting": "./dist/sorting.js",
-    "./state": "./dist/state.js",
-    "./toast.service": "./dist/toast.service.js",
-    "./util": "./dist/util.js"
-  },
+  "main": "index.js",
+  "types": "index.d.ts",
   "scripts": {
-    "build": "tsc --build tsconfig.json && cp -r src/components dist/.",
-    "test": "echo \"Error: no test specified\" && exit 1"
+    "build": "true",
+    "build-actual": "tsc --build tsconfig.json && cp -r src/components dist/.",
+    "test": "echo \"Error: no test specified\" && exit 1",
+    "publish": "npm run build-actual && cp package.json dist/. && (cd dist && npm publish)"
   },
   "repository": {
     "type": "git",