GT2/GT2-Android/node_modules/convert-source-map/package.json

105 lines
7.1 KiB
JSON
Raw Normal View History

{
"_args": [
[
{
"raw": "convert-source-map@^1.5.0",
"scope": null,
"escapedName": "convert-source-map",
"name": "convert-source-map",
"rawSpec": "^1.5.0",
"spec": ">=1.5.0 <2.0.0",
"type": "range"
},
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/babel-core"
]
],
"_from": "convert-source-map@>=1.5.0 <2.0.0",
"_id": "convert-source-map@1.5.1",
"_inCache": true,
"_location": "/convert-source-map",
"_nodeVersion": "8.9.1",
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/convert-source-map-1.5.1.tgz_1511432397773_0.3238030842039734"
},
"_npmUser": {
"name": "thlorenz",
"email": "thlorenz@gmx.de"
},
"_npmVersion": "2.15.12",
"_phantomChildren": {},
"_requested": {
"raw": "convert-source-map@^1.5.0",
"scope": null,
"escapedName": "convert-source-map",
"name": "convert-source-map",
"rawSpec": "^1.5.0",
"spec": ">=1.5.0 <2.0.0",
"type": "range"
},
"_requiredBy": [
"/babel-core",
"/jest-runtime"
],
"_resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.5.1.tgz",
"_shasum": "b8278097b9bc229365de5c62cf5fcaed8b5599e5",
"_shrinkwrap": null,
"_spec": "convert-source-map@^1.5.0",
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/babel-core",
"author": {
"name": "Thorsten Lorenz",
"email": "thlorenz@gmx.de",
"url": "http://thlorenz.com"
},
"bugs": {
"url": "https://github.com/thlorenz/convert-source-map/issues"
},
"dependencies": {},
"description": "Converts a source-map from/to different formats and allows adding/changing properties.",
"devDependencies": {
"inline-source-map": "~0.6.2",
"tap": "~9.0.0"
},
"directories": {},
"dist": {
"shasum": "b8278097b9bc229365de5c62cf5fcaed8b5599e5",
"tarball": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.5.1.tgz"
},
"engine": {
"node": ">=0.6"
},
"files": [
"index.js"
],
"gitHead": "0771098071f3b7c48ec6604291cad28b3b679d02",
"homepage": "https://github.com/thlorenz/convert-source-map",
"keywords": [
"convert",
"sourcemap",
"source",
"map",
"browser",
"debug"
],
"license": "MIT",
"main": "index.js",
"maintainers": [
{
"name": "thlorenz",
"email": "thlorenz@gmx.de"
}
],
"name": "convert-source-map",
"optionalDependencies": {},
"readme": "# convert-source-map [![build status](https://secure.travis-ci.org/thlorenz/convert-source-map.png)](http://travis-ci.org/thlorenz/convert-source-map)\n\n[![NPM](https://nodei.co/npm/convert-source-map.png?downloads=true&stars=true)](https://nodei.co/npm/convert-source-map/)\n\nConverts a source-map from/to different formats and allows adding/changing properties.\n\n```js\nvar convert = require('convert-source-map');\n\nvar json = convert\n .fromComment('//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnVpbGQvZm9vLm1pbi5qcyIsInNvdXJjZXMiOlsic3JjL2Zvby5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSIsInNvdXJjZVJvb3QiOiIvIn0=')\n .toJSON();\n\nvar modified = convert\n .fromComment('//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnVpbGQvZm9vLm1pbi5qcyIsInNvdXJjZXMiOlsic3JjL2Zvby5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSIsInNvdXJjZVJvb3QiOiIvIn0=')\n .setProperty('sources', [ 'SRC/FOO.JS' ])\n .toJSON();\n\nconsole.log(json);\nconsole.log(modified);\n```\n\n```json\n{\"version\":3,\"file\":\"build/foo.min.js\",\"sources\":[\"src/foo.js\"],\"names\":[],\"mappings\":\"AAAA\",\"sourceRoot\":\"/\"}\n{\"version\":3,\"file\":\"build/foo.min.js\",\"sources\":[\"SRC/FOO.JS\"],\"names\":[],\"mappings\":\"AAAA\",\"sourceRoot\":\"/\"}\n```\n\n## API\n\n### fromObject(obj)\n\nReturns source map converter from given object.\n\n### fromJSON(json)\n\nReturns source map converter from given json string.\n\n### fromBase64(base64)\n\nReturns source map converter from given base64 encoded json string.\n\n### fromComment(comment)\n\nReturns source map converter from given base64 encoded json string prefixed with `//# sourceMappingURL=...`.\n\n### fromMapFileComment(comment, mapFileDir)\n\nReturns source map converter from given `filename` by parsing `//# sourceMappingURL=filename`.\n\n`filename` must point to a file that is found inside the `mapFileDir`. Most tools store this file right next to the\ngenerated file, i.e. the one containing the source map.\n\n### fromSource(source)\n\nFinds last sourcemap comment in file and returns source map converter or returns null if no source map comment was found.\n\n### fromMapFileSource(source, mapFileDir)\n\nFinds last sourcemap comment in file and returns source map converter or returns null if no source map comment was\nfound.\n\nThe sourcemap will be read from the map file found by parsing `# sourceMappingURL=file` comment. For more info see\nfromMapFileComment.\n\n### toObject()\n\nReturns a copy of the underlying source map.\n\n### toJSON([space])\n\nConverts source map to json string. If `space` is given (optional), this will be passed to\n[JSON.stringify](https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/JSON/stringify) when the\nJSON string is generated.\n\n### toBase64()\n\nConverts source map to base64 encoded json string.\n\n### toComment([options])\n\nConverts source map to an inline comment that can be appended to the source-file.\n\nBy default, the comment is formatted like: `//# sourceMappingURL=...`, which you would\nnormally see in a JS source file.\n\nWhen `options.multiline == true`, the comment is formatted like: `/*# sourceMappingURL=... */`, which you would find in a CSS source file.\n\n### addProperty(key, value)\n\nAdds given property to the source map. Throws an error if property already exists.\n\n### setProperty(key, value)\n\nSets given property to the source map. If property doesn't exist it is added, otherwise its value is updated.\n\n### getProperty(key)\n\nGets given property of the source map.\n\n### removeComments(src)\n\nReturns `src` with all source map comments removed\n\n### removeMapFileComments(src)\n\nReturns `src` with all source map comments pointing to map files removed.\n\n### commentRegex\n\nProvides __a fresh__ RegExp each time it is accessed. Can be used to find source map comments.\n\n### mapFileCommentRegex\n\nProvides __a fresh__ RegExp each time it is accessed. Can be used to find source map comments pointing to map files.\n\n### generateMapFileCom
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git://github.com/thlorenz/convert-source-map.git"
},
"scripts": {
"test": "tap test/*.js --color"
},
"version": "1.5.1"
}