diff --git a/package.json b/package.json index 8fb1021..01233b9 100644 --- a/package.json +++ b/package.json @@ -9,15 +9,15 @@ "scripts": { "test": "vitest", "build": "tsc", - "format": "prettier --write *.js \"{samples,lib,test,hl-tests}/**/*.js\"" + "format": "prettier --write *.js \"{samples,lib,test,hl-tests}/**/*.js\"", + "prepublishOnly": "npm run build" }, "repository": { "type": "git", "url": "git://github.com/OptimalBits/redbird.git" }, "files": [ - "index.js", - "lib" + "dist" ], "keywords": [ "proxy",