ionic
Version:
A tool for creating and developing Ionic Framework mobile apps.
95 lines (94 loc) • 5.14 kB
JSON
{
"name": "ionic-app-lib",
"version": "2.1.2",
"description": "A library for creating and developing Ionic Framework mobile apps.",
"homepage": "http://ionicframework.com/",
"main": "index.js",
"keywords": [
"ionic",
"ionic framework",
"ionicframework",
"mobile",
"app",
"hybrid",
"cordova",
"phonegap"
],
"repository": {
"type": "git",
"url": "git+https://github.com/driftyco/ionic-app-lib.git"
},
"contributors": [
{
"name": "Max Lynch",
"email": "max@drifty.com",
"url": "https://twitter.com/maxlynch"
},
{
"name": "Adam Bradley",
"url": "https://twitter.com/adamdbradley"
},
{
"name": "Tim Lancina",
"url": "https://twitter.com/timlancina"
},
{
"name": "Josh Thomas",
"url": "https://twitter.com/jthoms1"
}
],
"license": "MIT",
"dependencies": {
"adm-zip": "0.4.7",
"archiver": "0.5.2",
"cheerio": "0.19.0",
"colors": "0.6.2",
"connect": "3.1.1",
"connect-livereload": "0.5.2",
"cordova-lib": "6.1.0",
"crc": "3.2.1",
"cross-spawn-async": "2.1.9",
"finalhandler": "0.2.0",
"form-data": "0.1.4",
"glob-watcher": "2.0.0",
"open": "0.0.5",
"optimist": "0.6.0",
"progress": "1.1.7",
"prompt": "0.2.12",
"proxy-middleware": "0.7.0",
"q": "1.0.1",
"request": "2.51.0",
"request-progress": "0.3.1",
"semver": "4.2.0",
"serve-static": "1.7.1",
"shelljs": "0.2.6",
"tiny-lr-fork": "0.0.5",
"underscore": "1.7.0",
"winston": "1.1.2",
"xml2js": "0.4.16"
},
"devDependencies": {
"coveralls": "^2.11.9",
"eslint": "^3.0.1",
"istanbul": "^0.4.4",
"jasmine-node": "1.14.5",
"rewire": "2.5.1"
},
"scripts": {
"test": "npm run jasmine",
"jasmine": "jasmine-node --captureExceptions spec/",
"lint": "eslint .",
"coveralls": "istanbul cover node_modules/jasmine-node/bin/jasmine-node --captureExceptions spec/ && cat coverage/lcov.info | node_modules/coveralls/bin/coveralls.js && rm -rf coverage"
},
"cordovaPlugins": [],
"cordovaPlatforms": [],
"readme": "[![Build Status][circle-badge]][circle-badge-url]\n[![npm][npm-badge]][npm-badge-url]\n\n## Getting started\n\n`npm install ionic-app-lib --save`\n\n## Using this library\n\nHere's a snippet of JavaScript that shows how to use this library:\n\n```javascript\nvar ionicAppLib = require('ionic-app-lib'),\n cordova = ionicAppLib.cordova,\n serve = ionicAppLib.serve,\n start = ionicAppLib.start;\n\nvar options = { \n appDirectory: 'IonicApp',\n appName: 'Test',\n packageName: 'com.ionic.test',\n isCordovaProject: true,\n template: 'tabs',\n targetPath: '/User/Path/Development/' \n};\n\nstart.startApp(options);\n\n//Start an Ionic server with LiveReload on your files\nserve.start(options)\n\ncordova.addPlatform(appPath, platform);\ncordova.runPlatform(appPath, platform);\n\n\n\n```\n\n## Status\n\nCommands to convert:\n\n* [X] start\n* [X] serve\n* [X] cordova (using cordova-lib)\n * [X] run\n * [X] emulate\n * [X] compile\n * [X] build\n * [X] add platform\n * [X] remove platform\n * [X] add plugin\n * [X] remove plugin\n* [X] utils\n* [X] setup\n* [X] login\n* [X] upload\n* [X] share\n* [ ] push\n* [X] hooks\n* [X] browser\n* [ ] resources\n* [ ] docs\n* [X] state\n\ncordova (using cordova-lib - run/emulate/compile/build)\nupload\nstats\n\n## Developing this library\n\nTo use this library from another project, simply take your command line to the root of this directory and run `npm link`.\n\nThen 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.\n\n## The idea and plan\n\nThe idea here is to make the CLI library easier to use from any interface. \n\nThis project will contain all the logic to make all of the commands happen - start/serve/platform/run/emulate/etc..\n\nThe root file, index.js - will import all of the other modules/commands, to provide an interface to run all of the tasks.\n\nThe lib folder will contain all of the individual commands.\n\nThe 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.\n\n## Strategy going forward\n\nNeed to think about how to start cutting over forward development and passing it off to this library instead of straight parsing arguments from CLI.\n\n\n[circle-badge]: https://circleci.com/gh/driftyco/ionic-app-lib.svg?style=shield\n[circle-badge-url]: https://circleci.com/gh/driftyco/ionic-app-lib\n[npm-badge]: https://img.shields.io/npm/v/ionic-app-lib.svg\n[npm-badge-url]: https://www.npmjs.com/package/ionic-app-lib\n",
"readmeFilename": "README.md",
"gitHead": "fc6974d61e146b5dba6ae2675e71e4fbeedbad29",
"bugs": {
"url": "https://github.com/driftyco/ionic-app-lib/issues"
},
"_id": "ionic-app-lib@2.1.2",
"_shasum": "1b4101af09ab3fec5a62f93502cddfb2ee2276dd",
"_from": "ionic-app-lib@2.1.2"
}