mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
live reload demo shell
This commit is contained in:
parent
c8d376cc4c
commit
43bf14b87d
13
demo-shell-ng2/browser-sync-config.js
Normal file
13
demo-shell-ng2/browser-sync-config.js
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
module.exports = {
|
||||||
|
|
||||||
|
files: ['dist/**/*.{html,htm,css,js}',
|
||||||
|
'node_modules/ng2-alfresco-core/dist/**/*.{html,htm,css,js}',
|
||||||
|
'node_modules/ng2-alfresco-datatable/dist/**/*.{html,htm,css,js}',
|
||||||
|
'node_modules/ng2-alfresco-documentlist/dist/**/*.{html,htm,css,js}',
|
||||||
|
'node_modules/ng2-alfresco-login/dist/**/*.{html,htm,css,js}',
|
||||||
|
'node_modules/ng2-alfresco-search/dist/**/*.{html,htm,css,js}',
|
||||||
|
'node_modules/ng2-alfresco-upload/dist/**/*.{html,htm,css,js}',
|
||||||
|
'node_modules/ng2-alfresco-viewer/dist/**/*.{html,htm,css,js}'],
|
||||||
|
|
||||||
|
reloadDelay: 1000
|
||||||
|
};
|
@ -7,7 +7,7 @@
|
|||||||
"start": "npm run tslint && typings install && concurrently \"npm run tsc:w\" \"license-check\" \"npm run serve\" ",
|
"start": "npm run tslint && typings install && concurrently \"npm run tsc:w\" \"license-check\" \"npm run serve\" ",
|
||||||
"tsc": "tsc",
|
"tsc": "tsc",
|
||||||
"tsc:w": "tsc -w",
|
"tsc:w": "tsc -w",
|
||||||
"serve": "lite-server",
|
"serve": "browser-sync start --server -c browser-sync-config.js",
|
||||||
"typings": "typings",
|
"typings": "typings",
|
||||||
"tslint": "npm run tslint-src && npm run tslint-root",
|
"tslint": "npm run tslint-src && npm run tslint-root",
|
||||||
"tslint-src": "tslint -c tslint.json app/**/*.ts",
|
"tslint-src": "tslint -c tslint.json app/**/*.ts",
|
||||||
@ -73,7 +73,6 @@
|
|||||||
"browser-sync": "^2.10.0",
|
"browser-sync": "^2.10.0",
|
||||||
"concurrently": "^2.0.0",
|
"concurrently": "^2.0.0",
|
||||||
"del": "^2.1.0",
|
"del": "^2.1.0",
|
||||||
"lite-server": "^2.2.0",
|
|
||||||
"tslint": "^3.8.1",
|
"tslint": "^3.8.1",
|
||||||
"typescript": "^1.8.10",
|
"typescript": "^1.8.10",
|
||||||
"typings": "^0.7.12",
|
"typings": "^0.7.12",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user