chore(): updates to allow fiber demo to work.

This commit is contained in:
Josh Thomas
2017-06-22 12:03:59 -05:00
parent f2e0a29d99
commit 984bc7025f
3 changed files with 6 additions and 17 deletions

View File

@@ -4,7 +4,8 @@
"description": "Hacker News PWA demo of Stencil app using Ionic components",
"main": "index.js",
"scripts": {
"build": "stencil build",
"build": "npm run clean && stencil build",
"clean": "rm -Rf ./dist/*",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {

View File

@@ -2,20 +2,6 @@ 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'] }
{ components: ['fiber-demo', 'fiber-triangle', 'fiber-dot'] }
]
};

View File

@@ -4,7 +4,9 @@
"description": "Base components for Ionic",
"main": "dist/index.js",
"scripts": {
"build": "stencil build",
"build": "npm run clean && npm run copy.vendor && stencil build",
"clean": "rm -Rf ./dist/*",
"copy.vendor": "mkdir -p ./dist/vendor && cp -Rf ./src/vendor ./dist",
"test": "jest"
},
"repository": {