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

@@ -0,0 +1,18 @@
npm-debug.log
.idea
assets/
coverage/
demo/
node_modules
typings/
src/
fonts/
/.editorconfig
/.travis.yml
/*.js
/*.json
/*.ts
/*.js.map
/.npmignore

View File

@@ -12,6 +12,7 @@
},
"exclude": [
"node_modules",
"typings"
"typings",
"dist"
]
}

View File

@@ -13,14 +13,7 @@ System.config({
defaultExtension: 'js',
format: 'register',
map: Object.keys(window.__karma__.files).filter(onlyAppFiles).reduce(createPathRecords, {})
},
'ng2-translate': {
defaultExtension: 'js',
format: 'register'
}
},
map: {
'ng2-translate': '/base/node_modules/ng2-translate/bundles'
}
});

View File

@@ -17,7 +17,6 @@ module.exports = function (config) {
{pattern: 'node_modules/angular2/bundles/http.dev.js', included: true, watched: false},
{pattern: 'node_modules/angular2/bundles/router.dev.js', included: true, watched: false},
{pattern: 'node_modules/alfresco-core-rest-api/bundle.js', included: true, watched: false},
{pattern: 'node_modules/ng2-translate/bundles/ng2-translate.js', included: true, watched: false},
{pattern: 'karma-test-shim.js', included: true, watched: true},

View File

@@ -1,12 +1,12 @@
{
"keywords": [
"viewer",
"pdf",
"alfresco-component"
],
"keywords": [
"viewer",
"pdf",
"alfresco-component"
],
"name": "ng2-alfresco-viewer",
"description": "Alfresco documents viewer",
"version": "0.1.1",
"version": "0.1.2",
"author": "Eugenio Romano",
"scripts": {
"typings": "typings install",
@@ -42,8 +42,7 @@
"pdfjs-dist": "^1.5.258",
"reflect-metadata": "0.1.2",
"rxjs": "5.0.0-beta.2",
"zone.js": "^0.6.12",
"ng2-translate": "^1.11.2"
"zone.js": "^0.6.12"
},
"peerDependencies": {
"angular2": "2.0.0-beta.15"

View File

@@ -21,6 +21,7 @@
"demo",
"node_modules",
"typings/main",
"typings/main.d.ts"
"typings/main.d.ts",
"dist"
]
}