Files
Minh-Anh PhanandGitHub 3181ad2806 [EngSys] Bump min-version to node 22 (#38887) ***NO_CI***
This pull request updates the Node.js version requirement across
multiple files and tools in the repository. The changes ensure
compatibility with Node.js version 22 and its corresponding type
definitions. Resolves #37945.

***NO_CI***
2026-06-23 16:25:55 -07:00

121 lines
3.8 KiB
JSON

{
"name": "@azure/playwright",
"version": "1.1.6",
"description": "Package to integrate your Playwright test suite with Azure Playwright service",
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/loadtesting/playwright/README.md",
"sdk-type": "client",
"repository": {
"type": "git",
"url": "git+https://github.com/Azure/azure-sdk-for-js",
"directory": "sdk/loadtesting/playwright"
},
"keywords": [
"azure",
"cloud",
"playwright",
"playwright workspaces"
],
"author": "Microsoft Corporation",
"license": "MIT",
"bugs": {
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
},
"engines": {
"node": ">=22.0.0"
},
"sideEffects": false,
"main": "./dist/commonjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/commonjs/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/commonjs/index.d.ts",
"default": "./dist/commonjs/index.js"
}
},
"./reporter": {
"import": {
"types": "./dist/esm/reporter/index.d.ts",
"default": "./dist/esm/reporter/index.js"
},
"require": {
"types": "./dist/commonjs/reporter/index.d.ts",
"default": "./dist/commonjs/reporter/index.js"
}
}
},
"files": [
"dist/",
"README.md",
"LICENSE"
],
"scripts": {
"build": "npm run clean && dev-tool run build-package && dev-tool run extract-api",
"build:samples": "echo Skipped.",
"check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples/**/*.ts\" \"*.{js,json}\"",
"clean": "rimraf --glob dist *.log dist-test temp types *.tgz *.xml samples/**/test-results/",
"execute:samples": "echo skipped",
"extract-api": "dev-tool run extract-api",
"format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"samples/**/*.ts\" \"*.{js,json}\"",
"lint": "eslint package.json CHANGELOG.md README.md src",
"lint:fix": "eslint package.json CHANGELOG.md README.md src --fix --fix-type [problem,suggestion]",
"pack": "pnpm pack 2>&1",
"test": "tsc -b --noEmit && npm run test:node && npm run test:browser",
"test:browser": "echo skipped",
"test:node": "dev-tool run test:vitest",
"update-snippets": "dev-tool run update-snippets"
},
"dependencies": {
"@azure/core-auth": "^1.9.0",
"@azure/core-rest-pipeline": "^1.18.0",
"@azure/core-util": "^1.13.0",
"@azure/logger": "^1.1.4",
"@azure/storage-blob": "^12.24.0",
"tslib": "^2.8.1"
},
"devDependencies": {
"@azure-tools/test-utils-vitest": "workspace:^",
"@azure/dev-tool": "workspace:^",
"@azure/eslint-plugin-azure-sdk": "workspace:^",
"@azure/identity": "catalog:internal",
"@playwright/test": "^1.51.1",
"@types/debug": "^4.1.12",
"@types/node": "catalog:",
"@vitest/coverage-istanbul": "catalog:testing",
"cross-env": "catalog:",
"eslint": "catalog:",
"playwright": "catalog:testing",
"prettier": "catalog:",
"rimraf": "catalog:",
"typescript": "catalog:",
"vitest": "catalog:testing"
},
"peerDependencies": {
"@playwright/test": "^1.47.0"
},
"prettier": "@azure/eslint-plugin-azure-sdk/prettier.json",
"//sampleConfiguration": {
"productName": "Azure Load Testing",
"productSlugs": [
"azure",
"azure-load-testing"
],
"requiredResources": {
"Azure Playwright workspace": "https://learn.microsoft.com/azure/playwright-testing/"
}
},
"type": "module",
"imports": {
"#platform/*": {
"require": "./src/*-cjs.ts",
"default": "./src/*.ts"
}
}
}