122 lines
8.1 KiB
JSON
122 lines
8.1 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
{
|
|
"raw": "escodegen@1.x.x",
|
|
"scope": null,
|
|
"escapedName": "escodegen",
|
|
"name": "escodegen",
|
|
"rawSpec": "1.x.x",
|
|
"spec": ">=1.0.0 <2.0.0",
|
|
"type": "range"
|
|
},
|
|
"/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/degenerator"
|
|
]
|
|
],
|
|
"_from": "escodegen@>=1.0.0 <2.0.0",
|
|
"_id": "escodegen@1.9.0",
|
|
"_inCache": true,
|
|
"_location": "/escodegen",
|
|
"_nodeVersion": "8.4.0",
|
|
"_npmOperationalInternal": {
|
|
"host": "s3://npm-registry-packages",
|
|
"tmp": "tmp/escodegen-1.9.0.tgz_1504888545300_0.6969581602606922"
|
|
},
|
|
"_npmUser": {
|
|
"name": "michaelficarra",
|
|
"email": "npm@michael.ficarra.me"
|
|
},
|
|
"_npmVersion": "5.4.1",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"raw": "escodegen@1.x.x",
|
|
"scope": null,
|
|
"escapedName": "escodegen",
|
|
"name": "escodegen",
|
|
"rawSpec": "1.x.x",
|
|
"spec": ">=1.0.0 <2.0.0",
|
|
"type": "range"
|
|
},
|
|
"_requiredBy": [
|
|
"/degenerator"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.9.0.tgz",
|
|
"_shasum": "9811a2f265dc1cd3894420ee3717064b632b8852",
|
|
"_shrinkwrap": null,
|
|
"_spec": "escodegen@1.x.x",
|
|
"_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/degenerator",
|
|
"bin": {
|
|
"esgenerate": "./bin/esgenerate.js",
|
|
"escodegen": "./bin/escodegen.js"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/estools/escodegen/issues"
|
|
},
|
|
"dependencies": {
|
|
"esprima": "^3.1.3",
|
|
"estraverse": "^4.2.0",
|
|
"esutils": "^2.0.2",
|
|
"optionator": "^0.8.1",
|
|
"source-map": "~0.5.6"
|
|
},
|
|
"description": "ECMAScript code generator",
|
|
"devDependencies": {
|
|
"acorn": "^4.0.4",
|
|
"bluebird": "^3.4.7",
|
|
"bower-registry-client": "^1.0.0",
|
|
"chai": "^3.5.0",
|
|
"commonjs-everywhere": "^0.9.7",
|
|
"gulp": "^3.8.10",
|
|
"gulp-eslint": "^3.0.1",
|
|
"gulp-mocha": "^3.0.1",
|
|
"semver": "^5.1.0"
|
|
},
|
|
"directories": {},
|
|
"dist": {
|
|
"integrity": "sha512-v0MYvNQ32bzwoG2OSFzWAkuahDQHK92JBN0pTAALJ4RIxEZe766QJPDR8Hqy7XNUy5K3fnVL76OqYAdc4TZEIw==",
|
|
"shasum": "9811a2f265dc1cd3894420ee3717064b632b8852",
|
|
"tarball": "https://registry.npmjs.org/escodegen/-/escodegen-1.9.0.tgz"
|
|
},
|
|
"engines": {
|
|
"node": ">=0.12.0"
|
|
},
|
|
"files": [
|
|
"LICENSE.BSD",
|
|
"LICENSE.source-map",
|
|
"README.md",
|
|
"bin",
|
|
"escodegen.js",
|
|
"package.json"
|
|
],
|
|
"gitHead": "ce726e9092acc6bf93693f1d03ca1eb4f119a0c2",
|
|
"homepage": "http://github.com/estools/escodegen",
|
|
"license": "BSD-2-Clause",
|
|
"main": "escodegen.js",
|
|
"maintainers": [
|
|
{
|
|
"name": "Yusuke Suzuki",
|
|
"email": "utatane.tea@gmail.com",
|
|
"url": "http://github.com/Constellation"
|
|
}
|
|
],
|
|
"name": "escodegen",
|
|
"optionalDependencies": {
|
|
"source-map": "~0.5.6"
|
|
},
|
|
"readme": "## Escodegen\n[![npm version](https://badge.fury.io/js/escodegen.svg)](http://badge.fury.io/js/escodegen)\n[![Build Status](https://secure.travis-ci.org/estools/escodegen.svg)](http://travis-ci.org/estools/escodegen)\n[![Dependency Status](https://david-dm.org/estools/escodegen.svg)](https://david-dm.org/estools/escodegen)\n[![devDependency Status](https://david-dm.org/estools/escodegen/dev-status.svg)](https://david-dm.org/estools/escodegen#info=devDependencies)\n\nEscodegen ([escodegen](http://github.com/estools/escodegen)) is an\n[ECMAScript](http://www.ecma-international.org/publications/standards/Ecma-262.htm)\n(also popularly known as [JavaScript](http://en.wikipedia.org/wiki/JavaScript))\ncode generator from [Mozilla's Parser API](https://developer.mozilla.org/en/SpiderMonkey/Parser_API)\nAST. See the [online generator](https://estools.github.io/escodegen/demo/index.html)\nfor a demo.\n\n\n### Install\n\nEscodegen can be used in a web browser:\n\n <script src=\"escodegen.browser.js\"></script>\n\nescodegen.browser.js can be found in tagged revisions on GitHub.\n\nOr in a Node.js application via npm:\n\n npm install escodegen\n\n### Usage\n\nA simple example: the program\n\n escodegen.generate({\n type: 'BinaryExpression',\n operator: '+',\n left: { type: 'Literal', value: 40 },\n right: { type: 'Literal', value: 2 }\n });\n\nproduces the string `'40 + 2'`.\n\nSee the [API page](https://github.com/estools/escodegen/wiki/API) for\noptions. To run the tests, execute `npm test` in the root directory.\n\n### Building browser bundle / minified browser bundle\n\nAt first, execute `npm install` to install the all dev dependencies.\nAfter that,\n\n npm run-script build\n\nwill generate `escodegen.browser.js`, which can be used in browser environments.\n\nAnd,\n\n npm run-script build-min\n\nwill generate the minified file `escodegen.browser.min.js`.\n\n### License\n\n#### Escodegen\n\nCopyright (C) 2012 [Yusuke Suzuki](http://github.com/Constellation)\n (twitter: [@Constellation](http://twitter.com/Constellation)) and other contributors.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n * Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n\n * Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in the\n documentation and/or other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY\nDIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\nON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF\nTHIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n#### source-map\n\nSourceNodeMocks has a limited interface of mozilla/source-map SourceNode implementations.\n\nCopyright (c) 2009-2011, Mozilla Foundation and contributors\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n\n* Neither the names of the Mozilla Foundation nor the names of project\n contributors may be used to endorse or promote products derived from this\n software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n",
|
|
"readmeFilename": "README.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+ssh://git@github.com/estools/escodegen.git"
|
|
},
|
|
"scripts": {
|
|
"build": "cjsify -a path: tools/entry-point.js > escodegen.browser.js",
|
|
"build-min": "cjsify -ma path: tools/entry-point.js > escodegen.browser.min.js",
|
|
"lint": "gulp lint",
|
|
"release": "node tools/release.js",
|
|
"test": "gulp travis",
|
|
"unit-test": "gulp test"
|
|
},
|
|
"version": "1.9.0"
|
|
}
|