cordova-android/node_modules/cordova-common/package.json

150 lines
9.1 KiB
JSON
Raw Normal View History

{
"_args": [
[
2016-07-23 03:24:27 +08:00
{
2017-09-06 02:04:12 +08:00
"raw": "cordova-common@^2.1.0",
2016-07-23 03:24:27 +08:00
"scope": null,
"escapedName": "cordova-common",
"name": "cordova-common",
2017-09-06 02:04:12 +08:00
"rawSpec": "^2.1.0",
"spec": ">=2.1.0 <3.0.0",
2016-07-23 03:24:27 +08:00
"type": "range"
},
"/Users/steveng/repo/cordova/cordova-android"
]
],
2017-09-06 02:04:12 +08:00
"_from": "cordova-common@>=2.1.0 <3.0.0",
"_id": "cordova-common@2.1.0",
"_inCache": true,
"_location": "/cordova-common",
2017-09-06 02:04:12 +08:00
"_nodeVersion": "6.6.0",
"_npmOperationalInternal": {
2017-09-06 02:04:12 +08:00
"host": "s3://npm-registry-packages",
"tmp": "tmp/cordova-common-2.1.0.tgz_1504306462859_0.04064799007028341"
},
"_npmUser": {
2017-09-06 02:04:12 +08:00
"name": "audreyso",
"email": "audreyeso@gmail.com"
},
2017-09-06 02:04:12 +08:00
"_npmVersion": "4.6.1",
"_phantomChildren": {},
"_requested": {
2017-09-06 02:04:12 +08:00
"raw": "cordova-common@^2.1.0",
"scope": null,
2016-07-23 03:24:27 +08:00
"escapedName": "cordova-common",
"name": "cordova-common",
2017-09-06 02:04:12 +08:00
"rawSpec": "^2.1.0",
"spec": ">=2.1.0 <3.0.0",
2016-05-26 07:31:28 +08:00
"type": "range"
},
"_requiredBy": [
"/"
],
2017-09-06 02:04:12 +08:00
"_resolved": "https://registry.npmjs.org/cordova-common/-/cordova-common-2.1.0.tgz",
"_shasum": "bb357ee1b9825031ed9db3c56b592efe973d1640",
"_shrinkwrap": null,
2017-09-06 02:04:12 +08:00
"_spec": "cordova-common@^2.1.0",
"_where": "/Users/steveng/repo/cordova/cordova-android",
"author": {
"name": "Apache Software Foundation"
},
"bugs": {
2016-07-23 03:24:27 +08:00
"url": "https://issues.apache.org/jira/browse/CB",
"email": "dev@cordova.apache.org"
},
"contributors": [],
"dependencies": {
"ansi": "^0.3.1",
"bplist-parser": "^0.1.0",
"cordova-registry-mapper": "^1.1.8",
2017-09-06 02:04:12 +08:00
"elementtree": "0.1.6",
"glob": "^5.0.13",
2016-05-26 07:31:28 +08:00
"minimatch": "^3.0.0",
"osenv": "^0.1.3",
"plist": "^1.2.0",
"q": "^1.4.1",
"semver": "^5.0.1",
2016-04-22 20:56:02 +08:00
"shelljs": "^0.5.3",
"underscore": "^1.8.3",
"unorm": "^1.3.3"
},
"description": "Apache Cordova tools and platforms shared routines",
"devDependencies": {
2017-09-06 02:04:12 +08:00
"eslint": "^4.0.0",
"eslint-config-semistandard": "^11.0.0",
"eslint-config-standard": "^10.2.1",
"eslint-plugin-import": "^2.3.0",
"eslint-plugin-node": "^5.0.0",
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-standard": "^3.0.1",
2017-03-15 04:12:57 +08:00
"istanbul": "^0.4.5",
"jasmine": "^2.5.2",
2016-04-22 20:56:02 +08:00
"promise-matchers": "^0.9.6",
"rewire": "^2.5.1"
},
"directories": {},
2015-10-31 10:43:08 +08:00
"dist": {
2017-09-06 02:04:12 +08:00
"shasum": "bb357ee1b9825031ed9db3c56b592efe973d1640",
"tarball": "https://registry.npmjs.org/cordova-common/-/cordova-common-2.1.0.tgz"
},
"engines": {
"node": ">=4.0.0"
2015-10-31 10:43:08 +08:00
},
2017-09-06 02:04:12 +08:00
"homepage": "https://github.com/apache/cordova-lib#readme",
"license": "Apache-2.0",
"main": "cordova-common.js",
2015-10-31 10:43:08 +08:00
"maintainers": [
{
2017-09-06 02:04:12 +08:00
"name": "audreyso",
"email": "audreyeso@gmail.com"
2015-10-31 10:43:08 +08:00
},
2017-03-15 04:12:57 +08:00
{
2017-09-06 02:04:12 +08:00
"name": "apachebuilds",
"email": "root@apache.org"
2017-03-15 04:12:57 +08:00
},
2015-10-31 10:43:08 +08:00
{
2017-09-06 02:04:12 +08:00
"name": "filmaj",
"email": "maj.fil@gmail.com"
2015-10-31 10:43:08 +08:00
},
{
2017-09-06 02:04:12 +08:00
"name": "timbarham",
"email": "npmjs@barhams.info"
2015-10-31 10:43:08 +08:00
},
{
2016-07-23 03:24:27 +08:00
"name": "shazron",
"email": "shazron@gmail.com"
2015-10-31 10:43:08 +08:00
},
2017-09-06 02:04:12 +08:00
{
"name": "bowserj",
"email": "bowserj@apache.org"
},
{
"name": "purplecabbage",
"email": "purplecabbage@gmail.com"
},
2015-10-31 10:43:08 +08:00
{
2016-07-23 03:24:27 +08:00
"name": "stevegill",
"email": "stevengill97@gmail.com"
2015-10-31 10:43:08 +08:00
},
{
2017-09-06 02:04:12 +08:00
"name": "kotikov.vladimir",
"email": "kotikov.vladimir@gmail.com"
2015-10-31 10:43:08 +08:00
}
],
"name": "cordova-common",
"optionalDependencies": {},
2017-09-06 02:04:12 +08:00
"readme": "<!--\n#\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements. See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership. The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License. You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied. See the License for the\n# specific language governing permissions and limitations\n# under the License.\n#\n-->\n\n[![Build status](https://ci.appveyor.com/api/projects/status/wxkmo0jalsr8gane?svg=true)](https://ci.appveyor.com/project/ApacheSoftwareFoundation/cordova-common/branch/master)\n[![Build Status](https://travis-ci.org/apache/cordova-common.svg?branch=master)](https://travis-ci.org/apache/cordova-common)\n[![NPM](https://nodei.co/npm/cordova-common.png)](https://nodei.co/npm/cordova-common/)\n\n# cordova-common\nExpoeses shared functionality used by [cordova-lib](https://github.com/apache/cordova-lib/) and Cordova platforms.\n## Exposed APIs\n\n### `events`\n \nRepresents special instance of NodeJS EventEmitter which is intended to be used to post events to cordova-lib and cordova-cli\n\nUsage:\n```js\nvar events = require('cordova-common').events;\nevents.emit('warn', 'Some warning message')\n```\n\nThere are the following events supported by cordova-cli: `verbose`, `log`, `info`, `warn`, `error`.\n\n### `CordovaError`\n\nAn error class used by Cordova to throw cordova-specific errors. The CordovaError class is inherited from Error, so CordovaError instances is also valid Error instances (`instanceof` check succeeds).\n\nUsage:\n\n```js\nvar CordovaError = require('cordova-common').CordovaError;\nthrow new CordovaError('Some error message', SOME_ERR_CODE);\n```\n\nSee [CordovaError](src/CordovaError/CordovaError.js) for supported error codes.\n\n### `ConfigParser`\n\nExposes functionality to deal with cordova project `config.xml` files. For ConfigParser API reference check [ConfigParser Readme](src/ConfigParser/README.md).\n\nUsage:\n```js\nvar ConfigParser = require('cordova-common').ConfigParser;\nvar appConfig = new ConfigParser('path/to/cordova-app/config.xml');\nconsole.log(appconfig.name() + ':' + appConfig.version());\n```\n\n### `PluginInfoProvider` and `PluginInfo`\n\n`PluginInfo` is a wrapper for cordova plugins' `plugin.xml` files. This class may be instantiated directly or via `PluginInfoProvider`. The difference is that `PluginInfoProvider` caches `PluginInfo` instances based on plugin source directory.\n\nUsage:\n```js\nvar PluginInfo: require('cordova-common').PluginInfo;\nvar PluginInfoProvider: require('cordova-common').PluginInfoProvider;\n\n// The following instances are equal\nvar plugin1 = new PluginInfo('path/to/plugin_directory');\nvar plugin2 = new PluginInfoProvider().get('path/to/plugin_directory');\n\nconsole.log('The plugin ' + plugin1.id + ' has version ' + plugin1.version)\n```\n\n### `ActionStack`\n\nUtility module for dealing with sequential tasks. Provides a set of tasks that are needed to be done and reverts all tasks that are already completed if one of those tasks fail to complete. Used internally by cordova-lib and platform's plugin installation routines.\n\nUsage:\n```js\nvar ActionStack = require('cordova-common').ActionStack;\nvar stack = new ActionStack()\n\nvar action1 = stack.createAction(task1, [<task parameters>], task1_reverter, [<reverter_parameters>]);\nvar action2 = stack.createAction(task2, [<task parameters>], task2_reverter, [<reverter_parameters>]);\n\nstack.push(action1);\nstack.push(action2);\n\nstack.process()\n.then(function() {\n // all actions succeded\n})\n.catch(function(error){\n // One of actions failed with error\n})\n```\n\n### `su
"readmeFilename": "README.md",
"repository": {
"type": "git",
2017-09-06 02:04:12 +08:00
"url": "git+https://github.com/apache/cordova-lib.git"
},
"scripts": {
2017-03-15 04:12:57 +08:00
"cover": "istanbul cover --root src --print detail jasmine",
2017-09-06 02:04:12 +08:00
"eslint": "eslint src && eslint spec",
"jasmine": "jasmine JASMINE_CONFIG_PATH=spec/support/jasmine.json",
"test": "npm run eslint && npm run jasmine"
},
2017-09-06 02:04:12 +08:00
"version": "2.1.0"
}