2019-11-19 05:18:28 +03:00
|
|
|
{
|
2020-05-21 23:18:15 +03:00
|
|
|
"name": "playwright-internal",
|
|
|
|
"private": true,
|
2021-08-11 21:21:38 +03:00
|
|
|
"version": "1.15.0-next",
|
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": {
|
2021-04-30 17:49:10 +03:00
|
|
|
"node": ">=12"
|
2019-11-19 05:18:28 +03:00
|
|
|
},
|
|
|
|
"scripts": {
|
2021-06-07 03:09:53 +03:00
|
|
|
"basetest": "node ./tests/config/test-runner/node_modules/@playwright/test/lib/cli/cli.js test",
|
|
|
|
"ctest": "npm run basetest -- --config=tests/config/default.config.ts --project=chromium",
|
|
|
|
"ftest": "npm run basetest -- --config=tests/config/default.config.ts --project=firefox",
|
|
|
|
"wtest": "npm run basetest -- --config=tests/config/default.config.ts --project=webkit",
|
|
|
|
"atest": "npm run basetest -- --config=tests/config/android.config.ts",
|
|
|
|
"etest": "npm run basetest -- --config=tests/config/electron.config.ts",
|
|
|
|
"ttest": "npm run basetest -- --config=tests/playwright-test/playwright-test.config.ts",
|
|
|
|
"test": "npm run basetest -- --config=tests/config/default.config.ts",
|
2021-07-28 19:21:55 +03:00
|
|
|
"eslint": "[ \"$CI\" = true ] && eslint --quiet -f codeframe --ext ts,tsx . || eslint --ext ts,tsx .",
|
2019-11-19 05:18:28 +03:00
|
|
|
"tsc": "tsc -p .",
|
2021-07-07 06:59:16 +03:00
|
|
|
"build-installer": "babel -s --extensions \".ts\" --out-dir lib/utils/ src/utils",
|
2020-03-08 04:09:38 +03:00
|
|
|
"doc": "node utils/doclint/cli.js",
|
2021-04-05 23:23:49 +03:00
|
|
|
"lint": "npm run eslint && npm run tsc && npm run doc && npm run check-deps && node utils/generate_channels.js && node utils/generate_types/ --check-clean && npm run test-types",
|
2021-06-24 04:01:48 +03:00
|
|
|
"clean": "rimraf lib && rimraf src/generated/",
|
2020-03-08 04:09:38 +03:00
|
|
|
"prepare": "node install-from-github.js",
|
2021-01-06 23:41:17 +03:00
|
|
|
"build": "node utils/build/build.js",
|
2021-06-24 04:01:48 +03:00
|
|
|
"watch": "node utils/build/build.js --watch --lint",
|
2021-04-05 23:23:49 +03:00
|
|
|
"test-types": "node utils/generate_types/ && npx -p typescript@3.7.5 tsc -p utils/generate_types/test/tsconfig.json && tsc -p ./tests/",
|
2021-04-23 19:23:01 +03:00
|
|
|
"roll": "node utils/roll_browser.js",
|
2020-12-12 10:35:25 +03:00
|
|
|
"check-deps": "node utils/check_deps.js",
|
2021-05-13 05:55:49 +03:00
|
|
|
"build-android-driver": "./utils/build_android_driver.sh"
|
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",
|
2020-12-23 01:54:13 +03:00
|
|
|
"bin": {
|
|
|
|
"playwright": "./lib/cli/cli.js"
|
|
|
|
},
|
2021-06-07 03:09:53 +03:00
|
|
|
"DEPS-NOTE": "Any non-test dependency must be added to the build_package.js script as well",
|
2019-11-19 05:18:28 +03:00
|
|
|
"dependencies": {
|
2021-08-03 19:21:07 +03:00
|
|
|
"@babel/code-frame": "^7.14.5",
|
|
|
|
"@babel/core": "^7.14.8",
|
|
|
|
"@babel/plugin-proposal-class-properties": "^7.14.5",
|
|
|
|
"@babel/plugin-proposal-dynamic-import": "^7.14.5",
|
|
|
|
"@babel/plugin-proposal-export-namespace-from": "^7.14.5",
|
|
|
|
"@babel/plugin-proposal-logical-assignment-operators": "^7.14.5",
|
|
|
|
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.14.5",
|
|
|
|
"@babel/plugin-proposal-numeric-separator": "^7.14.5",
|
|
|
|
"@babel/plugin-proposal-optional-chaining": "^7.14.5",
|
|
|
|
"@babel/plugin-proposal-private-methods": "^7.14.5",
|
|
|
|
"@babel/plugin-proposal-private-property-in-object": "^7.14.5",
|
2021-06-07 03:09:53 +03:00
|
|
|
"@babel/plugin-syntax-async-generators": "^7.8.4",
|
|
|
|
"@babel/plugin-syntax-json-strings": "^7.8.3",
|
|
|
|
"@babel/plugin-syntax-object-rest-spread": "^7.8.3",
|
|
|
|
"@babel/plugin-syntax-optional-catch-binding": "^7.8.3",
|
2021-08-03 19:21:07 +03:00
|
|
|
"@babel/plugin-transform-modules-commonjs": "^7.14.5",
|
|
|
|
"@babel/preset-typescript": "^7.14.5",
|
2021-06-07 03:09:53 +03:00
|
|
|
"colors": "^1.4.0",
|
2020-12-23 01:54:13 +03:00
|
|
|
"commander": "^6.1.0",
|
2020-04-21 06:00:55 +03:00
|
|
|
"debug": "^4.1.1",
|
2021-06-08 21:22:56 +03:00
|
|
|
"expect": "^26.4.2",
|
2020-08-28 23:43:57 +03:00
|
|
|
"extract-zip": "^2.0.1",
|
2020-07-01 03:03:01 +03:00
|
|
|
"https-proxy-agent": "^5.0.0",
|
2020-08-28 23:43:57 +03:00
|
|
|
"jpeg-js": "^0.4.2",
|
|
|
|
"mime": "^2.4.6",
|
2021-06-08 21:22:56 +03:00
|
|
|
"minimatch": "^3.0.3",
|
|
|
|
"ms": "^2.1.2",
|
|
|
|
"pirates": "^4.0.1",
|
|
|
|
"pixelmatch": "^5.2.1",
|
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-09-22 02:09:11 +03:00
|
|
|
"proper-lockfile": "^4.1.1",
|
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",
|
2021-06-08 21:22:56 +03:00
|
|
|
"source-map-support": "^0.4.18",
|
2021-02-11 05:52:28 +03:00
|
|
|
"stack-utils": "^2.0.3",
|
2021-06-01 01:38:48 +03:00
|
|
|
"ws": "^7.4.6",
|
2021-04-25 06:39:48 +03:00
|
|
|
"yazl": "^2.5.1"
|
2019-11-19 05:18:28 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-08-03 19:21:07 +03:00
|
|
|
"@babel/cli": "^7.14.8",
|
|
|
|
"@babel/plugin-transform-typescript": "^7.14.6",
|
2021-06-24 04:01:48 +03:00
|
|
|
"@babel/preset-react": "^7.14.5",
|
2021-08-03 19:21:07 +03:00
|
|
|
"@types/babel__code-frame": "^7.0.3",
|
|
|
|
"@types/babel__core": "^7.1.15",
|
2020-08-28 23:43:57 +03:00
|
|
|
"@types/debug": "^4.1.5",
|
2019-11-19 05:18:28 +03:00
|
|
|
"@types/extract-zip": "^1.6.2",
|
2020-08-28 23:43:57 +03:00
|
|
|
"@types/mime": "^2.0.3",
|
2021-06-07 03:09:53 +03:00
|
|
|
"@types/minimatch": "^3.0.3",
|
2020-08-28 23:43:57 +03:00
|
|
|
"@types/node": "^10.17.28",
|
2021-06-07 03:09:53 +03:00
|
|
|
"@types/pixelmatch": "^5.2.1",
|
2020-08-28 23:43:57 +03:00
|
|
|
"@types/pngjs": "^3.4.2",
|
2020-04-25 05:14:10 +03:00
|
|
|
"@types/progress": "^2.0.3",
|
2020-09-22 02:09:11 +03:00
|
|
|
"@types/proper-lockfile": "^4.1.1",
|
2020-08-28 23:43:57 +03:00
|
|
|
"@types/proxy-from-env": "^1.0.1",
|
2021-01-08 03:15:34 +03:00
|
|
|
"@types/react": "^17.0.0",
|
|
|
|
"@types/react-dom": "^17.0.0",
|
|
|
|
"@types/resize-observer-browser": "^0.1.4",
|
2020-08-28 23:43:57 +03:00
|
|
|
"@types/rimraf": "^3.0.0",
|
2021-06-07 03:09:53 +03:00
|
|
|
"@types/source-map-support": "^0.4.2",
|
2021-01-09 03:15:05 +03:00
|
|
|
"@types/webpack": "^4.41.25",
|
2020-08-28 23:43:57 +03:00
|
|
|
"@types/ws": "7.2.6",
|
2021-06-07 03:09:53 +03:00
|
|
|
"@types/xml2js": "^0.4.5",
|
2021-04-25 06:39:48 +03:00
|
|
|
"@types/yazl": "^2.4.2",
|
2021-08-03 19:21:07 +03:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.28.4",
|
|
|
|
"@typescript-eslint/parser": "^4.28.4",
|
2021-08-05 23:36:47 +03:00
|
|
|
"ansi-to-html": "^0.7.1",
|
2021-06-25 23:27:19 +03:00
|
|
|
"babel-loader": "^8.2.2",
|
2021-01-08 00:26:34 +03:00
|
|
|
"chokidar": "^3.5.0",
|
2020-08-28 23:43:57 +03:00
|
|
|
"commonmark": "^0.29.1",
|
|
|
|
"cross-env": "^7.0.2",
|
2021-06-04 01:11:15 +03:00
|
|
|
"css-loader": "^5.2.6",
|
2021-01-14 21:43:05 +03:00
|
|
|
"electron": "^11.1.1",
|
2021-08-03 19:21:07 +03:00
|
|
|
"eslint": "^7.31.0",
|
2020-07-07 21:12:45 +03:00
|
|
|
"eslint-plugin-notice": "^0.9.10",
|
2021-01-08 03:15:34 +03:00
|
|
|
"eslint-plugin-react-hooks": "^4.2.0",
|
|
|
|
"file-loader": "^6.1.0",
|
2020-08-28 23:43:57 +03:00
|
|
|
"formidable": "^1.2.2",
|
2021-01-08 03:15:34 +03:00
|
|
|
"html-webpack-plugin": "^4.4.1",
|
2019-11-19 05:18:28 +03:00
|
|
|
"ncp": "^2.0.0",
|
2020-08-28 23:43:57 +03:00
|
|
|
"node-stream-zip": "^1.11.3",
|
2021-08-19 17:36:03 +03:00
|
|
|
"proxy": "^1.0.2",
|
2021-01-08 03:15:34 +03:00
|
|
|
"react": "^17.0.1",
|
|
|
|
"react-dom": "^17.0.1",
|
2020-06-05 23:50:15 +03:00
|
|
|
"socksv5": "0.0.6",
|
2021-01-08 03:15:34 +03:00
|
|
|
"style-loader": "^1.2.1",
|
2021-08-03 19:21:07 +03:00
|
|
|
"typescript": "^4.3.5",
|
2020-09-29 21:51:00 +03:00
|
|
|
"webpack": "^4.44.2",
|
2020-08-28 23:43:57 +03:00
|
|
|
"webpack-cli": "^3.3.12",
|
2021-06-07 03:09:53 +03:00
|
|
|
"xml2js": "^0.4.23",
|
2020-07-23 05:38:19 +03:00
|
|
|
"yaml": "^1.10.0"
|
2019-11-19 05:18:28 +03:00
|
|
|
}
|
|
|
|
}
|