feat(): included stencil config.

This commit is contained in:
Josh Thomas
2017-06-21 15:31:02 -05:00
parent 28a7b572e8
commit 518dc0b280
2 changed files with 22 additions and 0 deletions

View File

@@ -4,6 +4,7 @@
"description": "Base components for Ionic",
"main": "dist/index.js",
"scripts": {
"build": "stencil build",
"test": "jest"
},
"repository": {

View File

@@ -0,0 +1,21 @@
exports.config = {
src: 'src',
dest: 'dist',
bundles: [
{ components: ['ion-app', 'ion-content', 'ion-footer', 'ion-header', 'ion-navbar', 'ion-page', 'ion-title', 'ion-toolbar'] },
{ components: ['ion-avatar', 'ion-thumbnail'] },
{ components: ['ion-badge'] },
{ components: ['ion-button', 'ion-buttons', 'ion-icon'] },
{ components: ['ion-card', 'ion-card-content', 'ion-card-header', 'ion-card-title'] },
{ components: ['ion-gesture', 'ion-scroll'], priority: 'low' },
{ components: ['ion-item', 'ion-item-divider', 'ion-label', 'ion-list', 'ion-list-header', 'ion-skeleton-text'] },
{ components: ['ion-loading', 'ion-loading-controller'] },
{ components: ['ion-menu'], priority: 'low' },
{ components: ['ion-modal', 'ion-modal-controller'] },
{ components: ['ion-slides', 'ion-slide'] },
{ components: ['ion-spinner'] },
{ components: ['ion-toggle'] },
{ components: ['fiber-demo', 'fiber-triangle', 'fiber-dot'] },
{ components: ['news-list', 'news-container', 'comments-page', 'comments-list'] }
]
};