playwright-performance-reporter
Version:
Measure and publish performance metrics from browser dev-tools when running playwright
133 lines (132 loc) • 3.47 kB
JSON
{
"name": "playwright-performance-reporter",
"version": "3.6.0",
"description": "Measure and publish performance metrics from browser dev-tools when running playwright",
"type": "module",
"exports": "./lib/index.js",
"types": "./lib/index.d.ts",
"files": [
"lib/**/*"
],
"scripts": {
"build": "tsc --project tsconfig.build.json",
"clean": "rm -rf ./lib/",
"cm": "cz",
"lint": "xo ./src/ --fix",
"lint:tests": "xo ./test/ --fix",
"prepare": "husky install",
"semantic-release": "semantic-release",
"test:watch": "jest --watch",
"test": "export NODE_OPTIONS='$NODE_OPTIONS --experimental-vm-modules' && jest --coverage",
"typecheck": "tsc --noEmit"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ntrotner/playwright-performance-reporter.git"
},
"keywords": [
"playwright",
"playwright-typescript",
"reporter",
"chrome-devtools-protocol"
],
"license": "MIT",
"author": {
"name": "Nikita Trotner",
"email": "ntrotner@users.noreply.github.com",
"url": "https://github.com/ntrotner"
},
"engines": {
"node": ">=20.0"
},
"bugs": {
"url": "https://github.com/ntrotner/playwright-performance-reporter/issues"
},
"homepage": "https://github.com/ntrotner/playwright-performance-reporter#readme",
"dependencies": {
"@types/chrome-remote-interface": "^0.33.0",
"chrome-remote-interface": "^0.34.0",
"JSONStream": "^1.3.5"
},
"devDependencies": {
"@playwright/test": "^1.58.2",
"@ryansonshine/commitizen": "^4.2.8",
"@ryansonshine/cz-conventional-changelog": "^3.3.4",
"@types/jest": "^30.0.0",
"@types/node": "^20.14.8",
"conventional-changelog-conventionalcommits": "^9.1.0",
"eslint-plugin-import-newlines": "^1.4.0",
"husky": "^9.1.4",
"jest": "^30.2.0",
"lint-staged": "^16.2.7",
"semantic-release": "^25.0.3",
"ts-jest": "^29.4.6",
"ts-node": "^10.2.1",
"typescript": "^5.5.4",
"xo": "^1.2.3"
},
"config": {
"commitizen": {
"path": "./node_modules/@ryansonshine/cz-conventional-changelog"
}
},
"lint-staged": {
"!(test/**/*|example/**/*)*.ts": "xo ./src/ --fix"
},
"release": {
"branches": [
"main"
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits",
"releaseRules": [
{
"type": "chore",
"release": "patch"
},
{
"type": "fix",
"release": "patch"
},
{
"type": "feat",
"release": "minor"
},
{
"type": "build",
"release": "major"
}
]
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "build",
"section": "Dependencies and Other Build Updates",
"hidden": false
}
]
}
}
],
"@semantic-release/npm",
"@semantic-release/github"
]
}
}