-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
90 lines (90 loc) · 3.56 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"_args": [
[
{
"raw": "load-json-file@https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz",
"scope": null,
"escapedName": "load-json-file",
"name": "load-json-file",
"rawSpec": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz",
"spec": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz",
"type": "remote"
},
"/Users/jennyphan/AngularToolingSamples/Angular4/aboutMe-app/functions/node_modules/firebase-admin"
]
],
"_from": "load-json-file@https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz",
"_id": "load-json-file@2.0.0",
"_inCache": true,
"_location": "/firebase-admin/load-json-file",
"_phantomChildren": {},
"_requested": {
"raw": "load-json-file@https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz",
"scope": null,
"escapedName": "load-json-file",
"name": "load-json-file",
"rawSpec": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz",
"spec": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz",
"type": "remote"
},
"_requiredBy": [
"/firebase-admin",
"/firebase-admin/read-pkg"
],
"_resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz",
"_shasum": "7947e42149af80d696cbf797bcaabcfe1fe29ca8",
"_shrinkwrap": null,
"_spec": "load-json-file@https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz",
"_where": "/Users/jennyphan/AngularToolingSamples/Angular4/aboutMe-app/functions/node_modules/firebase-admin",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
"bugs": {
"url": "https://github.com/sindresorhus/load-json-file/issues"
},
"dependencies": {
"graceful-fs": "^4.1.2",
"parse-json": "^2.2.0",
"pify": "^2.0.0",
"strip-bom": "^3.0.0"
},
"description": "Read and parse a JSON file",
"devDependencies": {
"ava": "*",
"xo": "*"
},
"engines": {
"node": ">=4"
},
"files": [
"index.js"
],
"homepage": "https://github.com/sindresorhus/load-json-file#readme",
"keywords": [
"read",
"json",
"parse",
"file",
"fs",
"graceful",
"load"
],
"license": "MIT",
"name": "load-json-file",
"optionalDependencies": {},
"readme": "# load-json-file [![Build Status](https://travis-ci.org/sindresorhus/load-json-file.svg?branch=master)](https://travis-ci.org/sindresorhus/load-json-file)\n\n> Read and parse a JSON file\n\n[Strips UTF-8 BOM](https://github.com/sindresorhus/strip-bom), uses [`graceful-fs`](https://github.com/isaacs/node-graceful-fs), and throws more [helpful JSON errors](https://github.com/sindresorhus/parse-json).\n\n\n## Install\n\n```\n$ npm install --save load-json-file\n```\n\n\n## Usage\n\n```js\nconst loadJsonFile = require('load-json-file');\n\nloadJsonFile('foo.json').then(json => {\n\tconsole.log(json);\n\t//=> {foo: true}\n});\n```\n\n\n## API\n\n### loadJsonFile(filepath)\n\nReturns a promise for the parsed JSON.\n\n### loadJsonFile.sync(filepath)\n\nReturns the parsed JSON.\n\n\n## Related\n\n- [write-json-file](https://github.com/sindresorhus/write-json-file) - Stringify and write JSON to a file atomically\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n",
"readmeFilename": "readme.md",
"repository": {
"type": "git",
"url": "git+https://github.com/sindresorhus/load-json-file.git"
},
"scripts": {
"test": "xo && ava"
},
"version": "2.0.0",
"xo": {
"esnext": true
}
}