Simplified imports for DataTable

This commit is contained in:
Denys Vuika 2016-06-15 13:11:13 +01:00
parent e378181058
commit 011f587455
5 changed files with 6 additions and 4 deletions

View File

@ -22,7 +22,7 @@ import {
DataSorting, DataSorting,
ObjectDataRow, ObjectDataRow,
ObjectDataColumn ObjectDataColumn
} from 'ng2-alfresco-datatable/dist/ng2-alfresco-datatable'; } from 'ng2-alfresco-datatable';
declare let __moduleName: string; declare let __moduleName: string;

View File

@ -20,7 +20,7 @@ import { ActivitiService } from './activiti.service';
import { import {
ALFRESCO_DATATABLE_DIRECTIVES, ALFRESCO_DATATABLE_DIRECTIVES,
ObjectDataTableAdapter ObjectDataTableAdapter
} from 'ng2-alfresco-datatable/dist/ng2-alfresco-datatable'; } from 'ng2-alfresco-datatable';
@Component({ @Component({
selector: 'tasks-demo', selector: 'tasks-demo',

View File

@ -6,6 +6,6 @@ coverage/
dist/ dist/
src/**/*.js src/**/*.js
src/**/*.js.map src/**/*.js.map
ng2-alfresco-datatable.js index.js
ng2-alfresco-datatable.js.map index.js.map
!systemjs.config.js !systemjs.config.js

View File

@ -28,6 +28,8 @@
"coverage": "npm run test && wsrv -o -p 9875 ./coverage/report", "coverage": "npm run test && wsrv -o -p 9875 ./coverage/report",
"prepublish": "npm run build" "prepublish": "npm run build"
}, },
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/Alfresco/dev-platform-webcomponents.git" "url": "https://github.com/Alfresco/dev-platform-webcomponents.git"