GT2/GT2-Android/node_modules/decache/package.json

109 lines
4.9 KiB
JSON
Raw Normal View History

{
"_args": [
[
{
"raw": "decache@^4.1.0",
"scope": null,
"escapedName": "decache",
"name": "decache",
"rawSpec": "^4.1.0",
"spec": ">=4.1.0 <5.0.0",
"type": "range"
},
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/xdl"
]
],
"_from": "decache@>=4.1.0 <5.0.0",
"_id": "decache@4.4.0",
"_inCache": true,
"_location": "/decache",
"_nodeVersion": "6.11.4",
"_npmOperationalInternal": {
"host": "s3://npm-registry-packages",
"tmp": "tmp/decache-4.4.0.tgz_1517558807625_0.8911363629158586"
},
"_npmUser": {
"name": "nelsonic",
"email": "contact.nelsonic@gmail.com"
},
"_npmVersion": "3.10.10",
"_phantomChildren": {},
"_requested": {
"raw": "decache@^4.1.0",
"scope": null,
"escapedName": "decache",
"name": "decache",
"rawSpec": "^4.1.0",
"spec": ">=4.1.0 <5.0.0",
"type": "range"
},
"_requiredBy": [
"/xdl"
],
"_resolved": "https://registry.npmjs.org/decache/-/decache-4.4.0.tgz",
"_shasum": "6f6df6b85d7e7c4410a932ffc26489b78e9acd13",
"_shrinkwrap": null,
"_spec": "decache@^4.1.0",
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/xdl",
"author": {
"name": "@besarthoxhaj, @jupiter & @nelsonic",
"url": "with help from StackOverflow"
},
"bugs": {
"url": "https://github.com/dwyl/decache/issues"
},
"dependencies": {
"callsite": "^1.0.0"
},
"description": "decache (Delete Cache) lets you delete modules from node.js require() cache; useful when testing your modules/projects.",
"devDependencies": {
"istanbul": "^0.4.4",
"modern-syslog": "~1.1.4",
"pre-commit": "^1.1.3",
"tap-spec": "^4.1.1",
"tape": "^4.6.0"
},
"directories": {
"test": "test"
},
"dist": {
"shasum": "6f6df6b85d7e7c4410a932ffc26489b78e9acd13",
"tarball": "https://registry.npmjs.org/decache/-/decache-4.4.0.tgz"
},
"gitHead": "4de8633cd6a47831df1b43f0affbc851ca7a114a",
"homepage": "https://github.com/dwyl/decache#readme",
"keywords": [
"delete",
"node.js",
"require",
"cache",
"uncache",
"un-require"
],
"license": "MIT",
"main": "decache.js",
"maintainers": [
{
"name": "nelsonic",
"email": "contact.nelsonic@gmail.com"
}
],
"name": "decache",
"optionalDependencies": {},
"pre-commit": [
"coverage"
],
"readme": "# decache\n\n[![Build Status](https://travis-ci.org/dwyl/decache.svg)](https://travis-ci.org/dwyl/decache)\n[![codecov.io](https://codecov.io/github/dwyl/decache/coverage.svg?branch=master)](https://codecov.io/github/dwyl/decache?branch=master)\n[![Code Climate](https://codeclimate.com/github/dwyl/decache/badges/gpa.svg)](https://codeclimate.com/github/dwyl/decache)\n[![Dependency Status](https://david-dm.org/dwyl/decache.svg)](https://david-dm.org/dwyl/decache)\n[![devDependency Status](https://david-dm.org/dwyl/decache/dev-status.svg)](https://david-dm.org/dwyl/decache#info=devDependencies)\n\nIn node.js when you `require()` a module, node stores a cached version of the\nmodule, so that all subsequent calls to `require()` do not have to reload\nthe module from the filesystem.\n\n`decache` ( _**De**lete **Cache**_ ) lets you delete modules from node.js `require()` cache\nthis is useful when _**testing**_ your modules/projects.\n\n## Why?\n\nWhen testing our modules we often need to re-require the module being tested.\nThis makes it easy.\n\n## What?\n\nAn easy way to delete a cached module.\n\n## How? (_usage_)\n\n### install\n\nInstall the module from npm:\n\n```sh\nnpm install decache --save-dev\n```\n\n### Use it in your code:\n\n```js\n// require the decache module:\nvar decache = require('decache');\n\n// require a module that you wrote\"\nvar mymod = require('./mymodule.js');\n\n// use your module the way you need to:\nconsole.log(mymod.count()); // 0 (the initial state for our counter is zero)\nconsole.log(mymod.incrementRunCount()); // 1\n\n// delete the cached module:\ndecache('./mymodule.js');\n\n//\nmymod = require('./mymodule.js'); // fresh start\nconsole.log(mymod.count()); // 0 (back to initial state ... zero)\n```\n\nModules other than `.js`, like for example, `.jsx`, are supported as well.\n\nNote that native modules with the `.node` extension are ignored from decaching because\nthey behave unexpectedly when decached.\n\nIf you have any questions or need more examples, please create a GitHub issue:\nhttps://github.com/nelsonic/decache/issues\n\n***Thanks***!\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/dwyl/decache.git"
},
"scripts": {
"coverage": "istanbul cover ./node_modules/tape/bin/tape ./test/*.js && ./node_modules/.bin/istanbul check-coverage --statements 100 --functions 100 --lines 100 --branches 100",
"nocov": "./node_modules/tape/bin/tape ./test/test.js",
"test": "istanbul cover ./node_modules/tape/bin/tape ./test/*.js"
},
"version": "4.4.0"
}