mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(): move core-hn and fiber into their own packages.
This commit is contained in:
|
Before Width: | Height: | Size: 580 B After Width: | Height: | Size: 580 B |
24
packages/core-hn-demo/package.json
Normal file
24
packages/core-hn-demo/package.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"name": "@stencil/core-hn-demo",
|
||||
"version": "0.0.1",
|
||||
"description": "Hacker News PWA demo of Stencil app using Ionic components",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"build": "stencil build",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/ionic-team/ionic.git"
|
||||
},
|
||||
"dependencies": {
|
||||
"@ionic/ionic": "^0.0.1",
|
||||
"@stencil/core": "^0.0.1"
|
||||
},
|
||||
"author": "",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/ionic-team/ionic/issues"
|
||||
},
|
||||
"homepage": "https://github.com/ionic-team/ionic#readme"
|
||||
}
|
||||
7
packages/core-hn-demo/stencil.config.js
Normal file
7
packages/core-hn-demo/stencil.config.js
Normal file
@@ -0,0 +1,7 @@
|
||||
exports.config = {
|
||||
src: 'src',
|
||||
dest: 'dist',
|
||||
bundles: [
|
||||
{ components: ['news-list', 'news-container', 'comments-page', 'comments-list'] }
|
||||
]
|
||||
};
|
||||
23
packages/fiber-demo/package.json
Normal file
23
packages/fiber-demo/package.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"name": "@stencil/fiber-demo",
|
||||
"version": "0.0.1",
|
||||
"description": "Demo of Stencil app using Ionic components to show rendering capabilities",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"build": "stencil build",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/ionic-team/ionic.git"
|
||||
},
|
||||
"dependencies": {
|
||||
"@stencil/core": "^0.0.1"
|
||||
},
|
||||
"author": "",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/ionic-team/ionic/issues"
|
||||
},
|
||||
"homepage": "https://github.com/ionic-team/ionic#readme"
|
||||
}
|
||||
21
packages/fiber-demo/stencil.config.js
Normal file
21
packages/fiber-demo/stencil.config.js
Normal 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'] }
|
||||
]
|
||||
};
|
||||
@@ -14,8 +14,6 @@ exports.config = {
|
||||
{ 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: ['ion-toggle'] }
|
||||
]
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user