fix dependencies and core

This commit is contained in:
Mario Romano
2016-05-21 04:25:44 +01:00
parent 5c8e37073f
commit c13d6a7fc3
70 changed files with 840 additions and 288 deletions

View File

@@ -7,8 +7,12 @@ demo/
node_modules
typings/
src/
fonts/
/ng2-alfresco-datatable.ts
/ng2-alfresco-datatable.d.ts
/ng2-alfresco-datatable.js
/ng2-alfresco-datatable.js.map
/.editorconfig
/.travis.yml
/*.js
/*.json
/*.ts
/*.js.map
/.npmignore

View File

@@ -13,10 +13,17 @@ System.config({
defaultExtension: 'js',
format: 'register',
map: Object.keys(window.__karma__.files).filter(onlyAppFiles).reduce(createPathRecords, {})
},
'ng2-alfresco-core/dist': {
defaultExtension: 'js'
},
'rxjs': {
defaultExtension: 'js'
}
},
map: {
'ng2-alfresco-core': '/base/dist/node_modules/ng2-alfresco-core'
'ng2-alfresco-core/dist': '/base/node_modules/ng2-alfresco-core/dist',
'rxjs': '/base/node_modules/rxjs'
}
});

View File

@@ -11,11 +11,12 @@ module.exports = function (config) {
// paths loaded by Karma
{pattern: 'node_modules/angular2/bundles/angular2-polyfills.js', included: true, watched: true},
{pattern: 'node_modules/systemjs/dist/system.src.js', included: true, watched: true},
{pattern: 'node_modules/rxjs/bundles/Rx.js', included: true, watched: true},
{pattern: 'node_modules/rxjs/**/*.js', included: false, watched: false, served: true},
{pattern: 'node_modules/angular2/bundles/angular2.dev.js', included: true, watched: true},
{pattern: 'node_modules/angular2/bundles/testing.dev.js', included: true, watched: true},
{pattern: 'node_modules/angular2/bundles/http.dev.js', included: true, watched: true},
{pattern: 'node_modules/alfresco-core-rest-api/bundle.js', included: true, watched: false},
{pattern: 'node_modules/ng2-alfresco-core/dist/**/*.js', included: false, served: true, watched: false},
{pattern: 'karma-test-shim.js', included: true, watched: true},

View File

@@ -1,7 +1,7 @@
{
"name": "ng2-alfresco-datatable",
"description": "Alfresco Angular2 DataTable Component",
"version": "0.1.4",
"version": "0.1.5",
"author": "Alfresco Software, Ltd.",
"scripts": {
"typings": "typings install",

View File

@@ -12,8 +12,10 @@
},
"exclude": [
"demo",
"dist",
"node_modules",
"typings/main",
"typings/main.d.ts"
"typings/main.d.ts",
"dist"
]
}