diff --git a/ng2-components/ng2-alfresco-documentlist/demo/package.json b/ng2-components/ng2-alfresco-documentlist/demo/package.json index f15e2914cb..7fdc8581b6 100644 --- a/ng2-components/ng2-alfresco-documentlist/demo/package.json +++ b/ng2-components/ng2-alfresco-documentlist/demo/package.json @@ -6,6 +6,7 @@ "main": "index.js", "scripts": { "typings": "typings install", + "postinstall": "npm run typings && npm run build", "start": "npm install && npm run typings && concurrently \"npm run build:w\" \"npm run server\" ", "server": "node browser-sync-config.js", "build": "npm run tslint && rm -rf dist && tsc", diff --git a/ng2-components/ng2-alfresco-login/demo/package.json b/ng2-components/ng2-alfresco-login/demo/package.json index 19e3d2bd3f..6c2c6e47ca 100644 --- a/ng2-components/ng2-alfresco-login/demo/package.json +++ b/ng2-components/ng2-alfresco-login/demo/package.json @@ -6,6 +6,7 @@ "main": "index.js", "scripts": { "typings": "typings install", + "postinstall": "npm run typings && npm run build", "start": "npm install && npm run typings && concurrently \"npm run build:w\" \"npm run server\" ", "server": "node browser-sync-config.js", "build": "npm run tslint && rm -rf dist && tsc", diff --git a/ng2-components/ng2-alfresco-search/demo/package.json b/ng2-components/ng2-alfresco-search/demo/package.json index 215afd2e30..54b38ea5b5 100644 --- a/ng2-components/ng2-alfresco-search/demo/package.json +++ b/ng2-components/ng2-alfresco-search/demo/package.json @@ -5,7 +5,7 @@ "author": "Alfresco Software, Ltd.", "main": "index.js", "scripts": { - "postinstall": "typings install", + "postinstall": "npm run typings && npm run build", "typings": "typings install", "start": "npm install && npm run typings && concurrently \"npm run build:w\" \"npm run server\" ", "server": "node browser-sync-config.js", diff --git a/ng2-components/ng2-alfresco-upload/demo/package.json b/ng2-components/ng2-alfresco-upload/demo/package.json index f98e3c3ffb..c8585097d4 100644 --- a/ng2-components/ng2-alfresco-upload/demo/package.json +++ b/ng2-components/ng2-alfresco-upload/demo/package.json @@ -6,6 +6,7 @@ "main": "index.js", "scripts": { "typings": "typings install", + "postinstall": "npm run typings && npm run build", "start": "npm install && npm run typings && concurrently \"npm run build:w\" \"npm run server\" ", "server": "node browser-sync-config.js", "build": "npm run tslint && rm -rf dist && tsc", diff --git a/ng2-components/ng2-alfresco-viewer/demo/package.json b/ng2-components/ng2-alfresco-viewer/demo/package.json index 0a5bc97636..d447117518 100644 --- a/ng2-components/ng2-alfresco-viewer/demo/package.json +++ b/ng2-components/ng2-alfresco-viewer/demo/package.json @@ -6,6 +6,7 @@ "main": "index.js", "scripts": { "typings": "typings install", + "postinstall": "npm run typings && npm run build", "start": "npm install && npm run typings && concurrently \"npm run build:w\" \"npm run server\" ", "server": "node browser-sync-config.js", "build": "npm run tslint && rm -rf dist && tsc",