nav tabs on admin dashboard
This commit is contained in:
8
node_modules/find-cache-dir/index.js
generated
vendored
8
node_modules/find-cache-dir/index.js
generated
vendored
@@ -4,8 +4,8 @@ const commonDir = require('commondir');
|
||||
const pkgDir = require('pkg-dir');
|
||||
const makeDir = require('make-dir');
|
||||
|
||||
module.exports = options => {
|
||||
const name = options.name;
|
||||
module.exports = (options = {}) => {
|
||||
const {name} = options;
|
||||
let dir = options.cwd;
|
||||
|
||||
if (options.files) {
|
||||
@@ -24,9 +24,7 @@ module.exports = options => {
|
||||
}
|
||||
|
||||
if (options.thunk) {
|
||||
return function () {
|
||||
return path.join.apply(path, [dir].concat(Array.prototype.slice.call(arguments)));
|
||||
};
|
||||
return (...args) => path.join(dir, ...args);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
20
node_modules/find-cache-dir/license
generated
vendored
20
node_modules/find-cache-dir/license
generated
vendored
@@ -1,21 +1,9 @@
|
||||
The MIT License (MIT)
|
||||
MIT License
|
||||
|
||||
Copyright (c) James Talmage <james@talmage.io> (github.com/jamestalmage)
|
||||
|
||||
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:
|
||||
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 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.
|
||||
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.
|
||||
|
||||
43
node_modules/find-cache-dir/package.json
generated
vendored
43
node_modules/find-cache-dir/package.json
generated
vendored
@@ -1,33 +1,28 @@
|
||||
{
|
||||
"_from": "find-cache-dir@^1.0.0",
|
||||
"_id": "find-cache-dir@1.0.0",
|
||||
"_from": "find-cache-dir@^2.0.0",
|
||||
"_id": "find-cache-dir@2.0.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-kojj6ePMN0hxfTnq3hfPcfww7m8=",
|
||||
"_integrity": "sha512-LDUY6V1Xs5eFskUVYtIwatojt6+9xC9Chnlk/jYOOvn3FAFfSaWddxahDGyNHh0b2dMXa6YW2m0tk8TdVaXHlA==",
|
||||
"_location": "/find-cache-dir",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "find-cache-dir@^1.0.0",
|
||||
"raw": "find-cache-dir@^2.0.0",
|
||||
"name": "find-cache-dir",
|
||||
"escapedName": "find-cache-dir",
|
||||
"rawSpec": "^1.0.0",
|
||||
"rawSpec": "^2.0.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^1.0.0"
|
||||
"fetchSpec": "^2.0.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/babel-loader",
|
||||
"/uglifyjs-webpack-plugin"
|
||||
"/terser-webpack-plugin"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-1.0.0.tgz",
|
||||
"_shasum": "9288e3e9e3cc3748717d39eade17cf71fc30ee6f",
|
||||
"_spec": "find-cache-dir@^1.0.0",
|
||||
"_resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.0.0.tgz",
|
||||
"_shasum": "4c1faed59f45184530fb9d7fa123a4d04a98472d",
|
||||
"_spec": "find-cache-dir@^2.0.0",
|
||||
"_where": "C:\\xampp\\htdocs\\w4rpservices\\node_modules\\babel-loader",
|
||||
"author": {
|
||||
"name": "James Talmage",
|
||||
"email": "james@talmage.io",
|
||||
"url": "github.com/jamestalmage"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/avajs/find-cache-dir/issues"
|
||||
},
|
||||
@@ -35,19 +30,19 @@
|
||||
"dependencies": {
|
||||
"commondir": "^1.0.1",
|
||||
"make-dir": "^1.0.0",
|
||||
"pkg-dir": "^2.0.0"
|
||||
"pkg-dir": "^3.0.0"
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "My well-made module",
|
||||
"description": "Finds the common standard cache directory",
|
||||
"devDependencies": {
|
||||
"ava": "^0.19.1",
|
||||
"coveralls": "^2.11.6",
|
||||
"del": "^2.2.2",
|
||||
"nyc": "^10.3.2",
|
||||
"xo": "^0.18.2"
|
||||
"ava": "^0.25.0",
|
||||
"coveralls": "^3.0.1",
|
||||
"del": "^3.0.0",
|
||||
"nyc": "^12.0.2",
|
||||
"xo": "^0.21.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=4"
|
||||
"node": ">=6"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
@@ -76,5 +71,5 @@
|
||||
"scripts": {
|
||||
"test": "xo && nyc ava"
|
||||
},
|
||||
"version": "1.0.0"
|
||||
"version": "2.0.0"
|
||||
}
|
||||
|
||||
9
node_modules/find-cache-dir/readme.md
generated
vendored
9
node_modules/find-cache-dir/readme.md
generated
vendored
@@ -27,7 +27,7 @@ If you decide to adopt this pattern, please file a PR adding your name to the li
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install --save find-cache-dir
|
||||
$ npm install find-cache-dir
|
||||
```
|
||||
|
||||
|
||||
@@ -49,6 +49,8 @@ Finds the cache directory using the supplied options. The algorithm tries to fin
|
||||
|
||||
#### options
|
||||
|
||||
Type: `Object`
|
||||
|
||||
##### name
|
||||
|
||||
*Required*<br>
|
||||
@@ -58,7 +60,7 @@ Should be the same as your project name in `package.json`.
|
||||
|
||||
##### files
|
||||
|
||||
Type: `Array` `string
|
||||
Type: `Array` `string`
|
||||
|
||||
An array of files that will be searched for a common parent directory. This common parent directory will be used in lieu of the `cwd` option below.
|
||||
|
||||
@@ -106,8 +108,9 @@ This is helpful for actually putting actual files in the cache!
|
||||
- [`babel-loader`](https://github.com/babel/babel-loader)
|
||||
- [`eslint-loader`](https://github.com/MoOx/eslint-loader)
|
||||
- [`Phenomic`](https://phenomic.io)
|
||||
- [`javascripthon-loader`](https://github.com/Beg-in/javascripthon-loader)
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [James Talmage](https://github.com/jamestalmage)
|
||||
MIT
|
||||
|
||||
Reference in New Issue
Block a user