ionic-app-lib
A library for creating and developing Ionic Framework mobile apps.
Last updated 9 years ago by jbavari .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install ionic-app-lib 
SYNC missed versions from official npm registry.

Build Status npm

Getting started

npm install ionic-app-lib --save

Using this library

Here's a snippet of JavaScript that shows how to use this library:

var ionicAppLib = require('ionic-app-lib'),
    cordova = ionicAppLib.cordova,
    serve = ionicAppLib.serve,
    start = ionicAppLib.start;

var options = { 
  appDirectory: 'IonicApp',
  appName: 'Test',
  packageName: 'com.ionic.test',
  isCordovaProject: true,
  template: 'tabs',
  targetPath: '/User/Path/Development/' 
};

start.startApp(options);

//Start an Ionic server with LiveReload on your files
serve.start(options)

cordova.addPlatform(appPath, platform);
cordova.runPlatform(appPath, platform);



Status

Commands to convert:

  • [X] start
  • [X] serve
  • [X] cordova (using cordova-lib)
    • [X] run
    • [X] emulate
    • [X] compile
    • [X] build
    • [X] add platform
    • [X] remove platform
    • [X] add plugin
    • [X] remove plugin
  • [X] utils
  • [X] setup
  • [X] login
  • [X] upload
  • [X] share
  • [ ] push
  • [X] hooks
  • [X] browser
  • [ ] resources
  • [ ] docs
  • [X] state

cordova (using cordova-lib - run/emulate/compile/build) upload stats

Developing this library

To use this library from another project, simply take your command line to the root of this directory and run npm link.

Then in the project you wish to consume the library, run npm link ionic-app-lib. Then require('ionic-app-lib') and start using the commands listed in index.js.

The idea and plan

The idea here is to make the CLI library easier to use from any interface.

This project will contain all the logic to make all of the commands happen - start/serve/platform/run/emulate/etc..

The root file, index.js - will import all of the other modules/commands, to provide an interface to run all of the tasks.

The lib folder will contain all of the individual commands.

The specs will test passing the commands the correct parameters, instead of if they properly read in command line arguments. Starting out, tests will just ensure there are no silly JavaScript errors by just requireing them.

Strategy going forward

Need to think about how to start cutting over forward development and passing it off to this library instead of straight parsing arguments from CLI.

Current Tags

  • 2.0.0-alpha.22                                ...           alpha (9 years ago)
  • 2.1.0-beta.1                                ...           beta (8 years ago)
  • 2.0.0-alpha.16                                ...           generate (9 years ago)
  • 2.2.1                                ...           latest (8 years ago)
  • 2.0.0-alpha.11                                ...           livereload (9 years ago)
  • 2.1.9-201701110334                                ...           nightly (8 years ago)
  • 0.7.2                                ...           testing (8 years ago)

152 Versions

  • 2.2.1                                ...           8 years ago
  • 2.2.0                                ...           8 years ago
  • 2.1.9-201701110334                                ...           8 years ago
  • 2.1.9                                ...           8 years ago
  • 2.1.8                                ...           8 years ago
  • 2.1.7                                ...           8 years ago
  • 2.1.6                                ...           8 years ago
  • 2.1.5                                ...           8 years ago
  • 2.1.4                                ...           8 years ago
  • 2.1.3                                ...           8 years ago
  • 2.1.2                                ...           8 years ago
  • 2.1.1                                ...           8 years ago
  • 2.1.0-beta.1                                ...           8 years ago
  • 2.1.0-beta.0                                ...           8 years ago
  • 2.0.0                                ...           8 years ago
  • 2.0.0-beta.20                                ...           8 years ago
  • 2.0.0-beta.19                                ...           8 years ago
  • 2.0.0-beta.18                                ...           8 years ago
  • 0.7.3                                ...           8 years ago
  • 2.0.0-beta.17                                ...           8 years ago
  • 2.0.0-beta.16                                ...           8 years ago
  • 0.7.2                                ...           8 years ago
  • 0.7.1                                ...           8 years ago
  • 2.0.0-beta.15                                ...           9 years ago
  • 2.0.0-beta.14                                ...           9 years ago
  • 2.0.0-beta.13                                ...           9 years ago
  • 2.0.0-beta.12                                ...           9 years ago
  • 2.0.0-beta.11                                ...           9 years ago
  • 2.0.0-beta.10                                ...           9 years ago
  • 2.0.0-beta.9                                ...           9 years ago
  • 0.7.0                                ...           9 years ago
  • 2.0.0-beta.8                                ...           9 years ago
  • 2.0.0-beta.7                                ...           9 years ago
  • 2.0.0-beta.6                                ...           9 years ago
  • 2.0.0-beta.5                                ...           9 years ago
  • 2.0.0-beta.4                                ...           9 years ago
  • 2.0.0-beta.3                                ...           9 years ago
  • 2.0.0-beta.2                                ...           9 years ago
  • 2.0.0-beta.1                                ...           9 years ago
  • 2.0.0-alpha.24                                ...           9 years ago
  • 2.0.0-alpha.23                                ...           9 years ago
  • 0.6.5                                ...           9 years ago
  • 2.0.0-alpha.22                                ...           9 years ago
  • 2.0.0-alpha.21                                ...           9 years ago
  • 2.0.0-alpha.20                                ...           9 years ago
  • 2.0.0-alpha.19                                ...           9 years ago
  • 2.0.0-alpha.18                                ...           9 years ago
  • 0.6.4                                ...           9 years ago
  • 2.0.0-alpha.17                                ...           9 years ago
  • 2.0.0-alpha.16                                ...           9 years ago
  • 2.0.0-alpha.15                                ...           9 years ago
  • 2.0.0-alpha.14                                ...           9 years ago
  • 2.0.0-alpha.13                                ...           9 years ago
  • 2.0.0-alpha.12                                ...           9 years ago
  • 2.0.0-alpha.11                                ...           9 years ago
  • 2.0.0-alpha.10                                ...           9 years ago
  • 0.6.3                                ...           9 years ago
  • 0.5.0-alpha.9                                ...           9 years ago
  • 0.6.2                                ...           9 years ago
  • 0.6.1                                ...           9 years ago
  • 0.6.0                                ...           9 years ago
  • 0.5.3                                ...           9 years ago
  • 0.5.2                                ...           9 years ago
  • 0.5.0-alpha.8                                ...           9 years ago
  • 0.5.0-alpha.7                                ...           9 years ago
  • 0.5.0-alpha.6                                ...           9 years ago
  • 0.5.0-alpha.5                                ...           9 years ago
  • 0.5.1                                ...           9 years ago
  • 0.5.1-beta.0                                ...           9 years ago
  • 0.5.0-alpha.4                                ...           9 years ago
  • 0.3.9                                ...           9 years ago
  • 0.3.9-testing.3                                ...           9 years ago
  • 0.5.0-alpha.3                                ...           9 years ago
  • 0.3.9-testing.2                                ...           9 years ago
  • 0.3.9-testing.1                                ...           9 years ago
  • 0.3.9-testing.0                                ...           9 years ago
  • 0.4.2-beta.7                                ...           9 years ago
  • 0.5.0-alpha.2                                ...           9 years ago
  • 0.4.2-beta.6                                ...           9 years ago
  • 0.4.2-beta.5                                ...           9 years ago
  • 0.4.2-beta.4                                ...           9 years ago
  • 0.4.2-beta.3                                ...           9 years ago
  • 0.5.0-alpha.1                                ...           9 years ago
  • 0.5.0-alpha.0                                ...           9 years ago
  • 0.4.2-beta.2                                ...           9 years ago
  • 0.4.2-beta.1                                ...           9 years ago
  • 0.4.2-beta.0                                ...           9 years ago
  • 0.4.1                                ...           9 years ago
  • 0.4.0                                ...           9 years ago
  • 0.4.0-beta.10                                ...           9 years ago
  • 0.4.0-beta.9                                ...           9 years ago
  • 0.4.0-beta.8                                ...           9 years ago
  • 0.4.0-beta.7                                ...           9 years ago
  • 0.4.0-beta.6                                ...           9 years ago
  • 0.4.0-beta.5                                ...           9 years ago
  • 0.4.0-beta.4                                ...           9 years ago
  • 0.4.0-beta.3                                ...           9 years ago
  • 0.4.0-beta.2                                ...           9 years ago
  • 0.4.0-beta.1                                ...           9 years ago
  • 0.4.0-beta.0                                ...           9 years ago
  • 0.3.9-beta.3                                ...           9 years ago
  • 0.3.9-beta.2                                ...           9 years ago
  • 0.3.9-beta.0                                ...           9 years ago
  • 0.3.8                                ...           9 years ago
  • 0.3.8-beta.1                                ...           9 years ago
  • 0.3.8-beta.0                                ...           9 years ago
  • 0.3.7                                ...           9 years ago
  • 0.3.6                                ...           9 years ago
  • 0.3.6-beta.2                                ...           9 years ago
  • 0.3.6-beta.1                                ...           9 years ago
  • 0.3.6-beta.0                                ...           9 years ago
  • 0.3.5                                ...           9 years ago
  • 0.3.4                                ...           9 years ago
  • 0.3.3                                ...           9 years ago
  • 0.3.2                                ...           9 years ago
  • 0.3.1                                ...           9 years ago
  • 0.3.0                                ...           9 years ago
  • 0.2.5                                ...           9 years ago
  • 0.2.4                                ...           9 years ago
  • 0.2.3                                ...           9 years ago
  • 0.2.2                                ...           9 years ago
  • 0.2.1                                ...           9 years ago
  • 0.2.0                                ...           9 years ago
  • 0.1.1-beta.3                                ...           9 years ago
  • 0.1.1-beta.2                                ...           9 years ago
  • 0.1.1-beta.1                                ...           9 years ago
  • 0.1.1-beta.0                                ...           9 years ago
  • 0.1.0                                ...           9 years ago
  • 0.1.0-beta.1                                ...           9 years ago
  • 0.1.0-beta.0                                ...           9 years ago
  • 0.0.23                                ...           9 years ago
  • 0.0.22                                ...           9 years ago
  • 0.0.21                                ...           9 years ago
  • 0.0.20                                ...           9 years ago
  • 0.0.19                                ...           10 years ago
  • 0.0.18                                ...           10 years ago
  • 0.0.17                                ...           10 years ago
  • 0.0.16                                ...           10 years ago
  • 0.0.15                                ...           10 years ago
  • 0.0.14                                ...           10 years ago
  • 0.0.13                                ...           10 years ago
  • 0.0.12                                ...           10 years ago
  • 0.0.11                                ...           10 years ago
  • 0.0.10                                ...           10 years ago
  • 0.0.9                                ...           10 years ago
  • 0.0.7                                ...           10 years ago
  • 0.0.6                                ...           10 years ago
  • 0.0.5                                ...           10 years ago
  • 0.0.4                                ...           10 years ago
  • 0.0.3                                ...           10 years ago
  • 0.0.2                                ...           10 years ago
  • 0.0.1                                ...           10 years ago
Maintainers (1)
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (30)
Dev Dependencies (1)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE