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"