Generate code sample files.
npx playwright install chromium
npm install playwright-core -g
npm install @bring-it/sample -D
npm link playwright-core
npm x bring-it sample
Pack files when support.
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
}
]
}