first commit
This commit is contained in:
21
app_vue/node_modules/regexpp/LICENSE
generated
vendored
Normal file
21
app_vue/node_modules/regexpp/LICENSE
generated
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2018 Toru Nagashima
|
||||
|
||||
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.
|
178
app_vue/node_modules/regexpp/README.md
generated
vendored
Normal file
178
app_vue/node_modules/regexpp/README.md
generated
vendored
Normal file
@ -0,0 +1,178 @@
|
||||
# regexpp
|
||||
|
||||
[](https://www.npmjs.com/package/regexpp)
|
||||
[](http://www.npmtrends.com/regexpp)
|
||||
[](https://github.com/mysticatea/regexpp/actions)
|
||||
[](https://codecov.io/gh/mysticatea/regexpp)
|
||||
[](https://david-dm.org/mysticatea/regexpp)
|
||||
|
||||
A regular expression parser for ECMAScript.
|
||||
|
||||
## 💿 Installation
|
||||
|
||||
```bash
|
||||
$ npm install regexpp
|
||||
```
|
||||
|
||||
- require Node.js 8 or newer.
|
||||
|
||||
## 📖 Usage
|
||||
|
||||
```ts
|
||||
import {
|
||||
AST,
|
||||
RegExpParser,
|
||||
RegExpValidator,
|
||||
RegExpVisitor,
|
||||
parseRegExpLiteral,
|
||||
validateRegExpLiteral,
|
||||
visitRegExpAST
|
||||
} from "regexpp"
|
||||
```
|
||||
|
||||
### parseRegExpLiteral(source, options?)
|
||||
|
||||
Parse a given regular expression literal then make AST object.
|
||||
|
||||
This is equivalent to `new RegExpParser(options).parseLiteral(source)`.
|
||||
|
||||
- **Parameters:**
|
||||
- `source` (`string | RegExp`) The source code to parse.
|
||||
- `options?` ([`RegExpParser.Options`]) The options to parse.
|
||||
- **Return:**
|
||||
- The AST of the regular expression.
|
||||
|
||||
### validateRegExpLiteral(source, options?)
|
||||
|
||||
Validate a given regular expression literal.
|
||||
|
||||
This is equivalent to `new RegExpValidator(options).validateLiteral(source)`.
|
||||
|
||||
- **Parameters:**
|
||||
- `source` (`string`) The source code to validate.
|
||||
- `options?` ([`RegExpValidator.Options`]) The options to validate.
|
||||
|
||||
### visitRegExpAST(ast, handlers)
|
||||
|
||||
Visit each node of a given AST.
|
||||
|
||||
This is equivalent to `new RegExpVisitor(handlers).visit(ast)`.
|
||||
|
||||
- **Parameters:**
|
||||
- `ast` ([`AST.Node`]) The AST to visit.
|
||||
- `handlers` ([`RegExpVisitor.Handlers`]) The callbacks.
|
||||
|
||||
### RegExpParser
|
||||
|
||||
#### new RegExpParser(options?)
|
||||
|
||||
- **Parameters:**
|
||||
- `options?` ([`RegExpParser.Options`]) The options to parse.
|
||||
|
||||
#### parser.parseLiteral(source, start?, end?)
|
||||
|
||||
Parse a regular expression literal.
|
||||
|
||||
- **Parameters:**
|
||||
- `source` (`string`) The source code to parse. E.g. `"/abc/g"`.
|
||||
- `start?` (`number`) The start index in the source code. Default is `0`.
|
||||
- `end?` (`number`) The end index in the source code. Default is `source.length`.
|
||||
- **Return:**
|
||||
- The AST of the regular expression.
|
||||
|
||||
#### parser.parsePattern(source, start?, end?, uFlag?)
|
||||
|
||||
Parse a regular expression pattern.
|
||||
|
||||
- **Parameters:**
|
||||
- `source` (`string`) The source code to parse. E.g. `"abc"`.
|
||||
- `start?` (`number`) The start index in the source code. Default is `0`.
|
||||
- `end?` (`number`) The end index in the source code. Default is `source.length`.
|
||||
- `uFlag?` (`boolean`) The flag to enable Unicode mode.
|
||||
- **Return:**
|
||||
- The AST of the regular expression pattern.
|
||||
|
||||
#### parser.parseFlags(source, start?, end?)
|
||||
|
||||
Parse a regular expression flags.
|
||||
|
||||
- **Parameters:**
|
||||
- `source` (`string`) The source code to parse. E.g. `"gim"`.
|
||||
- `start?` (`number`) The start index in the source code. Default is `0`.
|
||||
- `end?` (`number`) The end index in the source code. Default is `source.length`.
|
||||
- **Return:**
|
||||
- The AST of the regular expression flags.
|
||||
|
||||
### RegExpValidator
|
||||
|
||||
#### new RegExpValidator(options)
|
||||
|
||||
- **Parameters:**
|
||||
- `options` ([`RegExpValidator.Options`]) The options to validate.
|
||||
|
||||
#### validator.validateLiteral(source, start, end)
|
||||
|
||||
Validate a regular expression literal.
|
||||
|
||||
- **Parameters:**
|
||||
- `source` (`string`) The source code to validate.
|
||||
- `start?` (`number`) The start index in the source code. Default is `0`.
|
||||
- `end?` (`number`) The end index in the source code. Default is `source.length`.
|
||||
|
||||
#### validator.validatePattern(source, start, end, uFlag)
|
||||
|
||||
Validate a regular expression pattern.
|
||||
|
||||
- **Parameters:**
|
||||
- `source` (`string`) The source code to validate.
|
||||
- `start?` (`number`) The start index in the source code. Default is `0`.
|
||||
- `end?` (`number`) The end index in the source code. Default is `source.length`.
|
||||
- `uFlag?` (`boolean`) The flag to enable Unicode mode.
|
||||
|
||||
#### validator.validateFlags(source, start, end)
|
||||
|
||||
Validate a regular expression flags.
|
||||
|
||||
- **Parameters:**
|
||||
- `source` (`string`) The source code to validate.
|
||||
- `start?` (`number`) The start index in the source code. Default is `0`.
|
||||
- `end?` (`number`) The end index in the source code. Default is `source.length`.
|
||||
|
||||
### RegExpVisitor
|
||||
|
||||
#### new RegExpVisitor(handlers)
|
||||
|
||||
- **Parameters:**
|
||||
- `handlers` ([`RegExpVisitor.Handlers`]) The callbacks.
|
||||
|
||||
#### visitor.visit(ast)
|
||||
|
||||
Validate a regular expression literal.
|
||||
|
||||
- **Parameters:**
|
||||
- `ast` ([`AST.Node`]) The AST to visit.
|
||||
|
||||
## 📰 Changelog
|
||||
|
||||
- [GitHub Releases](https://github.com/mysticatea/regexpp/releases)
|
||||
|
||||
## 🍻 Contributing
|
||||
|
||||
Welcome contributing!
|
||||
|
||||
Please use GitHub's Issues/PRs.
|
||||
|
||||
### Development Tools
|
||||
|
||||
- `npm test` runs tests and measures coverage.
|
||||
- `npm run build` compiles TypeScript source code to `index.js`, `index.js.map`, and `index.d.ts`.
|
||||
- `npm run clean` removes the temporary files which are created by `npm test` and `npm run build`.
|
||||
- `npm run lint` runs ESLint.
|
||||
- `npm run update:test` updates test fixtures.
|
||||
- `npm run update:ids` updates `src/unicode/ids.ts`.
|
||||
- `npm run watch` runs tests with `--watch` option.
|
||||
|
||||
[`AST.Node`]: src/ast.ts#L4
|
||||
[`RegExpParser.Options`]: src/parser.ts#L539
|
||||
[`RegExpValidator.Options`]: src/validator.ts#L127
|
||||
[`RegExpVisitor.Handlers`]: src/visitor.ts#L204
|
248
app_vue/node_modules/regexpp/index.d.ts
generated
vendored
Normal file
248
app_vue/node_modules/regexpp/index.d.ts
generated
vendored
Normal file
@ -0,0 +1,248 @@
|
||||
// Generated by dts-bundle v0.7.3
|
||||
|
||||
declare module 'regexpp' {
|
||||
import * as AST from "regexpp/ast";
|
||||
import { RegExpParser } from "regexpp/parser";
|
||||
import { RegExpValidator } from "regexpp/validator";
|
||||
import { RegExpVisitor } from "regexpp/visitor";
|
||||
export { AST, RegExpParser, RegExpValidator };
|
||||
export function parseRegExpLiteral(source: string | RegExp, options?: RegExpParser.Options): AST.RegExpLiteral;
|
||||
export function validateRegExpLiteral(source: string, options?: RegExpValidator.Options): void;
|
||||
export function visitRegExpAST(node: AST.Node, handlers: RegExpVisitor.Handlers): void;
|
||||
}
|
||||
|
||||
declare module 'regexpp/ast' {
|
||||
export type Node = BranchNode | LeafNode;
|
||||
export type BranchNode = RegExpLiteral | Pattern | Alternative | Group | CapturingGroup | Quantifier | CharacterClass | LookaroundAssertion | CharacterClassRange;
|
||||
export type LeafNode = BoundaryAssertion | CharacterSet | Character | Backreference | Flags;
|
||||
export type Element = Assertion | Quantifier | QuantifiableElement;
|
||||
export type QuantifiableElement = Group | CapturingGroup | CharacterClass | CharacterSet | Character | Backreference | LookaheadAssertion;
|
||||
export type CharacterClassElement = EscapeCharacterSet | UnicodePropertyCharacterSet | Character | CharacterClassRange;
|
||||
export interface NodeBase {
|
||||
type: Node["type"];
|
||||
parent: Node["parent"];
|
||||
start: number;
|
||||
end: number;
|
||||
raw: string;
|
||||
}
|
||||
export interface RegExpLiteral extends NodeBase {
|
||||
type: "RegExpLiteral";
|
||||
parent: null;
|
||||
pattern: Pattern;
|
||||
flags: Flags;
|
||||
}
|
||||
export interface Pattern extends NodeBase {
|
||||
type: "Pattern";
|
||||
parent: RegExpLiteral | null;
|
||||
alternatives: Alternative[];
|
||||
}
|
||||
export interface Alternative extends NodeBase {
|
||||
type: "Alternative";
|
||||
parent: Pattern | Group | CapturingGroup | LookaroundAssertion;
|
||||
elements: Element[];
|
||||
}
|
||||
export interface Group extends NodeBase {
|
||||
type: "Group";
|
||||
parent: Alternative | Quantifier;
|
||||
alternatives: Alternative[];
|
||||
}
|
||||
export interface CapturingGroup extends NodeBase {
|
||||
type: "CapturingGroup";
|
||||
parent: Alternative | Quantifier;
|
||||
name: string | null;
|
||||
alternatives: Alternative[];
|
||||
references: Backreference[];
|
||||
}
|
||||
export type LookaroundAssertion = LookaheadAssertion | LookbehindAssertion;
|
||||
export interface LookaheadAssertion extends NodeBase {
|
||||
type: "Assertion";
|
||||
parent: Alternative | Quantifier;
|
||||
kind: "lookahead";
|
||||
negate: boolean;
|
||||
alternatives: Alternative[];
|
||||
}
|
||||
export interface LookbehindAssertion extends NodeBase {
|
||||
type: "Assertion";
|
||||
parent: Alternative;
|
||||
kind: "lookbehind";
|
||||
negate: boolean;
|
||||
alternatives: Alternative[];
|
||||
}
|
||||
export interface Quantifier extends NodeBase {
|
||||
type: "Quantifier";
|
||||
parent: Alternative;
|
||||
min: number;
|
||||
max: number;
|
||||
greedy: boolean;
|
||||
element: QuantifiableElement;
|
||||
}
|
||||
export interface CharacterClass extends NodeBase {
|
||||
type: "CharacterClass";
|
||||
parent: Alternative | Quantifier;
|
||||
negate: boolean;
|
||||
elements: CharacterClassElement[];
|
||||
}
|
||||
export interface CharacterClassRange extends NodeBase {
|
||||
type: "CharacterClassRange";
|
||||
parent: CharacterClass;
|
||||
min: Character;
|
||||
max: Character;
|
||||
}
|
||||
export type Assertion = BoundaryAssertion | LookaroundAssertion;
|
||||
export type BoundaryAssertion = EdgeAssertion | WordBoundaryAssertion;
|
||||
export interface EdgeAssertion extends NodeBase {
|
||||
type: "Assertion";
|
||||
parent: Alternative | Quantifier;
|
||||
kind: "start" | "end";
|
||||
}
|
||||
export interface WordBoundaryAssertion extends NodeBase {
|
||||
type: "Assertion";
|
||||
parent: Alternative | Quantifier;
|
||||
kind: "word";
|
||||
negate: boolean;
|
||||
}
|
||||
export type CharacterSet = AnyCharacterSet | EscapeCharacterSet | UnicodePropertyCharacterSet;
|
||||
export interface AnyCharacterSet extends NodeBase {
|
||||
type: "CharacterSet";
|
||||
parent: Alternative | Quantifier;
|
||||
kind: "any";
|
||||
}
|
||||
export interface EscapeCharacterSet extends NodeBase {
|
||||
type: "CharacterSet";
|
||||
parent: Alternative | Quantifier | CharacterClass;
|
||||
kind: "digit" | "space" | "word";
|
||||
negate: boolean;
|
||||
}
|
||||
export interface UnicodePropertyCharacterSet extends NodeBase {
|
||||
type: "CharacterSet";
|
||||
parent: Alternative | Quantifier | CharacterClass;
|
||||
kind: "property";
|
||||
key: string;
|
||||
value: string | null;
|
||||
negate: boolean;
|
||||
}
|
||||
export interface Character extends NodeBase {
|
||||
type: "Character";
|
||||
parent: Alternative | Quantifier | CharacterClass | CharacterClassRange;
|
||||
value: number;
|
||||
}
|
||||
export interface Backreference extends NodeBase {
|
||||
type: "Backreference";
|
||||
parent: Alternative | Quantifier;
|
||||
ref: number | string;
|
||||
resolved: CapturingGroup;
|
||||
}
|
||||
export interface Flags extends NodeBase {
|
||||
type: "Flags";
|
||||
parent: RegExpLiteral | null;
|
||||
dotAll: boolean;
|
||||
global: boolean;
|
||||
hasIndices: boolean;
|
||||
ignoreCase: boolean;
|
||||
multiline: boolean;
|
||||
sticky: boolean;
|
||||
unicode: boolean;
|
||||
}
|
||||
}
|
||||
|
||||
declare module 'regexpp/parser' {
|
||||
import { Flags, RegExpLiteral, Pattern } from "regexpp/ast";
|
||||
import { EcmaVersion } from "regexpp/ecma-versions";
|
||||
export namespace RegExpParser {
|
||||
interface Options {
|
||||
strict?: boolean;
|
||||
ecmaVersion?: EcmaVersion;
|
||||
}
|
||||
}
|
||||
export class RegExpParser {
|
||||
constructor(options?: RegExpParser.Options);
|
||||
parseLiteral(source: string, start?: number, end?: number): RegExpLiteral;
|
||||
parseFlags(source: string, start?: number, end?: number): Flags;
|
||||
parsePattern(source: string, start?: number, end?: number, uFlag?: boolean): Pattern;
|
||||
}
|
||||
}
|
||||
|
||||
declare module 'regexpp/validator' {
|
||||
import { EcmaVersion } from "regexpp/ecma-versions";
|
||||
export namespace RegExpValidator {
|
||||
interface Options {
|
||||
strict?: boolean;
|
||||
ecmaVersion?: EcmaVersion;
|
||||
onLiteralEnter?(start: number): void;
|
||||
onLiteralLeave?(start: number, end: number): void;
|
||||
onFlags?(start: number, end: number, global: boolean, ignoreCase: boolean, multiline: boolean, unicode: boolean, sticky: boolean, dotAll: boolean, hasIndices: boolean): void;
|
||||
onPatternEnter?(start: number): void;
|
||||
onPatternLeave?(start: number, end: number): void;
|
||||
onDisjunctionEnter?(start: number): void;
|
||||
onDisjunctionLeave?(start: number, end: number): void;
|
||||
onAlternativeEnter?(start: number, index: number): void;
|
||||
onAlternativeLeave?(start: number, end: number, index: number): void;
|
||||
onGroupEnter?(start: number): void;
|
||||
onGroupLeave?(start: number, end: number): void;
|
||||
onCapturingGroupEnter?(start: number, name: string | null): void;
|
||||
onCapturingGroupLeave?(start: number, end: number, name: string | null): void;
|
||||
onQuantifier?(start: number, end: number, min: number, max: number, greedy: boolean): void;
|
||||
onLookaroundAssertionEnter?(start: number, kind: "lookahead" | "lookbehind", negate: boolean): void;
|
||||
onLookaroundAssertionLeave?(start: number, end: number, kind: "lookahead" | "lookbehind", negate: boolean): void;
|
||||
onEdgeAssertion?(start: number, end: number, kind: "start" | "end"): void;
|
||||
onWordBoundaryAssertion?(start: number, end: number, kind: "word", negate: boolean): void;
|
||||
onAnyCharacterSet?(start: number, end: number, kind: "any"): void;
|
||||
onEscapeCharacterSet?(start: number, end: number, kind: "digit" | "space" | "word", negate: boolean): void;
|
||||
onUnicodePropertyCharacterSet?(start: number, end: number, kind: "property", key: string, value: string | null, negate: boolean): void;
|
||||
onCharacter?(start: number, end: number, value: number): void;
|
||||
onBackreference?(start: number, end: number, ref: number | string): void;
|
||||
onCharacterClassEnter?(start: number, negate: boolean): void;
|
||||
onCharacterClassLeave?(start: number, end: number, negate: boolean): void;
|
||||
onCharacterClassRange?(start: number, end: number, min: number, max: number): void;
|
||||
}
|
||||
}
|
||||
export class RegExpValidator {
|
||||
constructor(options?: RegExpValidator.Options);
|
||||
validateLiteral(source: string, start?: number, end?: number): void;
|
||||
validateFlags(source: string, start?: number, end?: number): void;
|
||||
validatePattern(source: string, start?: number, end?: number, uFlag?: boolean): void;
|
||||
}
|
||||
}
|
||||
|
||||
declare module 'regexpp/visitor' {
|
||||
import { Alternative, Assertion, Backreference, CapturingGroup, Character, CharacterClass, CharacterClassRange, CharacterSet, Flags, Group, Node, Pattern, Quantifier, RegExpLiteral } from "regexpp/ast";
|
||||
export class RegExpVisitor {
|
||||
constructor(handlers: RegExpVisitor.Handlers);
|
||||
visit(node: Node): void;
|
||||
}
|
||||
export namespace RegExpVisitor {
|
||||
interface Handlers {
|
||||
onAlternativeEnter?(node: Alternative): void;
|
||||
onAlternativeLeave?(node: Alternative): void;
|
||||
onAssertionEnter?(node: Assertion): void;
|
||||
onAssertionLeave?(node: Assertion): void;
|
||||
onBackreferenceEnter?(node: Backreference): void;
|
||||
onBackreferenceLeave?(node: Backreference): void;
|
||||
onCapturingGroupEnter?(node: CapturingGroup): void;
|
||||
onCapturingGroupLeave?(node: CapturingGroup): void;
|
||||
onCharacterEnter?(node: Character): void;
|
||||
onCharacterLeave?(node: Character): void;
|
||||
onCharacterClassEnter?(node: CharacterClass): void;
|
||||
onCharacterClassLeave?(node: CharacterClass): void;
|
||||
onCharacterClassRangeEnter?(node: CharacterClassRange): void;
|
||||
onCharacterClassRangeLeave?(node: CharacterClassRange): void;
|
||||
onCharacterSetEnter?(node: CharacterSet): void;
|
||||
onCharacterSetLeave?(node: CharacterSet): void;
|
||||
onFlagsEnter?(node: Flags): void;
|
||||
onFlagsLeave?(node: Flags): void;
|
||||
onGroupEnter?(node: Group): void;
|
||||
onGroupLeave?(node: Group): void;
|
||||
onPatternEnter?(node: Pattern): void;
|
||||
onPatternLeave?(node: Pattern): void;
|
||||
onQuantifierEnter?(node: Quantifier): void;
|
||||
onQuantifierLeave?(node: Quantifier): void;
|
||||
onRegExpLiteralEnter?(node: RegExpLiteral): void;
|
||||
onRegExpLiteralLeave?(node: RegExpLiteral): void;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
declare module 'regexpp/ecma-versions' {
|
||||
export type EcmaVersion = 5 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022;
|
||||
}
|
||||
|
2096
app_vue/node_modules/regexpp/index.js
generated
vendored
Normal file
2096
app_vue/node_modules/regexpp/index.js
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1
app_vue/node_modules/regexpp/index.js.map
generated
vendored
Normal file
1
app_vue/node_modules/regexpp/index.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
2087
app_vue/node_modules/regexpp/index.mjs
generated
vendored
Normal file
2087
app_vue/node_modules/regexpp/index.mjs
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1
app_vue/node_modules/regexpp/index.mjs.map
generated
vendored
Normal file
1
app_vue/node_modules/regexpp/index.mjs.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
91
app_vue/node_modules/regexpp/package.json
generated
vendored
Normal file
91
app_vue/node_modules/regexpp/package.json
generated
vendored
Normal file
@ -0,0 +1,91 @@
|
||||
{
|
||||
"name": "regexpp",
|
||||
"version": "3.2.0",
|
||||
"description": "Regular expression parser for ECMAScript.",
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
},
|
||||
"main": "index",
|
||||
"files": [
|
||||
"index.*"
|
||||
],
|
||||
"exports": {
|
||||
".": {
|
||||
"import": "./index.mjs",
|
||||
"default": "./index.js"
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"@mysticatea/eslint-plugin": "^11.0.0",
|
||||
"@types/eslint": "^4.16.2",
|
||||
"@types/jsdom": "^12.2.4",
|
||||
"@types/mocha": "^5.2.2",
|
||||
"@types/node": "^12.6.8",
|
||||
"codecov": "^3.5.0",
|
||||
"dts-bundle": "^0.7.3",
|
||||
"eslint": "^6.1.0",
|
||||
"jsdom": "^15.1.1",
|
||||
"mocha": "^6.2.0",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"nyc": "^14.1.1",
|
||||
"rimraf": "^2.6.2",
|
||||
"rollup": "^1.17.0",
|
||||
"rollup-plugin-node-resolve": "^5.2.0",
|
||||
"rollup-plugin-sourcemaps": "^0.4.2",
|
||||
"ts-node": "^8.3.0",
|
||||
"typescript": "^3.5.3"
|
||||
},
|
||||
"scripts": {
|
||||
"prebuild": "npm run -s clean",
|
||||
"build": "run-s build:*",
|
||||
"build:tsc": "tsc --module es2015",
|
||||
"build:rollup": "rollup -c",
|
||||
"build:dts": "dts-bundle --name regexpp --main .temp/index.d.ts --out ../index.d.ts",
|
||||
"clean": "rimraf .temp index.*",
|
||||
"codecov": "nyc report -r lcovonly && codecov -t ${CODECOV_TOKEN} --disable=gcov",
|
||||
"lint": "eslint scripts src test --ext .ts",
|
||||
"pretest": "run-s build lint",
|
||||
"test": "nyc _mocha \"test/*.ts\" --reporter dot --timeout 10000",
|
||||
"update:test": "ts-node scripts/update-fixtures.ts",
|
||||
"update:unicode": "run-s update:unicode:*",
|
||||
"update:unicode:ids": "ts-node scripts/update-unicode-ids.ts",
|
||||
"update:unicode:props": "ts-node scripts/update-unicode-properties.ts",
|
||||
"preversion": "npm test",
|
||||
"version": "npm run -s build",
|
||||
"postversion": "git push && git push --tags",
|
||||
"prewatch": "npm run -s clean",
|
||||
"watch": "_mocha \"test/*.ts\" --require ts-node/register --reporter dot --timeout 10000 --watch-extensions ts --watch --growl"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/mysticatea/regexpp.git"
|
||||
},
|
||||
"keywords": [
|
||||
"regexp",
|
||||
"regular",
|
||||
"expression",
|
||||
"parser",
|
||||
"validator",
|
||||
"ast",
|
||||
"abstract",
|
||||
"syntax",
|
||||
"tree",
|
||||
"ecmascript",
|
||||
"es2015",
|
||||
"es2016",
|
||||
"es2017",
|
||||
"es2018",
|
||||
"es2019",
|
||||
"es2020",
|
||||
"annexB"
|
||||
],
|
||||
"author": "Toru Nagashima (https://github.com/mysticatea)",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/mysticatea/regexpp/issues"
|
||||
},
|
||||
"homepage": "https://github.com/mysticatea/regexpp#readme",
|
||||
"funding": "https://github.com/sponsors/mysticatea"
|
||||
}
|
Reference in New Issue
Block a user