npm

texporter
TypeScript icon, indicating that this package has built-in type declarations

0.1.4 • Public • Published

Texporter🧪

texporter could export test cases in html or pdf formats.

How to install

# npm
npm install -D texporter

# yarn
yarn add -D texporter

How to use

Add texport.json file in project root directory.

Default config is as follows:

{
  "format": "html",
  "matchPattern": [".*\/__tests__\/.*\\.[jt]sx?$"],
  "include": ["/src"]
}

format

Output file format, support html and pdf.

matchPattern

matchPattern means which files want to be exported.

matchPattern support regex pattern.

include

include indicates which directories should be exported.

include should be based on project root directory.

Readme

Keywords

Package Sidebar

Install

npm i texporter

Weekly Downloads

1

Version

0.1.4

License

MIT

Unpacked Size

9.27 kB

Total Files

22

Last publish

Collaborators

  • lijiahaocoder