From cc761d20f69771aa2c4bd5efdf68061e0c4033f2 Mon Sep 17 00:00:00 2001 From: Dolan Miu Date: Tue, 10 May 2016 15:26:36 +0100 Subject: [PATCH] updated package.json --- package.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index d763fceaab..4362acf466 100644 --- a/package.json +++ b/package.json @@ -2,10 +2,11 @@ "name": "docx", "version": "0.0.0", "description": "Generate .docx documents with JavaScript (formerly Office-Clippy)", - "main": "build/build.js", + "main": "build/index.js", "scripts": { - "pretest": "tsc ts/tests/*Test.ts --module commonjs --outDir ./build/tests;", - "test": "mocha ./build/tests/**/*Test.js" + "pretest": "tsc ts/tests/*Test.ts --module commonjs --outDir ./build/tests", + "test": "./node_modules/.bin/mocha ./build/tests/**/*Test.js", + "prepublish": "tsc ts/" }, "repository": { "type": "git", @@ -22,6 +23,9 @@ "lodash": "^4.6.1", "xml": "^1.0.1" }, + "typescript": { + "definition": "typings/index.d.ts" + }, "author": "Dolan Miu", "license": "MIT", "bugs": {