mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
chore(npm): publish package as 'ionic-angular'
BREAKING CHANGE: imports from the framework were: ``` import {Platform} from 'ionic-framework/ionic'; ``` and are now: ``` import {Platform} from 'ionic-angular'; ```
This commit is contained in:
@ -59,7 +59,7 @@ var babelOptions = {
|
|||||||
modules: 'system',
|
modules: 'system',
|
||||||
moduleIds: true,
|
moduleIds: true,
|
||||||
getModuleId: function(name) {
|
getModuleId: function(name) {
|
||||||
return 'ionic/' + name;
|
return 'ionic-angular/' + name;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
System.register('ionic/components/slides/swiper-widget',[],function(_export){ /**
|
System.register('ionic-angular/components/slides/swiper-widget',[],function(_export){ /**
|
||||||
* Swiper 3.1.2
|
* Swiper 3.1.2
|
||||||
* Most modern mobile touch slider and framework with hardware accelerated transitions
|
* Most modern mobile touch slider and framework with hardware accelerated transitions
|
||||||
*
|
*
|
||||||
|
@ -2,7 +2,7 @@ var webpack = require('webpack');
|
|||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
entry: [
|
entry: [
|
||||||
"./dist/ionic.js"
|
"./dist/index.js"
|
||||||
],
|
],
|
||||||
output: {
|
output: {
|
||||||
path: 'dist/bundles',
|
path: 'dist/bundles',
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
entry: [
|
entry: [
|
||||||
"./dist/ionic.js"
|
"./dist/index.js"
|
||||||
],
|
],
|
||||||
output: {
|
output: {
|
||||||
path: 'dist/bundles',
|
path: 'dist/bundles',
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "ionic-framework",
|
"name": "ionic-angular",
|
||||||
"version": "<%= ionicVersion %>",
|
"version": "<%= ionicVersion %>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"keywords": ["ionic", "framework", "mobile", "app", "hybrid", "webapp", "cordova"],
|
"keywords": ["ionic", "framework", "mobile", "app", "hybrid", "webapp", "cordova"],
|
||||||
@ -7,7 +7,6 @@
|
|||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/driftyco/ionic.git#2.0`"
|
"url": "https://github.com/driftyco/ionic.git#2.0`"
|
||||||
},
|
},
|
||||||
"main": "tooling/index.js",
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"colors": "^1.1.2",
|
"colors": "^1.1.2",
|
||||||
"inquirer": "0.11.0",
|
"inquirer": "0.11.0",
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
"outDir": "dist"
|
"outDir": "dist"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"ionic/ionic.ts",
|
"ionic/index.ts",
|
||||||
"typings/main.d.ts"
|
"typings/main.d.ts"
|
||||||
],
|
],
|
||||||
"compileOnSave" : false,
|
"compileOnSave" : false,
|
||||||
|
Reference in New Issue
Block a user