mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-01 14:41:32 +00:00
react app
This commit is contained in:
5
react-app/node_modules/home-or-tmp/index.js
generated
vendored
Normal file
5
react-app/node_modules/home-or-tmp/index.js
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
'use strict';
|
||||
var userHome = require('user-home');
|
||||
var osTmpdir = require('os-tmpdir');
|
||||
|
||||
module.exports = userHome || osTmpdir();
|
21
react-app/node_modules/home-or-tmp/license
generated
vendored
Normal file
21
react-app/node_modules/home-or-tmp/license
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
96
react-app/node_modules/home-or-tmp/package.json
generated
vendored
Normal file
96
react-app/node_modules/home-or-tmp/package.json
generated
vendored
Normal file
@@ -0,0 +1,96 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"home-or-tmp@^1.0.0",
|
||||
"/Users/mromano/dev/react-sfs/node_modules/babel-register"
|
||||
]
|
||||
],
|
||||
"_from": "home-or-tmp@>=1.0.0 <2.0.0",
|
||||
"_id": "home-or-tmp@1.0.0",
|
||||
"_inCache": true,
|
||||
"_installable": true,
|
||||
"_location": "/home-or-tmp",
|
||||
"_nodeVersion": "0.12.3",
|
||||
"_npmUser": {
|
||||
"email": "sindresorhus@gmail.com",
|
||||
"name": "sindresorhus"
|
||||
},
|
||||
"_npmVersion": "2.9.1",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"name": "home-or-tmp",
|
||||
"raw": "home-or-tmp@^1.0.0",
|
||||
"rawSpec": "^1.0.0",
|
||||
"scope": null,
|
||||
"spec": ">=1.0.0 <2.0.0",
|
||||
"type": "range"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/babel-register"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-1.0.0.tgz",
|
||||
"_shasum": "4b9f1e40800c3e50c6c27f781676afcce71f3985",
|
||||
"_shrinkwrap": null,
|
||||
"_spec": "home-or-tmp@^1.0.0",
|
||||
"_where": "/Users/mromano/dev/react-sfs/node_modules/babel-register",
|
||||
"author": {
|
||||
"email": "sindresorhus@gmail.com",
|
||||
"name": "Sindre Sorhus",
|
||||
"url": "sindresorhus.com"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/sindresorhus/home-or-tmp/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"os-tmpdir": "^1.0.1",
|
||||
"user-home": "^1.1.1"
|
||||
},
|
||||
"description": "Get the user home directory with fallback to the system temp directory",
|
||||
"devDependencies": {
|
||||
"ava": "0.0.4"
|
||||
},
|
||||
"directories": {},
|
||||
"dist": {
|
||||
"shasum": "4b9f1e40800c3e50c6c27f781676afcce71f3985",
|
||||
"tarball": "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-1.0.0.tgz"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"gitHead": "d74b7b3af367dddde6138061ca67118f86011b67",
|
||||
"homepage": "https://github.com/sindresorhus/home-or-tmp",
|
||||
"keywords": [
|
||||
"user",
|
||||
"home",
|
||||
"homedir",
|
||||
"dir",
|
||||
"directory",
|
||||
"folder",
|
||||
"path",
|
||||
"tmp",
|
||||
"temp",
|
||||
"fallback",
|
||||
"graceful"
|
||||
],
|
||||
"license": "MIT",
|
||||
"maintainers": [
|
||||
{
|
||||
"email": "sindresorhus@gmail.com",
|
||||
"name": "sindresorhus"
|
||||
}
|
||||
],
|
||||
"name": "home-or-tmp",
|
||||
"optionalDependencies": {},
|
||||
"readme": "ERROR: No README data found!",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/sindresorhus/home-or-tmp.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "node test.js"
|
||||
},
|
||||
"version": "1.0.0"
|
||||
}
|
32
react-app/node_modules/home-or-tmp/readme.md
generated
vendored
Normal file
32
react-app/node_modules/home-or-tmp/readme.md
generated
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
# home-or-tmp [](https://travis-ci.org/sindresorhus/home-or-tmp)
|
||||
|
||||
> Get the user home directory with fallback to the system temp directory
|
||||
|
||||
Useful in cases where the home directory either isn't set or doesn't exist.
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install --save home-or-tmp
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var homeOrTmp = require('home-or-tmp');
|
||||
|
||||
console.log(homeOrTmp);
|
||||
//=> '/Users/sindresorhus'
|
||||
|
||||
// and if there's no home directory:
|
||||
|
||||
console.log(homeOrTmp);
|
||||
//=> '/var/folders/m3/5574nnhn0yj488ccryqr7tc80000gn/T'
|
||||
```
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Sindre Sorhus](http://sindresorhus.com)
|
Reference in New Issue
Block a user