File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #!/usr/bin/env node
2+
3+ 'use strict' ;
4+
5+ process . title = 'ionic' ;
6+
7+ var Ionic = require ( '../lib/ionic' ) . Ionic ;
8+
9+ var ionic = new Ionic ( ) ;
10+ ionic . run ( ) ;
Original file line number Diff line number Diff line change 66http://ionicframework.com/
77
88A utility for starting and administering Ionic based mobile app projects.
9- Licensed under the MITlicense . See LICENSE For more.
9+ Licensed under the MIT license . See LICENSE For more.
1010
1111Copyright 2013 Drifty (http://drifty.com/)
1212*/
1313
14- var IonicStartTask = require ( './lib/ ionic/start.js' ) . IonicStartTask ;
14+ var IonicStartTask = require ( './ionic/start.js' ) . IonicStartTask ;
1515
1616var argv = require ( 'optimist' ) . argv ;
1717
@@ -85,6 +85,4 @@ Ionic.prototype = {
8585
8686} ;
8787
88-
89- var ionic = new Ionic ( ) ;
90- ionic . run ( ) ;
88+ exports . Ionic = Ionic ;
Original file line number Diff line number Diff line change 44 "preferGlobal" : true ,
55 "description" : " A tool for creating and building Ionic Framework mobile apps." ,
66 "homepage" : " http://ionicframework.com/" ,
7- "main" : " ionic.js" ,
7+ "bin" : {
8+ "ionic" : " bin/ionic"
9+ },
810 "keywords" : [
911 " ionic" ,
1012 " ionic framework" ,
You can’t perform that action at this time.
0 commit comments