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

106 lines
3.3 KiB
JSON

{
"name": "@azure/create-playwright",
"version": "1.1.1",
"description": "Package to setup @azure/playwright",
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/loadtesting/create-playwright/README.md",
"sdk-type": "client",
"repository": {
"type": "git",
"url": "git+https://github.com/Azure/azure-sdk-for-js",
"directory": "sdk/loadtesting/create-playwright"
},
"keywords": [
"azure",
"cloud",
"playwright",
"playwright workspaces",
"reporting"
],
"author": "Microsoft Corporation",
"license": "MIT",
"bugs": {
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
},
"engines": {
"node": ">=22.0.0"
},
"sideEffects": false,
"type": "module",
"main": "./dist/commonjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/commonjs/index.d.ts",
"bin": {
"init": "dist/commonjs/index.js"
},
"files": [
"dist/",
"README.md",
"LICENSE"
],
"scripts": {
"build": "npm run clean && dev-tool run build-package",
"build:samples": "echo Skipped.",
"check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"",
"clean": "rimraf --glob dist *.log dist-test temp types *.tgz *.xml samples/**/test-results/",
"execute:samples": "echo skipped",
"extract-api": "echo skipped",
"format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.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": "npm run test:node && npm run test:browser",
"test:browser": "echo skipped",
"test:node": "dev-tool run build-test --no-browser-test && dev-tool run test:vitest --no-test-proxy",
"update-snippets": "dev-tool run update-snippets"
},
"dependencies": {
"prompts": "^2.4.2",
"tslib": "^2.8.1"
},
"devDependencies": {
"@azure-tools/test-utils-vitest": "workspace:^",
"@azure/dev-tool": "workspace:^",
"@azure/eslint-plugin-azure-sdk": "workspace:^",
"@azure/logger": "^1.1.4",
"@types/node": "catalog:",
"@types/prompts": "^2.4.9",
"@vitest/browser-playwright": "catalog:testing",
"@vitest/coverage-istanbul": "catalog:testing",
"cross-env": "catalog:",
"eslint": "catalog:",
"prettier": "catalog:",
"rimraf": "catalog:",
"typescript": "catalog:",
"vitest": "catalog:testing"
},
"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/"
}
},
"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"
}
}
},
"imports": {
"#platform/*": {
"default": "./src/*.ts"
}
}
}