mirror of
https://github.com/S2-/minifyfromhtml.git
synced 2025-08-03 20:30:04 +02:00
add some packages
This commit is contained in:
21
node_modules/filename-regex/LICENSE
generated
vendored
Normal file
21
node_modules/filename-regex/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014-2015, 2017, Jon Schlinkert
|
||||
|
||||
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.
|
63
node_modules/filename-regex/README.md
generated
vendored
Normal file
63
node_modules/filename-regex/README.md
generated
vendored
Normal file
@@ -0,0 +1,63 @@
|
||||
# filename-regex [](https://www.npmjs.com/package/filename-regex) [](https://npmjs.org/package/filename-regex) [](https://npmjs.org/package/filename-regex) [](https://travis-ci.org/regexhq/filename-regex)
|
||||
|
||||
> Regular expression for matching file names, with or without extension.
|
||||
|
||||
## Install
|
||||
|
||||
Install with [npm](https://www.npmjs.com/):
|
||||
|
||||
```sh
|
||||
$ npm install --save filename-regex
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var regex = require('filename-regex');
|
||||
|
||||
'a/b/c/d.min.js'.match(regex());
|
||||
//=> match[0] = 'd.min.js'
|
||||
|
||||
'a/b/c/.dotfile'.match(regex());
|
||||
//=> match[0] = '.dotfile'
|
||||
```
|
||||
|
||||
## About
|
||||
|
||||
### Contributing
|
||||
|
||||
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
|
||||
|
||||
### Building docs
|
||||
|
||||
_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_
|
||||
|
||||
To generate the readme, run the following command:
|
||||
|
||||
```sh
|
||||
$ npm install -g verbose/verb#dev verb-generate-readme && verb
|
||||
```
|
||||
|
||||
### Running tests
|
||||
|
||||
Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
|
||||
|
||||
```sh
|
||||
$ npm install && npm test
|
||||
```
|
||||
|
||||
### Author
|
||||
|
||||
**Jon Schlinkert**
|
||||
|
||||
* [github/jonschlinkert](https://github.com/jonschlinkert)
|
||||
* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)
|
||||
|
||||
### License
|
||||
|
||||
Copyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).
|
||||
Released under the [MIT License](LICENSE).
|
||||
|
||||
***
|
||||
|
||||
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.4.3, on April 28, 2017._
|
10
node_modules/filename-regex/index.js
generated
vendored
Normal file
10
node_modules/filename-regex/index.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
/*!
|
||||
* filename-regex <https://github.com/regexps/filename-regex>
|
||||
*
|
||||
* Copyright (c) 2014-2015, Jon Schlinkert
|
||||
* Licensed under the MIT license.
|
||||
*/
|
||||
|
||||
module.exports = function filenameRegex() {
|
||||
return /([^\\\/]+)$/;
|
||||
};
|
81
node_modules/filename-regex/package.json
generated
vendored
Normal file
81
node_modules/filename-regex/package.json
generated
vendored
Normal file
@@ -0,0 +1,81 @@
|
||||
{
|
||||
"_from": "filename-regex@^2.0.0",
|
||||
"_id": "filename-regex@2.0.1",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-wcS5vuPglyXdsQa3XB4wH+LxiyY=",
|
||||
"_location": "/filename-regex",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "filename-regex@^2.0.0",
|
||||
"name": "filename-regex",
|
||||
"escapedName": "filename-regex",
|
||||
"rawSpec": "^2.0.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^2.0.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/micromatch"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/filename-regex/-/filename-regex-2.0.1.tgz",
|
||||
"_shasum": "c1c4b9bee3e09725ddb106b75c1e301fe2f18b26",
|
||||
"_spec": "filename-regex@^2.0.0",
|
||||
"_where": "/home/s2/Documents/Code/minifyfromhtml/node_modules/micromatch",
|
||||
"author": {
|
||||
"name": "Jon Schlinkert",
|
||||
"url": "https://github.com/jonschlinkert"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/regexhq/filename-regex/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"deprecated": false,
|
||||
"description": "Regular expression for matching file names, with or without extension.",
|
||||
"devDependencies": {
|
||||
"gulp-format-md": "^0.1.12"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"homepage": "https://github.com/regexhq/filename-regex",
|
||||
"keywords": [
|
||||
"basename",
|
||||
"file",
|
||||
"filename",
|
||||
"filepath",
|
||||
"match",
|
||||
"name",
|
||||
"path",
|
||||
"regex",
|
||||
"regexp",
|
||||
"regular expression"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"name": "filename-regex",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/regexhq/filename-regex.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha"
|
||||
},
|
||||
"verb": {
|
||||
"toc": false,
|
||||
"layout": "default",
|
||||
"tasks": [
|
||||
"readme"
|
||||
],
|
||||
"plugins": [
|
||||
"gulp-format-md"
|
||||
],
|
||||
"lint": {
|
||||
"reflinks": true
|
||||
}
|
||||
},
|
||||
"version": "2.0.1"
|
||||
}
|
Reference in New Issue
Block a user