-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
101 lines (101 loc) · 5.2 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
91
92
93
94
95
96
97
98
99
100
101
{
"_args": [
[
{
"raw": "make-dir@https://registry.npmjs.org/make-dir/-/make-dir-1.1.0.tgz",
"scope": null,
"escapedName": "make-dir",
"name": "make-dir",
"rawSpec": "https://registry.npmjs.org/make-dir/-/make-dir-1.1.0.tgz",
"spec": "https://registry.npmjs.org/make-dir/-/make-dir-1.1.0.tgz",
"type": "remote"
},
"/Users/jennyphan/AngularToolingSamples/Angular4/aboutMe-app/functions/node_modules/firebase-admin"
]
],
"_from": "make-dir@https://registry.npmjs.org/make-dir/-/make-dir-1.1.0.tgz",
"_id": "make-dir@1.1.0",
"_inCache": true,
"_location": "/firebase-admin/make-dir",
"_phantomChildren": {},
"_requested": {
"raw": "make-dir@https://registry.npmjs.org/make-dir/-/make-dir-1.1.0.tgz",
"scope": null,
"escapedName": "make-dir",
"name": "make-dir",
"rawSpec": "https://registry.npmjs.org/make-dir/-/make-dir-1.1.0.tgz",
"spec": "https://registry.npmjs.org/make-dir/-/make-dir-1.1.0.tgz",
"type": "remote"
},
"_requiredBy": [
"/firebase-admin",
"/firebase-admin/configstore"
],
"_resolved": "https://registry.npmjs.org/make-dir/-/make-dir-1.1.0.tgz",
"_shasum": "19b4369fe48c116f53c2af95ad102c0e39e85d51",
"_shrinkwrap": null,
"_spec": "make-dir@https://registry.npmjs.org/make-dir/-/make-dir-1.1.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/make-dir/issues"
},
"dependencies": {
"pify": "^3.0.0"
},
"description": "Make a directory and its parents if needed - Think `mkdir -p`",
"devDependencies": {
"ava": "*",
"codecov": "^2.1.0",
"graceful-fs": "^4.1.11",
"nyc": "^10.2.0",
"path-type": "^3.0.0",
"tempy": "^0.2.1",
"xo": "*"
},
"engines": {
"node": ">=4"
},
"files": [
"index.js"
],
"homepage": "https://github.com/sindresorhus/make-dir#readme",
"keywords": [
"mkdir",
"mkdirp",
"make",
"directories",
"dir",
"dirs",
"folders",
"directory",
"folder",
"path",
"parent",
"parents",
"intermediate",
"recursively",
"recursive",
"create",
"fs",
"filesystem",
"file-system"
],
"license": "MIT",
"name": "make-dir",
"optionalDependencies": {},
"readme": "# make-dir [![Build Status: macOS & Linux](https://travis-ci.org/sindresorhus/make-dir.svg?branch=master)](https://travis-ci.org/sindresorhus/make-dir) [![Build status: Windows](https://ci.appveyor.com/api/projects/status/e0vtt8y600w91gcs/branch/master?svg=true)](https://ci.appveyor.com/project/sindresorhus/make-dir/branch/master) [![codecov](https://codecov.io/gh/sindresorhus/make-dir/branch/master/graph/badge.svg)](https://codecov.io/gh/sindresorhus/make-dir)\n\n> Make a directory and its parents if needed - Think `mkdir -p`\n\n\n## Advantages over [`mkdirp`](https://github.com/substack/node-mkdirp)\n\n- Promise API *(Async/await ready!)*\n- Fixes many `mkdirp` issues: [#96](https://github.com/substack/node-mkdirp/pull/96) [#70](https://github.com/substack/node-mkdirp/issues/70) [#66](https://github.com/substack/node-mkdirp/issues/66)\n- 100% test coverage\n- CI-tested on macOS, Linux, and Windows\n- Actively maintained\n- Doesn't bundle a CLI\n\n\n## Install\n\n```\n$ npm install make-dir\n```\n\n\n## Usage\n\n```\n$ pwd\n/Users/sindresorhus/fun\n$ tree\n.\n```\n\n```js\nconst makeDir = require('make-dir');\n\nmakeDir('unicorn/rainbow/cake').then(path => {\n\tconsole.log(path);\n\t//=> '/Users/sindresorhus/fun/unicorn/rainbow/cake'\n});\n```\n\n```\n$ tree\n.\n└── unicorn\n └── rainbow\n └── cake\n```\n\nMultiple directories:\n\n```js\nconst makeDir = require('make-dir');\n\nPromise.all([\n\tmakeDir('unicorn/rainbow')\n\tmakeDir('foo/bar')\n]).then(paths => {\n\tconsole.log(paths);\n\t/*\n\t[\n\t\t'/Users/sindresorhus/fun/unicorn/rainbow',\n\t\t'/Users/sindresorhus/fun/foo/bar'\n\t]\n\t*/\n});\n```\n\n\n## API\n\n### makeDir(path, [options])\n\nReturns a `Promise` for the path to the created directory.\n\n### makeDir.sync(path, [options])\n\nReturns the path to the created directory.\n\n#### path\n\nType: `string`\n\nDirectory to create.\n\n#### options\n\nType: `Object`\n\n##### mode\n\nType: `integer`<br>\nDefault: `0o777 & (~process.umask())`\n\nDirectory [permissions](https://x-team.com/blog/file-system-permissions-umask-node-js/).\n\n##### fs\n\nType: `Object`<br>\nDefault: `require('fs')`\n\nUse a custom `fs` implementation. For example [`graceful-fs`](https://github.com/isaacs/node-graceful-fs).\n\n\n## Related\n\n- [make-dir-cli](https://github.com/sindresorhus/make-dir-cli) - CLI for this module\n- [del](https://github.com/sindresorhus/del) - Delete files and directories\n- [globby](https://github.com/sindresorhus/globby) - User-friendly glob matching\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n",
"readmeFilename": "readme.md",
"repository": {
"type": "git",
"url": "git+https://github.com/sindresorhus/make-dir.git"
},
"scripts": {
"test": "xo && nyc ava"
},
"version": "1.1.0"
}