layaair2-cmd
Version:
layaair version 2 toolkit
283 lines (282 loc) • 9.36 kB
JSON
{
"_args": [
[
{
"raw": "browser-pack@^6.0.1",
"scope": null,
"escapedName": "browser-pack",
"name": "browser-pack",
"rawSpec": "^6.0.1",
"spec": ">=6.0.1 <7.0.0",
"type": "range"
},
"E:\\Mine\\Project\\git\\laya\\dawawa\\layaairdoc_cmd\\node_modules\\browserify"
]
],
"_from": "browser-pack@^6.0.1",
"_hasShrinkwrap": false,
"_id": "browser-pack@6.1.0",
"_location": "/browser-pack",
"_nodeVersion": "9.9.0",
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/browser-pack_6.1.0_1522396714483_0.09318723622067338"
},
"_npmUser": {
"name": "goto-bus-stop",
"email": "rene@kooi.me"
},
"_npmVersion": "5.8.0",
"_phantomChildren": {},
"_requested": {
"raw": "browser-pack@^6.0.1",
"scope": null,
"escapedName": "browser-pack",
"name": "browser-pack",
"rawSpec": "^6.0.1",
"spec": ">=6.0.1 <7.0.0",
"type": "range"
},
"_requiredBy": [
"/browserify"
],
"_resolved": "https://registry.npmjs.org/browser-pack/-/browser-pack-6.1.0.tgz",
"_shasum": "c34ba10d0b9ce162b5af227c7131c92c2ecd5774",
"_shrinkwrap": null,
"_spec": "browser-pack@^6.0.1",
"_where": "E:\\Mine\\Project\\git\\laya\\dawawa\\layaairdoc_cmd\\node_modules\\browserify",
"author": {
"name": "James Halliday",
"email": "mail@substack.net",
"url": "http://substack.net"
},
"bin": {
"browser-pack": "bin/cmd.js"
},
"bugs": {
"url": "https://github.com/browserify/browser-pack/issues"
},
"dependencies": {
"JSONStream": "^1.0.3",
"combine-source-map": "~0.8.0",
"defined": "^1.0.0",
"safe-buffer": "^5.1.1",
"through2": "^2.0.0",
"umd": "^3.0.0"
},
"description": "pack node-style source files from a json stream into a browser bundle",
"devDependencies": {
"concat-stream": "~1.5.1",
"convert-source-map": "~1.1.0",
"parse-base64vlq-mappings": "~0.1.1",
"tap": "^10.7.2",
"uglify-js": "^2.8.29"
},
"directories": {},
"dist": {
"integrity": "sha512-erYug8XoqzU3IfcU8fUgyHqyOXqIE4tUTTQ+7mqUjQlvnXkOO6OlT9c/ZoJVHYoAaqGxr09CN53G7XIsO4KtWA==",
"shasum": "c34ba10d0b9ce162b5af227c7131c92c2ecd5774",
"tarball": "https://registry.npmjs.org/browser-pack/-/browser-pack-6.1.0.tgz",
"fileCount": 25,
"unpackedSize": 29953
},
"gitHead": "e5ca7eb5053a4fc6c7b198e1ac831e7f9c3b44d6",
"homepage": "https://github.com/browserify/browser-pack",
"keywords": [
"browser",
"bundle",
"commonjs",
"commonj-esque",
"exports",
"module.exports",
"require"
],
"license": "MIT",
"main": "index.js",
"maintainers": [
{
"name": "ahdinosaur",
"email": "michael.williams@enspiral.com"
},
{
"name": "anandthakker",
"email": "vestibule@anandthakker.net"
},
{
"name": "ashaffer88",
"email": "darawk@gmail.com"
},
{
"name": "balupton",
"email": "b@lupton.cc"
},
{
"name": "bpostlethwaite",
"email": "post.ben.here@gmail.com"
},
{
"name": "bret",
"email": "bcomnes@gmail.com"
},
{
"name": "cwmma",
"email": "calvin.metcalf@gmail.com"
},
{
"name": "dcousens",
"email": "npm@dcousens.com"
},
{
"name": "dominictarr",
"email": "dominic.tarr@gmail.com"
},
{
"name": "elnounch",
"email": "contact@elnounch.net"
},
{
"name": "emilbayes",
"email": "github@tixz.dk"
},
{
"name": "feross",
"email": "feross@feross.org"
},
{
"name": "forbeslindesay",
"email": "forbes@lindesay.co.uk"
},
{
"name": "fpereira1",
"email": "pereira.filype@gmail.com"
},
{
"name": "garann",
"email": "garann@gmail.com"
},
{
"name": "gkatsev",
"email": "me@gkatsev.com"
},
{
"name": "goto-bus-stop",
"email": "rene@kooi.me"
},
{
"name": "hughsk",
"email": "hughskennedy@gmail.com"
},
{
"name": "indutny",
"email": "fedor@indutny.com"
},
{
"name": "jmm",
"email": "npm-public@jessemccarthy.net"
},
{
"name": "jprichardson",
"email": "jprichardson@gmail.com"
},
{
"name": "jryans",
"email": "jryans@gmail.com"
},
{
"name": "leichtgewicht",
"email": "martin.heidegger@gmail.com"
},
{
"name": "mafintosh",
"email": "mathiasbuus@gmail.com"
},
{
"name": "mattdesl",
"email": "dave.des@gmail.com"
},
{
"name": "maxogden",
"email": "max@maxogden.com"
},
{
"name": "mellowmelon",
"email": "palmermebane@gmail.com"
},
{
"name": "parshap",
"email": "parshap+npm@gmail.com"
},
{
"name": "pkrumins",
"email": "peteris.krumins@gmail.com"
},
{
"name": "sethvincent",
"email": "sethvincent@gmail.com"
},
{
"name": "stevemao",
"email": "maochenyan@gmail.com"
},
{
"name": "substack",
"email": "substack@gmail.com"
},
{
"name": "tehshrike",
"email": "me@JoshDuff.com"
},
{
"name": "terinjokes",
"email": "terinjokes@gmail.com"
},
{
"name": "thlorenz",
"email": "thlorenz@gmx.de"
},
{
"name": "ungoldman",
"email": "ungoldman@gmail.com"
},
{
"name": "yerkopalma",
"email": "yerko.palma@usach.cl"
},
{
"name": "yoshuawuyts",
"email": "yoshuawuyts@gmail.com"
},
{
"name": "zertosh",
"email": "zertosh@gmail.com"
}
],
"name": "browser-pack",
"optionalDependencies": {},
"readme": "# browser-pack\n\npack node-style source files from a json stream into a browser bundle\n\n[](http://travis-ci.org/browserify/browser-pack)\n\n# example\n\njson input:\n\n``` json\n[\n {\n \"id\": \"a1b5af78\",\n \"source\": \"console.log(require('./foo')(5))\",\n \"deps\": { \"./foo\": \"b8f69fa5\" },\n \"entry\": true\n },\n {\n \"id\": \"b8f69fa5\",\n \"source\": \"module.exports = function (n) { return n * 111 }\",\n \"deps\": {}\n }\n]\n```\n\nbundle script:\n\n``` js\nvar pack = require('browser-pack')();\nprocess.stdin.pipe(pack).pipe(process.stdout);\nprocess.stdin.resume();\n```\n\noutput:\n\n```\n$ browser-pack < input.json\n(function(p,c,e){function r(n){if(!c[n]){c[n]={exports:{}};p[n][0](function(x){return r(p[n][1][x])},c[n],c[n].exports);}return c[n].exports}for(var i=0;i<e.length;i++)r(e[i]);return r})({\"a1b5af78\":[function(require,module,exports){console.log(require('./foo')(5))},{\"./foo\":\"b8f69fa5\"}],\"b8f69fa5\":[function(require,module,exports){module.exports = function (n) { return n * 111 }},{}]},{},[\"a1b5af78\",\"b8f69fa5\"])\n```\n\n# methods\n\n``` js\nvar pack = require('browser-pack');\n```\n\n## pack(opts)\n\nReturn a through stream that takes a stream of json input and produces a stream\nof javascript output. This module does not export its internal `require()`\nfunction but you can prepend `'var require='` to the stream contents to get the\nrequire function. `require()` will return `undefined` when a module hasn't been\ndefined to support splitting up modules across several bundles with custom\nfallback logic.\n\nIf `opts.raw` is given, the writable end of the stream will expect objects to be\nwritten to it instead of expecting a stream of json text it will need to parse.\n\nIf `opts.sourceMapPrefix` is given and source maps are computed, the\n`opts.sourceMapPrefix` string will be used instead of `//#`.\n\nIf `opts.sourceRoot` is given and source maps are computed, the root for the\noutput source map will be defined. (default is no root)\n\nAdditionally, rows with a truthy `entry` may have an `order` field that\ndetermines the numeric index to execute the entries in.\n\nYou can specify a custom prelude with `opts.prelude` but you should really know\nwhat you're doing first. See the `prelude.js` file in this repo for the default\nprelude. If you specify a custom prelude, you must also specify a valid\n`opts.preludePath` to the prelude source file for sourcemaps to work.\n\n`opts.standalone` external string name to use for umd\n\n`opts.standaloneModule` sets the internal module name to export for standalone\n\n`opts.hasExports` whether the bundle should include `require=` (or the\n`opts.externalRequireName`) so that `require()` is available outside the bundle\n\n# install\n\nWith [npm](https://npmjs.org), to get the library do:\n\n```\nnpm install browser-pack\n```\n\nand to get the command-line tool do:\n\n```\nnpm install -g browser-pack\n```\n\n# license\n\nMIT\n",
"readmeFilename": "readme.markdown",
"repository": {
"type": "git",
"url": "git://github.com/browserify/browser-pack.git"
},
"scripts": {
"prepublish": "node bin/prepublish.js",
"test": "tap test/*.js"
},
"testling": {
"files": "test/*.js",
"browsers": [
"ie/8",
"ie/9",
"ie/10",
"chrome/15",
"chrome/latest",
"firefox/10",
"firefox/latest",
"safari/latest",
"opera/10",
"opera/latest"
]
},
"version": "6.1.0"
}