Improve 'ng2-alfresco-viewer' imports

This commit is contained in:
Denys Vuika 2016-06-15 14:30:59 +01:00
parent 0a973ef025
commit fccbe20d1a
5 changed files with 5 additions and 3 deletions

View File

@ -28,7 +28,7 @@ import {
AlfrescoPipeTranslate
} from 'ng2-alfresco-core';
import { ALFRESCO_ULPOAD_COMPONENTS } from 'ng2-alfresco-upload';
import { VIEWERCOMPONENT } from 'ng2-alfresco-viewer/dist/ng2-alfresco-viewer';
import { VIEWERCOMPONENT } from 'ng2-alfresco-viewer';
declare let __moduleName: string;

View File

@ -18,7 +18,7 @@
import { Component } from '@angular/core';
import { Router } from '@angular/router-deprecated';
import { ALFRESCO_SEARCH_DIRECTIVES } from 'ng2-alfresco-search';
import { VIEWERCOMPONENT } from 'ng2-alfresco-viewer/dist/ng2-alfresco-viewer';
import { VIEWERCOMPONENT } from 'ng2-alfresco-viewer';
import {
AlfrescoAuthenticationService,
AlfrescoContentService

View File

@ -17,7 +17,7 @@
import { Component } from '@angular/core';
import { bootstrap } from '@angular/platform-browser-dynamic';
import { VIEWERCOMPONENT } from 'ng2-alfresco-viewer/dist/ng2-alfresco-viewer';
import { VIEWERCOMPONENT } from 'ng2-alfresco-viewer';
@Component({
selector: 'my-app',

View File

@ -29,6 +29,8 @@
"coverage": "npm run test && http-server -c-1 -o -p 9875 ./coverage/report",
"prepublish": "npm run build"
},
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/alfresco/ng2-alfresco-viewer.git"