fix build demo

This commit is contained in:
Mario Romano 2016-06-14 15:48:01 +01:00
parent f9cb0fb1ed
commit f28f45fcea
5 changed files with 5 additions and 1 deletions

View File

@ -6,6 +6,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"typings": "typings install", "typings": "typings install",
"postinstall": "npm run typings && npm run build",
"start": "npm install && npm run typings && concurrently \"npm run build:w\" \"npm run server\" ", "start": "npm install && npm run typings && concurrently \"npm run build:w\" \"npm run server\" ",
"server": "node browser-sync-config.js", "server": "node browser-sync-config.js",
"build": "npm run tslint && rm -rf dist && tsc", "build": "npm run tslint && rm -rf dist && tsc",

View File

@ -6,6 +6,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"typings": "typings install", "typings": "typings install",
"postinstall": "npm run typings && npm run build",
"start": "npm install && npm run typings && concurrently \"npm run build:w\" \"npm run server\" ", "start": "npm install && npm run typings && concurrently \"npm run build:w\" \"npm run server\" ",
"server": "node browser-sync-config.js", "server": "node browser-sync-config.js",
"build": "npm run tslint && rm -rf dist && tsc", "build": "npm run tslint && rm -rf dist && tsc",

View File

@ -5,7 +5,7 @@
"author": "Alfresco Software, Ltd.", "author": "Alfresco Software, Ltd.",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"postinstall": "typings install", "postinstall": "npm run typings && npm run build",
"typings": "typings install", "typings": "typings install",
"start": "npm install && npm run typings && concurrently \"npm run build:w\" \"npm run server\" ", "start": "npm install && npm run typings && concurrently \"npm run build:w\" \"npm run server\" ",
"server": "node browser-sync-config.js", "server": "node browser-sync-config.js",

View File

@ -6,6 +6,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"typings": "typings install", "typings": "typings install",
"postinstall": "npm run typings && npm run build",
"start": "npm install && npm run typings && concurrently \"npm run build:w\" \"npm run server\" ", "start": "npm install && npm run typings && concurrently \"npm run build:w\" \"npm run server\" ",
"server": "node browser-sync-config.js", "server": "node browser-sync-config.js",
"build": "npm run tslint && rm -rf dist && tsc", "build": "npm run tslint && rm -rf dist && tsc",

View File

@ -6,6 +6,7 @@
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"typings": "typings install", "typings": "typings install",
"postinstall": "npm run typings && npm run build",
"start": "npm install && npm run typings && concurrently \"npm run build:w\" \"npm run server\" ", "start": "npm install && npm run typings && concurrently \"npm run build:w\" \"npm run server\" ",
"server": "node browser-sync-config.js", "server": "node browser-sync-config.js",
"build": "npm run tslint && rm -rf dist && tsc", "build": "npm run tslint && rm -rf dist && tsc",