From 120ba3482c3850a7b61cfe9cb2bfc46e95af94a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=98=99=E2=97=A6=20The=20Tablet=20=E2=9D=80=20GamerGirla?= =?UTF-8?q?ndCo=20=E2=97=A6=E2=9D=A7?= Date: Thu, 24 Oct 2024 21:34:15 -0400 Subject: [PATCH] prepare for publishing --- packages/obsidian-testing-framework/package.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/obsidian-testing-framework/package.json b/packages/obsidian-testing-framework/package.json index adc05dd..a51ca7e 100644 --- a/packages/obsidian-testing-framework/package.json +++ b/packages/obsidian-testing-framework/package.json @@ -14,6 +14,9 @@ "typescript": "^5.6.3", "xvfb-maybe": "^0.2.1" }, + "files": [ + "./lib" + ], "version": "0.0.1", "exports": { ".": { @@ -34,10 +37,11 @@ "scripts": { "build": "tsc", "lint": "tslint -c tslint.json src/**/*.ts", - "prepublish": "npm run build" + "prepare": "yarn rimraf lib && yarn build" }, "devDependencies": { "@types/tmp": "^0", + "rimraf": "^6.0.1", "vitest": "^2.1.3" }, "type": "module"