mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 04:53:58 +08:00
fix(): updates so that core works with hn demo and ionic-vanilla
This commit is contained in:
@ -3,5 +3,10 @@
|
|||||||
"packages": [
|
"packages": [
|
||||||
"packages/*"
|
"packages/*"
|
||||||
],
|
],
|
||||||
|
"commands": {
|
||||||
|
"bootstrap": {
|
||||||
|
"ignore": "@stencil/*"
|
||||||
|
}
|
||||||
|
},
|
||||||
"version": "0.0.0"
|
"version": "0.0.0"
|
||||||
}
|
}
|
||||||
|
@ -3,5 +3,8 @@ exports.config = {
|
|||||||
dest: 'dist',
|
dest: 'dist',
|
||||||
bundles: [
|
bundles: [
|
||||||
{ components: ['news-list', 'news-container', 'comments-page', 'comments-list'] }
|
{ components: ['news-list', 'news-container', 'comments-page', 'comments-list'] }
|
||||||
|
],
|
||||||
|
collections: [
|
||||||
|
'@ionic/core'
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
"name": "@ionic/core",
|
"name": "@ionic/core",
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"description": "Base components for Ionic",
|
"description": "Base components for Ionic",
|
||||||
"main": "dist/index.js",
|
"main": "dist/manifest.json",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "npm run clean && npm run copy.vendor && stencil build",
|
"build": "npm run clean && npm run copy.vendor && stencil collection",
|
||||||
"clean": "rm -Rf ./dist/*",
|
"clean": "rm -Rf ./dist",
|
||||||
"copy.vendor": "mkdir -p ./temp/vendor && cp -Rf ./src/vendor ./temp",
|
"copy.vendor": "mkdir -p ./dist/vendor && cp -Rf ./src/vendor ./dist",
|
||||||
"test": "jest"
|
"test": "jest"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
@ -14,7 +14,9 @@
|
|||||||
"url": "git+https://github.com/ionic-team/ionic.git"
|
"url": "git+https://github.com/ionic-team/ionic.git"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@stencil/core": "^0.0.1",
|
"@stencil/core": "^0.0.1"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
"ionicons": "3.0.0"
|
"ionicons": "3.0.0"
|
||||||
},
|
},
|
||||||
"author": "Ionic Team",
|
"author": "Ionic Team",
|
||||||
|
@ -4,9 +4,8 @@
|
|||||||
"description": "Base components for Ionic",
|
"description": "Base components for Ionic",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "npm run clean && npm run copy.vendor && stencil build",
|
"build": "npm run clean && stencil build",
|
||||||
"clean": "rm -Rf ./dist/*",
|
"clean": "rm -Rf ./dist",
|
||||||
"copy.vendor": "mkdir -p ./dist/vendor && cp -Rf ./src/vendor ./dist",
|
|
||||||
"test": "jest"
|
"test": "jest"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
@ -16,6 +15,9 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@ionic/core": "0.0.1"
|
"@ionic/core": "0.0.1"
|
||||||
},
|
},
|
||||||
|
"devDependencies":{
|
||||||
|
"@stencil/core": "0.0.1"
|
||||||
|
},
|
||||||
"author": "Ionic Team",
|
"author": "Ionic Team",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
|
6
packages/ionic-vanilla/stencil.config.js
Normal file
6
packages/ionic-vanilla/stencil.config.js
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
exports.config = {
|
||||||
|
dest: 'dist',
|
||||||
|
collections: [
|
||||||
|
'@ionic/core'
|
||||||
|
]
|
||||||
|
};
|
Reference in New Issue
Block a user