UNPKG

layaair2-cmd

Version:

layaair version 2 toolkit

265 lines (264 loc) 12.8 kB
{ "_args": [ [ { "raw": "resolve@^1.1.7", "scope": null, "escapedName": "resolve", "name": "resolve", "rawSpec": "^1.1.7", "spec": ">=1.1.7 <2.0.0", "type": "range" }, "E:\\Mine\\Project\\git\\laya\\dawawa\\layaairdoc_cmd\\node_modules\\liftoff" ] ], "_from": "resolve@^1.1.7", "_hasShrinkwrap": false, "_id": "resolve@1.9.0", "_location": "/resolve", "_nodeVersion": "11.4.0", "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/resolve_1.9.0_1545034604491_0.19497105893164424" }, "_npmUser": { "name": "ljharb", "email": "ljharb@gmail.com" }, "_npmVersion": "6.4.1", "_phantomChildren": {}, "_requested": { "raw": "resolve@^1.1.7", "scope": null, "escapedName": "resolve", "name": "resolve", "rawSpec": "^1.1.7", "spec": ">=1.1.7 <2.0.0", "type": "range" }, "_requiredBy": [ "/liftoff", "/rechoir" ], "_resolved": "https://registry.npmjs.org/resolve/-/resolve-1.9.0.tgz", "_shasum": "a14c6fdfa8f92a7df1d996cb7105fa744658ea06", "_shrinkwrap": null, "_spec": "resolve@^1.1.7", "_where": "E:\\Mine\\Project\\git\\laya\\dawawa\\layaairdoc_cmd\\node_modules\\liftoff", "author": { "name": "James Halliday", "email": "mail@substack.net", "url": "http://substack.net" }, "bugs": { "url": "https://github.com/browserify/resolve/issues" }, "dependencies": { "path-parse": "^1.0.6" }, "description": "resolve like require.resolve() on behalf of files asynchronously and synchronously", "devDependencies": { "@ljharb/eslint-config": "^13.0.0", "eslint": "^5.10.0", "object-keys": "^1.0.12", "safe-publish-latest": "^1.1.2", "tap": "0.4.13", "tape": "^4.9.1" }, "directories": {}, "dist": { "integrity": "sha512-TZNye00tI67lwYvzxCxHGjwTNlUV70io54/Ed4j6PscB8xVfuBJpRenI/o6dVk0cY0PYTY27AgCoGGxRnYuItQ==", "shasum": "a14c6fdfa8f92a7df1d996cb7105fa744658ea06", "tarball": "https://registry.npmjs.org/resolve/-/resolve-1.9.0.tgz", "fileCount": 85, "unpackedSize": 99138, "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcF1ttCRA9TVsSAnZWagAAQEYP/236JOC06weZ/2MfdHCS\newewF6EL+Jp8faKj9MoMCa26Thc92ZrSIgTTWoKQghOxeH8s3487QW4UtnU4\nj3foDqeUAWyPEqJjNK13XoljsDNReB+7lQawuWtwLdVVNdU1BbTzCJjBRe9M\n3MlRSOA9E+rlGZz4EgCehfqKX/3LxEt1lOV5aaM9QzjMyEXdEpOkd+0hV+rI\nV23SWK2a678k9cXvQjyJ9s4WJk9RQ0rNdf0NrckDGDKRQFnMcpzboVe398hk\n/I8T5+9mQogJ1j9Wo7lPyKIsEidM5eU7gpPUK9Y2ocWdlHTu4044j2S9fo+3\nic0TCiZALZVEztfVfQ8VEVEMZEfEO/DmjCJcL2FvDXl3lFHjOBzoaf+JUsc3\nEGyP+11QWF+EyeHPAoknZevWaG1QLbTFsYDt5qkKrkJMwpLHMFmpjU+GT424\nTyLxyN4gu+wVnvH0636kvDcXlZF/p2UrZtBJ3rhsoYVmMaQjMXltqUWwq+ZD\nEmPEUUGvyzZUhd52VMPlbeK/W3VvgiICJdBm0CRN1DBDXszcwG2Q4eLbdqCN\ncEzhtUQMIqggi9KNEmzqGj7/DwKfzIDw4Rd/CrODGtVBiV9HnMSDQ4KUYLh0\n08n7EPVkT6CjqGs6hS6ggS+FX/zqgAhSh/3VgxO5CPkyqJsNg2HpGkCZt6oU\ndbVl\r\n=VxWM\r\n-----END PGP SIGNATURE-----\r\n" }, "gitHead": "254bb4029df2f8d20a33043dfabd8e5cabfa37df", "homepage": "https://github.com/browserify/resolve#readme", "keywords": [ "resolve", "require", "node", "module" ], "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": "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": "renee@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": "ljharb", "email": "ljharb@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": "resolve", "optionalDependencies": {}, "readme": "# resolve\n\nimplements the [node `require.resolve()`\nalgorithm](https://nodejs.org/api/modules.html#modules_all_together)\nsuch that you can `require.resolve()` on behalf of a file asynchronously and\nsynchronously\n\n[![build status](https://secure.travis-ci.org/browserify/node-resolve.png)](http://travis-ci.org/browserify/node-resolve)\n\n# example\n\nasynchronously resolve:\n\n```js\nvar resolve = require('resolve');\nresolve('tap', { basedir: __dirname }, function (err, res) {\n if (err) console.error(err);\n else console.log(res);\n});\n```\n\n```\n$ node example/async.js\n/home/substack/projects/node-resolve/node_modules/tap/lib/main.js\n```\n\nsynchronously resolve:\n\n```js\nvar resolve = require('resolve');\nvar res = resolve.sync('tap', { basedir: __dirname });\nconsole.log(res);\n```\n\n```\n$ node example/sync.js\n/home/substack/projects/node-resolve/node_modules/tap/lib/main.js\n```\n\n# methods\n\n```js\nvar resolve = require('resolve');\n```\n\n## resolve(id, opts={}, cb)\n\nAsynchronously resolve the module path string `id` into `cb(err, res [, pkg])`, where `pkg` (if defined) is the data from `package.json`.\n\noptions are:\n\n* opts.basedir - directory to begin resolving from\n\n* opts.package - `package.json` data applicable to the module being loaded\n\n* opts.extensions - array of file extensions to search in order\n\n* opts.readFile - how to read files asynchronously\n\n* opts.isFile - function to asynchronously test whether a file exists\n\n* `opts.packageFilter(pkg, pkgfile)` - transform the parsed package.json contents before looking at the \"main\" field\n * pkg - package data\n * pkgfile - path to package.json\n\n* `opts.pathFilter(pkg, path, relativePath)` - transform a path within a package\n * pkg - package data\n * path - the path being resolved\n * relativePath - the path relative from the package.json location\n * returns - a relative path that will be joined from the package.json location\n\n* opts.paths - require.paths array to use if nothing is found on the normal `node_modules` recursive walk (probably don't use this)\n\n For advanced users, `paths` can also be a `opts.paths(request, start, opts)` function\n * request - the import specifier being resolved\n * start - lookup path\n * getNodeModulesDirs - a thunk (no-argument function) that returns the paths using standard `node_modules` resolution\n * opts - the resolution options\n\n* opts.moduleDirectory - directory (or directories) in which to recursively look for modules. default: `\"node_modules\"`\n\n* opts.preserveSymlinks - if true, doesn't resolve `basedir` to real path before resolving.\nThis is the way Node resolves dependencies when executed with the [--preserve-symlinks](https://nodejs.org/api/all.html#cli_preserve_symlinks) flag.\n**Note:** this property is currently `true` by default but it will be changed to\n`false` in the next major version because *Node's resolution algorithm does not preserve symlinks by default*.\n\ndefault `opts` values:\n\n```js\n{\n paths: [],\n basedir: __dirname,\n extensions: ['.js'],\n readFile: fs.readFile,\n isFile: function isFile(file, cb) {\n fs.stat(file, function (err, stat) {\n if (!err) {\n return cb(null, stat.isFile() || stat.isFIFO());\n }\n if (err.code === 'ENOENT' || err.code === 'ENOTDIR') return cb(null, false);\n return cb(err);\n });\n },\n moduleDirectory: 'node_modules',\n preserveSymlinks: true\n}\n```\n\n## resolve.sync(id, opts)\n\nSynchronously resolve the module path string `id`, returning the result and\nthrowing an error when `id` can't be resolved.\n\noptions are:\n\n* opts.basedir - directory to begin resolving from\n\n* opts.extensions - array of file extensions to search in order\n\n* opts.readFile - how to read files synchronously\n\n* opts.isFile - function to synchronously test whether a file exists\n\n* `opts.packageFilter(pkg, dir)` - transform the parsed package.json contents before looking at the \"main\" field\n * pkg - package data\n * dir - directory for package.json (Note: the second argument will change to \"pkgfile\" in v2)\n\n* `opts.pathFilter(pkg, path, relativePath)` - transform a path within a package\n * pkg - package data\n * path - the path being resolved\n * relativePath - the path relative from the package.json location\n * returns - a relative path that will be joined from the package.json location\n\n* opts.paths - require.paths array to use if nothing is found on the normal `node_modules` recursive walk (probably don't use this)\n\n* opts.moduleDirectory - directory (or directories) in which to recursively look for modules. default: `\"node_modules\"`\n\n* opts.preserveSymlinks - if true, doesn't resolve `basedir` to real path before resolving.\nThis is the way Node resolves dependencies when executed with the [--preserve-symlinks](https://nodejs.org/api/all.html#cli_preserve_symlinks) flag.\n**Note:** this property is currently `true` by default but it will be changed to\n`false` in the next major version because *Node's resolution algorithm does not preserve symlinks by default*.\n\ndefault `opts` values:\n\n```js\n{\n paths: [],\n basedir: __dirname,\n extensions: ['.js'],\n readFileSync: fs.readFileSync,\n isFile: function isFile(file) {\n try {\n var stat = fs.statSync(file);\n } catch (e) {\n if (e && (e.code === 'ENOENT' || e.code === 'ENOTDIR')) return false;\n throw e;\n }\n return stat.isFile() || stat.isFIFO();\n },\n moduleDirectory: 'node_modules',\n preserveSymlinks: true\n}\n```\n\n## resolve.isCore(pkg)\n\nReturn whether a package is in core.\n\n# install\n\nWith [npm](https://npmjs.org) do:\n\n```sh\nnpm install resolve\n```\n\n# license\n\nMIT\n", "readmeFilename": "readme.markdown", "repository": { "type": "git", "url": "git://github.com/browserify/resolve.git" }, "scripts": { "lint": "eslint .", "posttest": "npm run test:multirepo", "prepublish": "safe-publish-latest", "pretest": "npm run lint", "test": "npm run --silent tests-only", "test:multirepo": "cd ./test/resolver/multirepo && npm install && npm test", "tests-only": "tape test/*.js" }, "version": "1.9.0" }