mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 14:11:50 +03:00
87 lines
3.5 KiB
JSON
87 lines
3.5 KiB
JSON
{
|
|
"name": "playwright-internal",
|
|
"private": true,
|
|
"version": "1.1.0-post",
|
|
"description": "A high-level API to automate web browsers",
|
|
"repository": "github:Microsoft/playwright",
|
|
"homepage": "https://playwright.dev",
|
|
"engines": {
|
|
"node": ">=10.15.0"
|
|
},
|
|
"bin": {
|
|
"playwright": "lib/cli/index.js"
|
|
},
|
|
"scripts": {
|
|
"ctest": "cross-env BROWSER=chromium node --unhandled-rejections=strict test/test.js",
|
|
"ftest": "cross-env BROWSER=firefox node --unhandled-rejections=strict test/test.js",
|
|
"wtest": "cross-env BROWSER=webkit node --unhandled-rejections=strict test/test.js",
|
|
"test": "cross-env BROWSER=all node --unhandled-rejections=strict test/test.js",
|
|
"cunit": "cross-env BROWSER=chromium node --unhandled-rejections=strict test/test.js",
|
|
"funit": "cross-env BROWSER=firefox node --unhandled-rejections=strict test/test.js",
|
|
"wunit": "cross-env BROWSER=webkit node --unhandled-rejections=strict test/test.js",
|
|
"unit": "cross-env BROWSER=all node --unhandled-rejections=strict test/test.js",
|
|
"ccoverage": "cross-env COVERAGE=true BROWSER=chromium node --unhandled-rejections=strict test/test.js",
|
|
"fcoverage": "cross-env COVERAGE=true BROWSER=firefox node --unhandled-rejections=strict test/test.js",
|
|
"wcoverage": "cross-env COVERAGE=true BROWSER=webkit node --unhandled-rejections=strict test/test.js",
|
|
"coverage": "cross-env COVERAGE=true BROWSER=all node --unhandled-rejections=strict test/test.js",
|
|
"eslint": "[ \"$CI\" = true ] && eslint --quiet -f codeframe --ext js,ts ./src || eslint --ext js,ts ./src",
|
|
"tsc": "tsc -p .",
|
|
"doc": "node utils/doclint/cli.js",
|
|
"test-infra": "node utils/doclint/check_public_api/test/test.js && node utils/doclint/preprocessor/test.js && node utils/testrunner/test/test.js",
|
|
"lint": "npm run eslint && npm run tsc && npm run doc && npm run test-types && npm run test-infra",
|
|
"debug-test": "node --inspect-brk test/test.js",
|
|
"clean": "rimraf lib && rimraf types",
|
|
"prepare": "node install-from-github.js",
|
|
"build": "node utils/runWebpack.js --mode='development' && tsc -p .",
|
|
"watch": "node utils/runWebpack.js --mode='development' --watch --silent | tsc -w -p .",
|
|
"test-types": "npm run generate-types && npx -p typescript@3.7.5 tsc -p utils/generate_types/test/tsconfig.json",
|
|
"generate-types": "node utils/generate_types/"
|
|
},
|
|
"author": {
|
|
"name": "Microsoft Corporation"
|
|
},
|
|
"license": "Apache-2.0",
|
|
"dependencies": {
|
|
"commander": "^5.1.0",
|
|
"debug": "^4.1.1",
|
|
"extract-zip": "^2.0.0",
|
|
"https-proxy-agent": "^3.0.0",
|
|
"jpeg-js": "^0.3.7",
|
|
"mime": "^2.4.4",
|
|
"pngjs": "^5.0.0",
|
|
"progress": "^2.0.3",
|
|
"proxy-from-env": "^1.1.0",
|
|
"rimraf": "^3.0.2",
|
|
"ws": "^6.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/debug": "0.0.31",
|
|
"@types/extract-zip": "^1.6.2",
|
|
"@types/mime": "^2.0.1",
|
|
"@types/node": "^10.17.17",
|
|
"@types/pngjs": "^3.4.0",
|
|
"@types/progress": "^2.0.3",
|
|
"@types/proxy-from-env": "^1.0.0",
|
|
"@types/rimraf": "^2.0.2",
|
|
"@types/ws": "^6.0.1",
|
|
"@typescript-eslint/eslint-plugin": "^2.6.1",
|
|
"@typescript-eslint/parser": "^2.6.1",
|
|
"colors": "^1.4.0",
|
|
"commonmark": "^0.28.1",
|
|
"cross-env": "^5.0.5",
|
|
"electron": "^9.0.0-beta.24",
|
|
"eslint": "^6.6.0",
|
|
"esprima": "^4.0.0",
|
|
"formidable": "^1.2.1",
|
|
"ncp": "^2.0.0",
|
|
"node-stream-zip": "^1.8.2",
|
|
"pixelmatch": "^4.0.2",
|
|
"socksv5": "0.0.6",
|
|
"text-diff": "^1.0.1",
|
|
"ts-loader": "^6.1.2",
|
|
"typescript": "^3.8.3",
|
|
"webpack": "^4.41.0",
|
|
"webpack-cli": "^3.3.9"
|
|
}
|
|
}
|