2019-11-19 05:18:28 +03:00
|
|
|
{
|
2020-05-21 23:18:15 +03:00
|
|
|
"name": "playwright-internal",
|
|
|
|
"private": true,
|
2020-08-05 22:32:56 +03:00
|
|
|
"version": "1.3.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",
|
2020-05-07 22:31:59 +03:00
|
|
|
"homepage": "https://playwright.dev",
|
2019-11-19 05:18:28 +03:00
|
|
|
"engines": {
|
2020-01-29 22:58:29 +03:00
|
|
|
"node": ">=10.15.0"
|
2019-11-19 05:18:28 +03:00
|
|
|
},
|
|
|
|
"scripts": {
|
2020-08-21 02:04:27 +03:00
|
|
|
"ctest": "cross-env BROWSER=chromium node test-runner/cli test/",
|
|
|
|
"ftest": "cross-env BROWSER=firefox node test-runner/cli test/",
|
|
|
|
"wtest": "cross-env BROWSER=webkit node test-runner/cli test/",
|
|
|
|
"test": "node test-runner/cli test/",
|
2020-03-08 04:09:38 +03:00
|
|
|
"eslint": "[ \"$CI\" = true ] && eslint --quiet -f codeframe --ext js,ts ./src || eslint --ext js,ts ./src",
|
2019-11-19 05:18:28 +03:00
|
|
|
"tsc": "tsc -p .",
|
2020-07-02 01:22:29 +03:00
|
|
|
"tsc-installer": "tsc -p ./src/install/tsconfig.json",
|
2020-03-08 04:09:38 +03:00
|
|
|
"doc": "node utils/doclint/cli.js",
|
2020-08-21 23:22:43 +03:00
|
|
|
"test-infra": "node test-runner/cli utils/doclint/check_public_api/test/test.js && node test-runner/cli utils/doclint/preprocessor/test.js && npm run test-testrunner",
|
2020-08-14 02:00:23 +03:00
|
|
|
"lint": "npm run eslint && npm run tsc && npm run doc && npm run check-deps && npm run generate-channels && npm run test-types && npm run test-infra",
|
2020-03-20 11:30:35 +03:00
|
|
|
"clean": "rimraf lib && rimraf types",
|
2020-03-08 04:09:38 +03:00
|
|
|
"prepare": "node install-from-github.js",
|
2020-08-21 02:04:27 +03:00
|
|
|
"build": "node utils/runWebpack.js --mode='development' && tsc -p . && npm run build-testrunner && npm run generate-types",
|
2020-08-20 19:27:04 +03:00
|
|
|
"watch": "node utils/watch.js",
|
2020-07-08 10:20:36 +03:00
|
|
|
"test-types": "npm run generate-types && npx -p typescript@3.7.5 tsc -p utils/generate_types/test/tsconfig.json && npm run typecheck-tests",
|
|
|
|
"generate-types": "node utils/generate_types/",
|
2020-07-31 01:08:21 +03:00
|
|
|
"generate-channels": "node utils/generate_channels.js",
|
2020-07-08 21:13:18 +03:00
|
|
|
"typecheck-tests": "tsc -p ./test/",
|
2020-07-09 03:10:33 +03:00
|
|
|
"roll-browser": "node utils/roll_browser.js",
|
2020-08-20 03:47:24 +03:00
|
|
|
"coverage": "node test/checkCoverage.js",
|
2020-08-17 22:44:39 +03:00
|
|
|
"check-deps": "node utils/check_deps.js",
|
2020-08-21 02:04:27 +03:00
|
|
|
"build-driver": "pkg --public --targets node12-linux-x64,node12-macos-x64,node12-win-x64 --out-path=drivers packages/playwright-driver/main.js",
|
2020-08-21 23:22:43 +03:00
|
|
|
"build-testrunner": "tsc -p test-runner",
|
|
|
|
"test-testrunner": "node test-runner/cli test-runner/test"
|
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": {
|
2020-04-21 06:00:55 +03:00
|
|
|
"debug": "^4.1.1",
|
2020-04-08 00:56:30 +03:00
|
|
|
"extract-zip": "^2.0.0",
|
2020-07-01 03:03:01 +03:00
|
|
|
"https-proxy-agent": "^5.0.0",
|
2020-07-27 20:39:59 +03:00
|
|
|
"jpeg-js": "^0.4.0",
|
2020-04-02 00:42:47 +03:00
|
|
|
"mime": "^2.4.4",
|
2020-04-17 18:44:33 +03:00
|
|
|
"pngjs": "^5.0.0",
|
2019-12-14 23:16:28 +03:00
|
|
|
"progress": "^2.0.3",
|
2020-03-04 22:02:50 +03:00
|
|
|
"proxy-from-env": "^1.1.0",
|
2020-02-10 22:27:27 +03:00
|
|
|
"rimraf": "^3.0.2",
|
2019-11-19 05:18:28 +03:00
|
|
|
"ws": "^6.1.0"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-08-14 17:28:35 +03:00
|
|
|
"@babel/code-frame": "^7.10.4",
|
2020-07-08 10:20:36 +03:00
|
|
|
"@babel/core": "^7.10.3",
|
|
|
|
"@babel/preset-env": "^7.10.3",
|
|
|
|
"@babel/preset-typescript": "^7.10.1",
|
2020-08-23 21:44:41 +03:00
|
|
|
"@types/babel__core": "^7.1.9",
|
2019-11-19 05:18:28 +03:00
|
|
|
"@types/debug": "0.0.31",
|
|
|
|
"@types/extract-zip": "^1.6.2",
|
2020-04-02 00:42:47 +03:00
|
|
|
"@types/mime": "^2.0.1",
|
2020-04-07 17:40:57 +03:00
|
|
|
"@types/node": "^10.17.17",
|
2019-12-07 04:14:08 +03:00
|
|
|
"@types/pngjs": "^3.4.0",
|
2020-04-25 05:14:10 +03:00
|
|
|
"@types/progress": "^2.0.3",
|
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-08-23 21:44:41 +03:00
|
|
|
"@types/source-map-support": "^0.5.3",
|
2020-08-14 17:28:35 +03:00
|
|
|
"@types/stack-utils": "^1.0.1",
|
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",
|
2020-02-21 09:55:39 +03:00
|
|
|
"colors": "^1.4.0",
|
2020-08-11 20:57:30 +03:00
|
|
|
"commander": "^6.0.0",
|
2019-11-19 05:18:28 +03:00
|
|
|
"commonmark": "^0.28.1",
|
|
|
|
"cross-env": "^5.0.5",
|
2020-05-12 04:00:33 +03:00
|
|
|
"electron": "^9.0.0-beta.24",
|
2019-11-19 05:18:28 +03:00
|
|
|
"eslint": "^6.6.0",
|
2020-07-07 21:12:45 +03:00
|
|
|
"eslint-plugin-notice": "^0.9.10",
|
2019-11-19 05:18:28 +03:00
|
|
|
"esprima": "^4.0.0",
|
2020-08-12 21:48:30 +03:00
|
|
|
"expect": "^26.3.0",
|
2020-02-10 21:08:51 +03:00
|
|
|
"formidable": "^1.2.1",
|
2019-11-19 05:18:28 +03:00
|
|
|
"ncp": "^2.0.0",
|
2019-12-04 21:33:29 +03:00
|
|
|
"node-stream-zip": "^1.8.2",
|
2020-07-08 10:20:36 +03:00
|
|
|
"pirates": "^4.0.1",
|
2019-11-19 05:18:28 +03:00
|
|
|
"pixelmatch": "^4.0.2",
|
2020-08-17 22:44:39 +03:00
|
|
|
"pkg": "^4.4.9",
|
2020-06-05 23:50:15 +03:00
|
|
|
"socksv5": "0.0.6",
|
2020-08-14 09:17:46 +03:00
|
|
|
"source-map-support": "^0.5.19",
|
2020-08-14 17:28:35 +03:00
|
|
|
"stack-utils": "^2.0.2",
|
|
|
|
"terminal-link": "^2.1.1",
|
2019-11-19 05:18:28 +03:00
|
|
|
"text-diff": "^1.0.1",
|
2019-11-22 01:43:30 +03:00
|
|
|
"ts-loader": "^6.1.2",
|
2020-04-02 21:05:53 +03:00
|
|
|
"typescript": "^3.8.3",
|
2019-11-22 01:43:30 +03:00
|
|
|
"webpack": "^4.41.0",
|
2020-07-23 05:38:19 +03:00
|
|
|
"webpack-cli": "^3.3.9",
|
|
|
|
"yaml": "^1.10.0"
|
2019-11-19 05:18:28 +03:00
|
|
|
}
|
|
|
|
}
|