2019-11-18 18:18:28 -08:00
|
|
|
{
|
2020-05-21 13:18:15 -07:00
|
|
|
"name": "playwright-internal",
|
|
|
|
|
"private": true,
|
2021-06-08 11:22:56 -07:00
|
|
|
"version": "1.13.0-next",
|
2020-01-07 11:51:22 -08:00
|
|
|
"description": "A high-level API to automate web browsers",
|
2019-11-18 18:18:28 -08:00
|
|
|
"repository": "github:Microsoft/playwright",
|
2020-05-07 21:31:59 +02:00
|
|
|
"homepage": "https://playwright.dev",
|
2019-11-18 18:18:28 -08:00
|
|
|
"engines": {
|
2021-04-30 16:49:10 +02:00
|
|
|
"node": ">=12"
|
2019-11-18 18:18:28 -08:00
|
|
|
},
|
|
|
|
|
"scripts": {
|
2021-06-06 17:09:53 -07: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-06-02 08:41:48 -07:00
|
|
|
"eslint": "[ \"$CI\" = true ] && eslint --quiet -f codeframe --ext ts . || eslint --ext ts .",
|
2019-11-18 18:18:28 -08:00
|
|
|
"tsc": "tsc -p .",
|
2021-07-06 20:59:16 -07:00
|
|
|
"build-installer": "babel -s --extensions \".ts\" --out-dir lib/utils/ src/utils",
|
2020-03-07 17:09:38 -08:00
|
|
|
"doc": "node utils/doclint/cli.js",
|
2021-04-05 13:23:49 -07: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-23 18:01:48 -07:00
|
|
|
"clean": "rimraf lib && rimraf src/generated/",
|
2020-03-07 17:09:38 -08:00
|
|
|
"prepare": "node install-from-github.js",
|
2021-01-06 12:41:17 -08:00
|
|
|
"build": "node utils/build/build.js",
|
2021-06-23 18:01:48 -07:00
|
|
|
"watch": "node utils/build/build.js --watch --lint",
|
2021-04-05 13:23:49 -07: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 16:23:01 +00:00
|
|
|
"roll": "node utils/roll_browser.js",
|
2020-12-11 23:35:25 -08:00
|
|
|
"check-deps": "node utils/check_deps.js",
|
2021-05-12 19:55:49 -07:00
|
|
|
"build-android-driver": "./utils/build_android_driver.sh"
|
2019-11-18 18:18:28 -08:00
|
|
|
},
|
2019-12-05 11:29:16 -08:00
|
|
|
"author": {
|
|
|
|
|
"name": "Microsoft Corporation"
|
|
|
|
|
},
|
2020-01-06 18:22:35 -08:00
|
|
|
"license": "Apache-2.0",
|
2020-12-22 14:54:13 -08:00
|
|
|
"bin": {
|
|
|
|
|
"playwright": "./lib/cli/cli.js"
|
|
|
|
|
},
|
2021-06-06 17:09:53 -07:00
|
|
|
"DEPS-NOTE": "Any non-test dependency must be added to the build_package.js script as well",
|
2019-11-18 18:18:28 -08:00
|
|
|
"dependencies": {
|
2021-06-06 17:09:53 -07:00
|
|
|
"@babel/code-frame": "^7.12.13",
|
|
|
|
|
"@babel/core": "^7.14.0",
|
|
|
|
|
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
|
|
|
|
"@babel/plugin-proposal-dynamic-import": "^7.13.8",
|
|
|
|
|
"@babel/plugin-proposal-export-namespace-from": "^7.12.13",
|
|
|
|
|
"@babel/plugin-proposal-logical-assignment-operators": "^7.13.8",
|
|
|
|
|
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.13.8",
|
|
|
|
|
"@babel/plugin-proposal-numeric-separator": "^7.12.13",
|
|
|
|
|
"@babel/plugin-proposal-optional-chaining": "^7.13.12",
|
|
|
|
|
"@babel/plugin-proposal-private-methods": "^7.13.0",
|
|
|
|
|
"@babel/plugin-proposal-private-property-in-object": "^7.14.0",
|
|
|
|
|
"@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",
|
|
|
|
|
"@babel/plugin-transform-modules-commonjs": "^7.14.0",
|
|
|
|
|
"@babel/preset-typescript": "^7.13.0",
|
|
|
|
|
"colors": "^1.4.0",
|
2020-12-22 14:54:13 -08:00
|
|
|
"commander": "^6.1.0",
|
2020-04-20 20:00:55 -07:00
|
|
|
"debug": "^4.1.1",
|
2021-06-08 11:22:56 -07:00
|
|
|
"expect": "^26.4.2",
|
2020-08-28 22:43:57 +02:00
|
|
|
"extract-zip": "^2.0.1",
|
2020-06-30 17:03:01 -07:00
|
|
|
"https-proxy-agent": "^5.0.0",
|
2020-08-28 22:43:57 +02:00
|
|
|
"jpeg-js": "^0.4.2",
|
|
|
|
|
"mime": "^2.4.6",
|
2021-06-08 11:22:56 -07:00
|
|
|
"minimatch": "^3.0.3",
|
|
|
|
|
"ms": "^2.1.2",
|
|
|
|
|
"pirates": "^4.0.1",
|
|
|
|
|
"pixelmatch": "^5.2.1",
|
2020-04-17 17:44:33 +02:00
|
|
|
"pngjs": "^5.0.0",
|
2019-12-14 12:16:28 -08:00
|
|
|
"progress": "^2.0.3",
|
2020-09-21 16:09:11 -07:00
|
|
|
"proper-lockfile": "^4.1.1",
|
2020-03-04 11:02:50 -08:00
|
|
|
"proxy-from-env": "^1.1.0",
|
2020-02-10 11:27:27 -08:00
|
|
|
"rimraf": "^3.0.2",
|
2021-06-08 11:22:56 -07:00
|
|
|
"source-map-support": "^0.4.18",
|
2021-02-10 18:52:28 -08:00
|
|
|
"stack-utils": "^2.0.3",
|
2021-05-31 15:38:48 -07:00
|
|
|
"ws": "^7.4.6",
|
2021-04-24 20:39:48 -07:00
|
|
|
"yazl": "^2.5.1"
|
2019-11-18 18:18:28 -08:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2021-06-25 22:27:19 +02:00
|
|
|
"@babel/cli": "^7.14.3",
|
2021-06-23 18:01:48 -07:00
|
|
|
"@babel/preset-react": "^7.14.5",
|
2021-06-06 17:09:53 -07:00
|
|
|
"@types/babel__code-frame": "^7.0.2",
|
|
|
|
|
"@types/babel__core": "^7.1.14",
|
2020-08-28 22:43:57 +02:00
|
|
|
"@types/debug": "^4.1.5",
|
2019-11-18 18:18:28 -08:00
|
|
|
"@types/extract-zip": "^1.6.2",
|
2020-08-28 22:43:57 +02:00
|
|
|
"@types/mime": "^2.0.3",
|
2021-06-06 17:09:53 -07:00
|
|
|
"@types/minimatch": "^3.0.3",
|
2020-08-28 22:43:57 +02:00
|
|
|
"@types/node": "^10.17.28",
|
2021-06-06 17:09:53 -07:00
|
|
|
"@types/pixelmatch": "^5.2.1",
|
2020-08-28 22:43:57 +02:00
|
|
|
"@types/pngjs": "^3.4.2",
|
2020-04-24 19:14:10 -07:00
|
|
|
"@types/progress": "^2.0.3",
|
2020-09-21 16:09:11 -07:00
|
|
|
"@types/proper-lockfile": "^4.1.1",
|
2020-08-28 22:43:57 +02:00
|
|
|
"@types/proxy-from-env": "^1.0.1",
|
2021-01-07 16:15:34 -08:00
|
|
|
"@types/react": "^17.0.0",
|
|
|
|
|
"@types/react-dom": "^17.0.0",
|
|
|
|
|
"@types/resize-observer-browser": "^0.1.4",
|
2020-08-28 22:43:57 +02:00
|
|
|
"@types/rimraf": "^3.0.0",
|
2021-06-06 17:09:53 -07:00
|
|
|
"@types/source-map-support": "^0.4.2",
|
2021-01-08 16:15:05 -08:00
|
|
|
"@types/webpack": "^4.41.25",
|
2020-08-28 22:43:57 +02:00
|
|
|
"@types/ws": "7.2.6",
|
2021-06-06 17:09:53 -07:00
|
|
|
"@types/xml2js": "^0.4.5",
|
2021-04-24 20:39:48 -07:00
|
|
|
"@types/yazl": "^2.4.2",
|
2021-05-26 23:17:56 -07:00
|
|
|
"@typescript-eslint/eslint-plugin": "^4.25.0",
|
|
|
|
|
"@typescript-eslint/parser": "^4.25.0",
|
2021-06-25 22:27:19 +02:00
|
|
|
"babel-loader": "^8.2.2",
|
2021-01-07 13:26:34 -08:00
|
|
|
"chokidar": "^3.5.0",
|
2020-08-28 22:43:57 +02:00
|
|
|
"commonmark": "^0.29.1",
|
|
|
|
|
"cross-env": "^7.0.2",
|
2021-06-03 15:11:15 -07:00
|
|
|
"css-loader": "^5.2.6",
|
2021-01-14 21:43:05 +03:00
|
|
|
"electron": "^11.1.1",
|
2020-08-26 08:57:03 -07:00
|
|
|
"eslint": "^7.7.0",
|
2020-07-07 11:12:45 -07:00
|
|
|
"eslint-plugin-notice": "^0.9.10",
|
2021-01-07 16:15:34 -08:00
|
|
|
"eslint-plugin-react-hooks": "^4.2.0",
|
|
|
|
|
"file-loader": "^6.1.0",
|
2020-08-28 22:43:57 +02:00
|
|
|
"formidable": "^1.2.2",
|
2021-01-07 16:15:34 -08:00
|
|
|
"html-webpack-plugin": "^4.4.1",
|
2019-11-18 18:18:28 -08:00
|
|
|
"ncp": "^2.0.0",
|
2020-08-28 22:43:57 +02:00
|
|
|
"node-stream-zip": "^1.11.3",
|
2021-01-07 16:15:34 -08:00
|
|
|
"react": "^17.0.1",
|
|
|
|
|
"react-dom": "^17.0.1",
|
2020-06-05 13:50:15 -07:00
|
|
|
"socksv5": "0.0.6",
|
2021-01-07 16:15:34 -08:00
|
|
|
"style-loader": "^1.2.1",
|
2021-06-06 17:09:53 -07:00
|
|
|
"typescript": "=4.2.4",
|
2020-09-29 11:51:00 -07:00
|
|
|
"webpack": "^4.44.2",
|
2020-08-28 22:43:57 +02:00
|
|
|
"webpack-cli": "^3.3.12",
|
2021-06-06 17:09:53 -07:00
|
|
|
"xml2js": "^0.4.23",
|
2020-07-22 19:38:19 -07:00
|
|
|
"yaml": "^1.10.0"
|
2019-11-18 18:18:28 -08:00
|
|
|
}
|
|
|
|
|
}
|