From b8998751e646c03999e212ea65af235a88fb0f0f Mon Sep 17 00:00:00 2001 From: Nathan Kunicki Date: Thu, 21 Jun 2018 11:22:06 +0100 Subject: [PATCH] Typescript publishing steps --- .npmignore | 0 package.json | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .npmignore diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..e69de29 diff --git a/package.json b/package.json index 55bbba3..13cc7e9 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "types": "dist/lpf2.d.ts", "scripts": { "build": "tslint -c tslint.json \"*.ts\" && tsc", - "docs": "jsdoc2md dist/lpf2.js dist/boosthub.js dist/wedo2hub.js dist/hub.js dist/consts.js > README.md" + "docs": "jsdoc2md dist/lpf2.js dist/boosthub.js dist/wedo2hub.js dist/hub.js dist/consts.js > README.md", + "prepublishOnly": "tsc" }, "author": "Nathan Kunicki ", "license": "MIT",