Live reload configuration

This commit is contained in:
Denys Vuika
2016-07-04 14:25:32 +01:00
parent 3b0b679cca
commit 7d6b1c922b
3 changed files with 11 additions and 3 deletions

View File

@@ -9,7 +9,7 @@
"typings": "typings install",
"postinstall": "npm run typings && npm run build",
"start": "concurrently \"npm run build:w\" \"npm run server\" ",
"server": "wsrv -o -s",
"server": "wsrv -o -s -l",
"build": "npm run tslint && rimraf dist && tsc",
"build:w": "npm run tslint && rimraf dist && tsc -w",
"tslint": "npm run tslint-src && npm run tslint-root",
@@ -41,7 +41,8 @@
"alfresco-js-api": "^0.1.0",
"ng2-alfresco-core": "^0.1.36",
"ng2-alfresco-documentlist": "^0.1.34"
"ng2-alfresco-documentlist": "^0.1.34",
"ng2-alfresco-datatable": "^0.1.17"
},
"devDependencies": {
"concurrently": "2.0.0",

View File

@@ -0,0 +1,6 @@
{
"watch": [
"node_modules/ng2-alfresco-datatable/dist/**/*.{html,htm,css,js}",
"node_modules/ng2-alfresco-documentlist/dist/**/*.{html,htm,css,js}"
]
}

View File

@@ -73,8 +73,9 @@
"zone.js": "0.6.12",
"rimraf": "2.5.2",
"ng2-translate": "2.2.2",
"alfresco-js-api": "^0.1.0",
"ng2-alfresco-core": "^0.1.35",
"alfresco-js-api": "^0.1.0"
"ng2-alfresco-datatable": "^0.1.17"
},
"peerDependencies": {
"material-design-icons": "^2.2.3",