mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
add livereload demo folder browser-sync
This commit is contained in:
@@ -4,3 +4,4 @@ coverage
|
|||||||
dist
|
dist
|
||||||
typings
|
typings
|
||||||
!systemjs.config.js
|
!systemjs.config.js
|
||||||
|
!browser-sync-config.js
|
||||||
|
@@ -0,0 +1,22 @@
|
|||||||
|
var browserSync = require("browser-sync").create();
|
||||||
|
var historyApiFallback = require('connect-history-api-fallback');
|
||||||
|
|
||||||
|
browserSync.init({
|
||||||
|
|
||||||
|
server: {
|
||||||
|
baseDir: './',
|
||||||
|
middleware: [ historyApiFallback() ]
|
||||||
|
},
|
||||||
|
|
||||||
|
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
|
||||||
|
});
|
@@ -5,14 +5,14 @@
|
|||||||
"author": "Alfresco Software, Ltd.",
|
"author": "Alfresco Software, Ltd.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"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": "rm -rf dist && npm install && npm run server",
|
"server": "node browser-sync-config.js",
|
||||||
"server": "lite-server",
|
"build": "npm run tslint && rm -rf dist && tsc",
|
||||||
"build": "npm run tslint && rm -rf dist && tsc",
|
"build:w": "npm run tslint && rm -rf dist && tsc -w",
|
||||||
"tslint": "npm run tslint-src && npm run tslint-root",
|
"tslint": "npm run tslint-src && npm run tslint-root",
|
||||||
"tslint-src": "tslint -c tslint.json src/**/*.ts",
|
"tslint-src": "tslint -c tslint.json src/**/*.ts",
|
||||||
"tslint-root": "tslint -c tslint.json *.ts"
|
"tslint-root": "tslint -c tslint.json *.ts"
|
||||||
},
|
},
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@@ -29,7 +29,6 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"browser-sync": "^2.10.0",
|
"browser-sync": "^2.10.0",
|
||||||
"concurrently": "^2.0.0",
|
"concurrently": "^2.0.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"
|
||||||
|
@@ -4,3 +4,4 @@ coverage
|
|||||||
dist
|
dist
|
||||||
typings
|
typings
|
||||||
!systemjs.config.js
|
!systemjs.config.js
|
||||||
|
!browser-sync-config.js
|
||||||
|
@@ -0,0 +1,22 @@
|
|||||||
|
var browserSync = require("browser-sync").create();
|
||||||
|
var historyApiFallback = require('connect-history-api-fallback');
|
||||||
|
|
||||||
|
browserSync.init({
|
||||||
|
|
||||||
|
server: {
|
||||||
|
baseDir: './',
|
||||||
|
middleware: [ historyApiFallback() ]
|
||||||
|
},
|
||||||
|
|
||||||
|
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
|
||||||
|
});
|
@@ -5,14 +5,14 @@
|
|||||||
"author": "Alfresco Software, Ltd.",
|
"author": "Alfresco Software, Ltd.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"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": "rm -rf dist && npm install && npm run server",
|
"server": "node browser-sync-config.js",
|
||||||
"server": "lite-server",
|
"build": "npm run tslint && rm -rf dist && tsc",
|
||||||
"build": "npm run tslint && rm -rf dist && tsc",
|
"build:w": "npm run tslint && rm -rf dist && tsc -w",
|
||||||
"tslint": "npm run tslint-src && npm run tslint-root",
|
"tslint": "npm run tslint-src && npm run tslint-root",
|
||||||
"tslint-src": "tslint -c tslint.json src/**/*.ts",
|
"tslint-src": "tslint -c tslint.json src/**/*.ts",
|
||||||
"tslint-root": "tslint -c tslint.json *.ts"
|
"tslint-root": "tslint -c tslint.json *.ts"
|
||||||
},
|
},
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"contributors": [
|
"contributors": [
|
||||||
@@ -57,7 +57,6 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"browser-sync": "^2.10.0",
|
"browser-sync": "^2.10.0",
|
||||||
"concurrently": "^2.0.0",
|
"concurrently": "^2.0.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"
|
||||||
|
7
ng2-components/ng2-alfresco-search/demo/.gitignore
vendored
Normal file
7
ng2-components/ng2-alfresco-search/demo/.gitignore
vendored
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
node_modules
|
||||||
|
.idea
|
||||||
|
coverage
|
||||||
|
dist
|
||||||
|
typings
|
||||||
|
!systemjs.config.js
|
||||||
|
!browser-sync-config.js
|
@@ -0,0 +1,22 @@
|
|||||||
|
var browserSync = require("browser-sync").create();
|
||||||
|
var historyApiFallback = require('connect-history-api-fallback');
|
||||||
|
|
||||||
|
browserSync.init({
|
||||||
|
|
||||||
|
server: {
|
||||||
|
baseDir: './',
|
||||||
|
middleware: [ historyApiFallback() ]
|
||||||
|
},
|
||||||
|
|
||||||
|
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
|
||||||
|
});
|
@@ -5,11 +5,11 @@
|
|||||||
"author": "Alfresco Software, Ltd.",
|
"author": "Alfresco Software, Ltd.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"postinstall": "npm run typings && npm run build",
|
|
||||||
"typings": "typings install",
|
"typings": "typings install",
|
||||||
"start": "rm -rf dist && npm install && npm run server",
|
"start": "npm install && npm run typings && concurrently \"npm run build:w\" \"npm run server\" ",
|
||||||
"server": "lite-server",
|
"server": "node browser-sync-config.js",
|
||||||
"build": "npm run tslint && rm -rf dist && tsc",
|
"build": "npm run tslint && rm -rf dist && tsc",
|
||||||
|
"build:w": "npm run tslint && rm -rf dist && tsc -w",
|
||||||
"tslint": "npm run tslint-src && npm run tslint-root",
|
"tslint": "npm run tslint-src && npm run tslint-root",
|
||||||
"tslint-src": "tslint -c tslint.json src/**/*.ts",
|
"tslint-src": "tslint -c tslint.json src/**/*.ts",
|
||||||
"tslint-root": "tslint -c tslint.json *.ts"
|
"tslint-root": "tslint -c tslint.json *.ts"
|
||||||
@@ -57,7 +57,6 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"browser-sync": "^2.10.0",
|
"browser-sync": "^2.10.0",
|
||||||
"concurrently": "^2.0.0",
|
"concurrently": "^2.0.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"
|
||||||
|
@@ -3,3 +3,4 @@ node_modules/
|
|||||||
.idea
|
.idea
|
||||||
dist/\
|
dist/\
|
||||||
!systemjs.config.js
|
!systemjs.config.js
|
||||||
|
!browser-sync-config.js
|
||||||
|
@@ -0,0 +1,22 @@
|
|||||||
|
var browserSync = require("browser-sync").create();
|
||||||
|
var historyApiFallback = require('connect-history-api-fallback');
|
||||||
|
|
||||||
|
browserSync.init({
|
||||||
|
|
||||||
|
server: {
|
||||||
|
baseDir: './',
|
||||||
|
middleware: [ historyApiFallback() ]
|
||||||
|
},
|
||||||
|
|
||||||
|
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
|
||||||
|
});
|
@@ -5,11 +5,11 @@
|
|||||||
"author": "Alfresco Software, Ltd.",
|
"author": "Alfresco Software, Ltd.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"postinstall": "npm run typings && npm run build",
|
|
||||||
"typings": "typings install",
|
"typings": "typings install",
|
||||||
"start": "rm -rf dist && npm install && npm run server",
|
"start": "npm install && npm run typings && concurrently \"npm run build:w\" \"npm run server\" ",
|
||||||
"server": "lite-server",
|
"server": "node browser-sync-config.js",
|
||||||
"build": "npm run tslint && rm -rf dist && tsc",
|
"build": "npm run tslint && rm -rf dist && tsc",
|
||||||
|
"build:w": "npm run tslint && rm -rf dist && tsc -w",
|
||||||
"tslint": "npm run tslint-src && npm run tslint-root",
|
"tslint": "npm run tslint-src && npm run tslint-root",
|
||||||
"tslint-src": "tslint -c tslint.json src/**/*.ts",
|
"tslint-src": "tslint -c tslint.json src/**/*.ts",
|
||||||
"tslint-root": "tslint -c tslint.json *.ts"
|
"tslint-root": "tslint -c tslint.json *.ts"
|
||||||
@@ -57,7 +57,6 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"browser-sync": "^2.10.0",
|
"browser-sync": "^2.10.0",
|
||||||
"concurrently": "^2.0.0",
|
"concurrently": "^2.0.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"
|
||||||
|
@@ -4,3 +4,4 @@ coverage
|
|||||||
dist
|
dist
|
||||||
typings
|
typings
|
||||||
!systemjs.config.js
|
!systemjs.config.js
|
||||||
|
!browser-sync-config.js
|
||||||
|
@@ -0,0 +1,22 @@
|
|||||||
|
var browserSync = require("browser-sync").create();
|
||||||
|
var historyApiFallback = require('connect-history-api-fallback');
|
||||||
|
|
||||||
|
browserSync.init({
|
||||||
|
|
||||||
|
server: {
|
||||||
|
baseDir: './',
|
||||||
|
middleware: [ historyApiFallback() ]
|
||||||
|
},
|
||||||
|
|
||||||
|
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
|
||||||
|
});
|
@@ -5,11 +5,11 @@
|
|||||||
"author": "Alfresco Software, Ltd.",
|
"author": "Alfresco Software, Ltd.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"postinstall": "npm run typings && npm run build",
|
|
||||||
"typings": "typings install",
|
"typings": "typings install",
|
||||||
"start": "rm -rf dist && npm install && npm run server",
|
"start": "npm install && npm run typings && concurrently \"npm run build:w\" \"npm run server\" ",
|
||||||
"server": "lite-server",
|
"server": "node browser-sync-config.js",
|
||||||
"build": "npm run tslint && rm -rf dist && tsc",
|
"build": "npm run tslint && rm -rf dist && tsc",
|
||||||
|
"build:w": "npm run tslint && rm -rf dist && tsc -w",
|
||||||
"tslint": "npm run tslint-src && npm run tslint-root",
|
"tslint": "npm run tslint-src && npm run tslint-root",
|
||||||
"tslint-src": "tslint -c tslint.json src/**/*.ts",
|
"tslint-src": "tslint -c tslint.json src/**/*.ts",
|
||||||
"tslint-root": "tslint -c tslint.json *.ts"
|
"tslint-root": "tslint -c tslint.json *.ts"
|
||||||
@@ -29,7 +29,6 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"browser-sync": "^2.10.0",
|
"browser-sync": "^2.10.0",
|
||||||
"concurrently": "^2.0.0",
|
"concurrently": "^2.0.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"
|
||||||
|
Reference in New Issue
Block a user