mirror of
https://github.com/KevinMidboe/zoff.git
synced 2026-01-01 07:06:17 +00:00
47 lines
2.6 KiB
JSON
Executable File
47 lines
2.6 KiB
JSON
Executable File
{
|
|
"name": "deprecated",
|
|
"description": "Tool for deprecating things",
|
|
"version": "0.0.1",
|
|
"homepage": "http://github.com/wearefractal/deprecated",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/wearefractal/deprecated.git"
|
|
},
|
|
"author": {
|
|
"name": "Fractal",
|
|
"email": "contact@wearefractal.com",
|
|
"url": "http://wearefractal.com/"
|
|
},
|
|
"main": "./index.js",
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"mocha": "~1.17.0",
|
|
"should": "~3.1.0",
|
|
"mocha-lcov-reporter": "~0.0.1",
|
|
"coveralls": "~2.6.1",
|
|
"istanbul": "~0.2.3",
|
|
"rimraf": "~2.2.5",
|
|
"jshint": "~2.4.1"
|
|
},
|
|
"scripts": {
|
|
"test": "mocha --reporter spec && jshint",
|
|
"coveralls": "istanbul cover _mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage"
|
|
},
|
|
"engines": {
|
|
"node": ">= 0.9"
|
|
},
|
|
"licenses": [
|
|
{
|
|
"type": "MIT",
|
|
"url": "http://github.com/wearefractal/deprecated/raw/master/LICENSE"
|
|
}
|
|
],
|
|
"readme": "# deprecated [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coveralls Status][coveralls-image]][coveralls-url] [![Dependency Status][david-image]][david-url]\n\n\n## Information\n\n<table>\n<tr> \n<td>Package</td><td>deprecated</td>\n</tr>\n<tr>\n<td>Description</td>\n<td>Tool for deprecating things</td>\n</tr>\n<tr>\n<td>Node Version</td>\n<td>>= 0.9</td>\n</tr>\n</table>\n\n## Usage\n\n```javascript\nvar oldfn = function(a,b) {\n return a+b;\n};\n\n// returns a new wrapper function that logs the deprecated function once\nvar somefn = deprecated('dont use this anymore', console.log, oldfn);\n\nvar someobj = {};\n\n// set up a getter/set for field that logs deprecated message once\ndeprecated('dont use this anymore', console.log, someobj, 'a', 123);\n\nconsole.log(someobj.a); // 123\n```\n\n[npm-url]: https://npmjs.org/package/deprecated\n[npm-image]: https://badge.fury.io/js/deprecated.png\n\n[travis-url]: https://travis-ci.org/wearefractal/deprecated\n[travis-image]: https://travis-ci.org/wearefractal/deprecated.png?branch=master\n\n[coveralls-url]: https://coveralls.io/r/wearefractal/deprecated\n[coveralls-image]: https://coveralls.io/repos/wearefractal/deprecated/badge.png\n\n[depstat-url]: https://david-dm.org/wearefractal/deprecated\n[depstat-image]: https://david-dm.org/wearefractal/deprecated.png\n\n[david-url]: https://david-dm.org/wearefractal/deprecated\n[david-image]: https://david-dm.org/wearefractal/deprecated.png?theme=shields.io",
|
|
"readmeFilename": "README.md",
|
|
"bugs": {
|
|
"url": "https://github.com/wearefractal/deprecated/issues"
|
|
},
|
|
"_id": "deprecated@0.0.1",
|
|
"_from": "deprecated@^0.0.1"
|
|
}
|