forked from panaverse/learn-typescript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
48 lines (48 loc) · 2.78 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
"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",
"_shasum": "f9c9af5464afa1e7a971458a8bdef2aa94d5bb19",
"_resolved": "https://registry.npmjs.org/deprecated/-/deprecated-0.0.1.tgz",
"_from": "deprecated@>=0.0.1 <0.0.2"
}