From a7de4dc17602c371d1948085fbccd9ac710fc6e2 Mon Sep 17 00:00:00 2001 From: Ola Rubaj <52197250+olayway@users.noreply.github.com> Date: Thu, 10 Aug 2023 23:57:56 +0200 Subject: [PATCH] [package.json][xs]: add back prepublishOnly script (#37) --- package.json | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index c7d2c18..82c89af 100644 --- a/package.json +++ b/package.json @@ -14,18 +14,14 @@ "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js", "build": "tsc --p tsconfig.lib.json", "changeset": "changeset", + "prepublishOnly": "npm run build", "release": "changeset publish" }, "repository": { "type": "git", "url": "git+https://github.com/datopian/markdowndb.git" }, - "keywords": [ - "markdown", - "database", - "content", - "obsidian" - ], + "keywords": ["markdown", "database", "content", "obsidian"], "author": "Rufus Pollock", "license": "MIT", "bugs": { @@ -35,9 +31,7 @@ "publishConfig": { "access": "public" }, - "files": [ - "dist" - ], + "files": ["dist"], "type": "module", "main": "./dist/src/index.js", "types": "./dist/src/index.d.ts",