2019-11-19 05:18:28 +03:00
|
|
|
{
|
2020-01-21 23:22:17 +03:00
|
|
|
"name": "playwright-core",
|
2020-02-01 05:46:34 +03:00
|
|
|
"version": "0.10.0-post",
|
2020-01-07 22:51:22 +03:00
|
|
|
"description": "A high-level API to automate web browsers",
|
2019-11-19 05:18:28 +03:00
|
|
|
"repository": "github:Microsoft/playwright",
|
|
|
|
"engines": {
|
2020-01-29 22:58:29 +03:00
|
|
|
"node": ">=10.15.0"
|
2019-11-19 05:18:28 +03:00
|
|
|
},
|
2019-12-05 22:29:16 +03:00
|
|
|
"main": "index.js",
|
2019-11-19 05:18:28 +03:00
|
|
|
"playwright": {
|
2020-02-07 08:23:28 +03:00
|
|
|
"chromium_revision": "739261",
|
2020-02-07 06:01:03 +03:00
|
|
|
"firefox_revision": "1025",
|
2020-02-08 04:08:37 +03:00
|
|
|
"webkit_revision": "1140"
|
2019-11-19 05:18:28 +03:00
|
|
|
},
|
|
|
|
"scripts": {
|
2020-01-29 05:04:51 +03:00
|
|
|
"ctest": "cross-env BROWSER=chromium node test/test.js",
|
|
|
|
"ftest": "cross-env BROWSER=firefox node test/test.js",
|
|
|
|
"wtest": "cross-env BROWSER=webkit node test/test.js",
|
2020-02-06 04:37:44 +03:00
|
|
|
"unit": "npm run ctest",
|
2020-02-06 04:42:34 +03:00
|
|
|
"funit": "npm run ftest",
|
|
|
|
"wunit": "npm run wtest",
|
2020-01-29 05:04:51 +03:00
|
|
|
"debug-test": "node --inspect-brk test/test.js",
|
2019-11-19 05:18:28 +03:00
|
|
|
"test-doclint": "node utils/doclint/check_public_api/test/test.js && node utils/doclint/preprocessor/test.js",
|
2019-12-06 22:28:23 +03:00
|
|
|
"test": "npm run lint --silent && npm run coverage && npm run test-doclint && node utils/testrunner/test/test.js",
|
2020-01-21 23:22:17 +03:00
|
|
|
"prepare": "node prepare.js",
|
2019-11-19 05:18:28 +03:00
|
|
|
"lint": "([ \"$CI\" = true ] && eslint --quiet -f codeframe --ext js,ts ./src || eslint --ext js,ts ./src) && npm run tsc && npm run doc",
|
|
|
|
"doc": "node utils/doclint/cli.js",
|
2020-01-29 05:04:51 +03:00
|
|
|
"ccoverage": "cross-env COVERAGE=true npm run ctest",
|
|
|
|
"fcoverage": "cross-env COVERAGE=true BROWSER=firefox node test/test.js",
|
|
|
|
"wcoverage": "cross-env COVERAGE=true BROWSER=webkit node test/test.js",
|
2019-11-19 05:18:28 +03:00
|
|
|
"tsc": "tsc -p .",
|
2020-01-23 07:25:52 +03:00
|
|
|
"clean": "rimraf lib",
|
2019-11-28 00:47:58 +03:00
|
|
|
"build": "node utils/runWebpack.js --mode='development' && tsc -p .",
|
2019-11-23 04:27:09 +03:00
|
|
|
"watch": "node utils/runWebpack.js --mode='development' --watch --silent | tsc -w -p .",
|
2020-01-21 23:22:17 +03:00
|
|
|
"apply-next-version": "node utils/apply_next_version.js",
|
2020-01-22 04:24:47 +03:00
|
|
|
"version": "node utils/sync_package_versions.js && npm run doc"
|
2019-11-19 05:18:28 +03:00
|
|
|
},
|
2019-12-05 22:29:16 +03:00
|
|
|
"author": {
|
|
|
|
"name": "Microsoft Corporation"
|
|
|
|
},
|
2020-01-07 05:22:35 +03:00
|
|
|
"license": "Apache-2.0",
|
2019-11-19 05:18:28 +03:00
|
|
|
"dependencies": {
|
|
|
|
"debug": "^4.1.0",
|
|
|
|
"extract-zip": "^1.6.6",
|
|
|
|
"https-proxy-agent": "^3.0.0",
|
2019-12-07 04:14:08 +03:00
|
|
|
"jpeg-js": "^0.3.6",
|
|
|
|
"pngjs": "^3.4.0",
|
2019-12-14 23:16:28 +03:00
|
|
|
"progress": "^2.0.3",
|
2019-11-19 05:18:28 +03:00
|
|
|
"proxy-from-env": "^1.0.0",
|
|
|
|
"rimraf": "^2.6.1",
|
2020-01-23 04:42:10 +03:00
|
|
|
"uuid": "^3.4.0",
|
2019-11-19 05:18:28 +03:00
|
|
|
"ws": "^6.1.0"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/debug": "0.0.31",
|
|
|
|
"@types/extract-zip": "^1.6.2",
|
2019-12-07 04:14:08 +03:00
|
|
|
"@types/jpeg-js": "^0.3.7",
|
2019-11-19 05:18:28 +03:00
|
|
|
"@types/node": "^8.10.34",
|
2019-12-07 04:14:08 +03:00
|
|
|
"@types/pngjs": "^3.4.0",
|
2020-01-14 00:33:25 +03:00
|
|
|
"@types/proxy-from-env": "^1.0.0",
|
2019-11-19 05:18:28 +03:00
|
|
|
"@types/rimraf": "^2.0.2",
|
2020-01-23 04:42:10 +03:00
|
|
|
"@types/uuid": "^3.4.6",
|
2019-11-19 05:18:28 +03:00
|
|
|
"@types/ws": "^6.0.1",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^2.6.1",
|
|
|
|
"@typescript-eslint/parser": "^2.6.1",
|
|
|
|
"commonmark": "^0.28.1",
|
|
|
|
"cross-env": "^5.0.5",
|
|
|
|
"eslint": "^6.6.0",
|
|
|
|
"esprima": "^4.0.0",
|
2020-02-10 21:08:51 +03:00
|
|
|
"formidable": "^1.2.1",
|
2019-11-19 05:18:28 +03:00
|
|
|
"minimist": "^1.2.0",
|
|
|
|
"ncp": "^2.0.0",
|
2019-12-04 21:33:29 +03:00
|
|
|
"node-stream-zip": "^1.8.2",
|
2019-11-19 05:18:28 +03:00
|
|
|
"pixelmatch": "^4.0.2",
|
|
|
|
"text-diff": "^1.0.1",
|
2019-11-22 01:43:30 +03:00
|
|
|
"ts-loader": "^6.1.2",
|
2020-02-06 03:53:36 +03:00
|
|
|
"typescript": "^3.7.5",
|
2019-11-22 01:43:30 +03:00
|
|
|
"webpack": "^4.41.0",
|
|
|
|
"webpack-cli": "^3.3.9"
|
2019-11-19 05:18:28 +03:00
|
|
|
},
|
|
|
|
"browser": {
|
|
|
|
"./lib/BrowserFetcher.js": false,
|
|
|
|
"ws": "./utils/browser/WebSocket",
|
|
|
|
"fs": false,
|
|
|
|
"child_process": false,
|
|
|
|
"rimraf": false,
|
|
|
|
"readline": false
|
|
|
|
}
|
|
|
|
}
|