From de45bd15917b3bf153d8ff0cc4b8fac9f050fb2c Mon Sep 17 00:00:00 2001 From: Oscar Lorentzon Date: Wed, 13 Jul 2016 07:22:57 -0400 Subject: [PATCH] Lint source and install typings on prepublish. Ensure that build completes correctly without errors by installing typings before building. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1ab868dc..85ff7b5e 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "lint": "npm run lint-spec && npm run lint-src", "lint-spec": "tslint -c tslint.json ./spec/**/*.ts ./spec/**/**/*.ts", "lint-src": "tslint -c tslint.json src/*.ts src/**/*.ts src/**/**/*.ts src/**/**/**/*.ts", - "prepublish": "npm run clean && npm run build-min && npm run build-dev && gulp css", + "prepublish": "npm run clean && npm run lint-src && typings install && npm run build-min && npm run build-dev && gulp css", "start":"node server.js", "test": "karma start --single-run", "test-watch": "karma start",