Debian Codegraph @

workspaces/arborist/test/fixtures/registry-mocks/content/yargs-test-extends.json

raw
1 {
2 "_id": "yargs-test-extends",
3 "_rev": "2-674c538911b61db7fa3f9df39b0ec69d",
4 "name": "yargs-test-extends",
5 "description": "test yargs' extends functionality",
6 "dist-tags": {
7 "latest": "1.0.1"
8 },
9 "versions": {
10 "1.0.0": {
11 "name": "yargs-test-extends",
12 "version": "1.0.0",
13 "description": "test yargs' extends functionality",
14 "main": "index.json",
15 "scripts": {
16 "test": "echo \"Error: no test specified\" && exit 1"
17 },
18 "author": {
19 "name": "Ben Coe",
20 "email": "[email protected]"
21 },
22 "license": "ISC",
23 "_id": "[email protected]",
24 "_shasum": "a2261a84872aa5fb8391104860953074477f4188",
25 "_from": ".",
26 "_npmVersion": "4.2.0",
27 "_nodeVersion": "7.1.0",
28 "_npmUser": {
29 "name": "bcoe",
30 "email": "[email protected]"
31 },
32 "dist": {
33 "shasum": "a2261a84872aa5fb8391104860953074477f4188",
34 "tarball": "https://registry.npmjs.org/yargs-test-extends/-/yargs-test-extends-1.0.0.tgz"
35 },
36 "maintainers": [
37 {
38 "name": "bcoe",
39 "email": "[email protected]"
40 }
41 ],
42 "_npmOperationalInternal": {
43 "host": "packages-12-west.internal.npmjs.com",
44 "tmp": "tmp/yargs-test-extends-1.0.0.tgz_1493598104643_0.9411074831150472"
45 },
46 "directories": {}
47 },
48 "1.0.1": {
49 "name": "yargs-test-extends",
50 "version": "1.0.1",
51 "description": "test yargs' extends functionality",
52 "main": "index.json",
53 "scripts": {
54 "test": "echo \"Error: no test specified\" && exit 1"
55 },
56 "author": {
57 "name": "Ben Coe",
58 "email": "[email protected]"
59 },
60 "license": "ISC",
61 "_id": "[email protected]",
62 "_shasum": "de69f22d5264db48282c33692ab96cd8ee1cb819",
63 "_from": ".",
64 "_npmVersion": "4.2.0",
65 "_nodeVersion": "7.1.0",
66 "_npmUser": {
67 "name": "bcoe",
68 "email": "[email protected]"
69 },
70 "dist": {
71 "shasum": "de69f22d5264db48282c33692ab96cd8ee1cb819",
72 "tarball": "https://registry.npmjs.org/yargs-test-extends/-/yargs-test-extends-1.0.1.tgz"
73 },
74 "maintainers": [
75 {
76 "name": "bcoe",
77 "email": "[email protected]"
78 }
79 ],
80 "_npmOperationalInternal": {
81 "host": "packages-12-west.internal.npmjs.com",
82 "tmp": "tmp/yargs-test-extends-1.0.1.tgz_1493598493957_0.5522333197295666"
83 },
84 "directories": {}
85 }
86 },
87 "readme": "# yargs-test-extends\n\nUsed in the following unit test:\n\n```js\nit('allows a module to be extended, rather than a JSON file', () => {\n var argv = yargs()\n .config({\n a: 2,\n extends: 'yargs-test-extends'\n })\n .argv\n\n argv.a.should.equal(2)\n argv.c.should.equal(201)\n})\n```\n\nTo make sure that yargs can extend configuration from a module.\n\n## index.json\n\n```json\n{\n \"c\": 201\n}\n```\n\n## package.json\n\n```json\n{\n \"name\": \"yargs-test-extends\",\n \"version\": \"1.0.0\",\n \"description\": \"test yargs' extends functionality\",\n \"main\": \"index.json\",\n \"scripts\": {\n \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\"\n },\n \"author\": \"Ben Coe <[email protected]>\",\n \"license\": \"ISC\"\n}\n```\n",
88 "maintainers": [
89 {
90 "name": "bcoe",
91 "email": "[email protected]"
92 }
93 ],
94 "time": {
95 "modified": "2017-05-01T00:28:15.851Z",
96 "created": "2017-05-01T00:21:46.474Z",
97 "1.0.0": "2017-05-01T00:21:46.474Z",
98 "1.0.1": "2017-05-01T00:28:15.851Z"
99 },
100 "author": {
101 "name": "Ben Coe",
102 "email": "[email protected]"
103 },
104 "license": "ISC",
105 "readmeFilename": "README.md",
106 "_attachments": {}
107 }