Skip to content

Latest commit

 

History

History

sample

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

@bring-it/sample

Generate code sample files.

npm github node

Installation

npx playwright install chromium
npm install playwright-core -g
npm install @bring-it/sample -D

Usage

npm link playwright-core
npm x bring-it sample

Commands

bring-it pack [target...]

Pack files when support.

bring-it sample

Generate code sample files.

Config example:

// .bring-it/sample.config.json
{
  "group": [
    {
      "cwd": ".",
      "prologue": ["prologue/*"],
      "patterns": ["**/*"],
      "epilogue": ["epilogue/*"],
      "extensions": ["js", "ts", "..."],
      "ignore": ["dist"],
      "title": "示例软件名称",
      "version": "v1.0",
      "company": "Cyberdyne Systems Corporation",
      "lineNumber": true
    }
  ]
}