diff --git a/dist/package.json b/dist/package.json index f8f47a26..085d6340 100644 --- a/dist/package.json +++ b/dist/package.json @@ -1,6 +1,6 @@ { "name": "oceanic.js", - "version": "0.0.3", + "version": "0.0.4", "description": "A nodejs library for interfacing with Discord.", "main": "dist/lib/index.js", "types": "dist/lib/index.d.ts", @@ -15,7 +15,8 @@ "lint": "eslint lib --ext .ts --fix", "build:js": "rm -rf dist && tsc && sed -i '/__exportStar(require(\".\\/types\\/index\"), exports);/d' dist/lib/index.js && cp -r lib/types dist/lib", "build:docs": "npx typedoc && echo oceanic.owo-whats-this.dev > docs/CNAME", - "build": "npm run build:js && npm run build:docs" + "build": "npm run build:js && npm run build:docs", + "prepublishOnly": "npm run build" }, "repository": { "type": "git", diff --git a/package.json b/package.json index 8e20f94d..dc660344 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "oceanic.js", - "version": "0.0.3", + "version": "0.0.4", "description": "A nodejs library for interfacing with Discord.", "main": "dist/lib/index.js", "types": "dist/lib/index.d.ts", @@ -15,7 +15,8 @@ "lint": "eslint lib --ext .ts --fix", "build:js": "rm -rf dist && tsc && sed -i '/__exportStar(require(\".\\/types\\/index\"), exports);/d' dist/lib/index.js && cp -r lib/types dist/lib", "build:docs": "npx typedoc && echo oceanic.owo-whats-this.dev > docs/CNAME", - "build": "npm run build:js && npm run build:docs" + "build": "npm run build:js && npm run build:docs", + "prepublishOnly": "npm run build" }, "repository": { "type": "git",