playwright/package.json

104 lines
4.4 KiB
JSON
Raw Normal View History

2019-11-19 05:18:28 +03:00
{
"name": "playwright-internal",
"private": true,
2021-10-20 22:44:32 +03:00
"version": "1.17.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",
"homepage": "https://playwright.dev",
2019-11-19 05:18:28 +03:00
"engines": {
"node": ">=12"
2019-11-19 05:18:28 +03:00
},
2021-10-11 17:52:17 +03:00
"author": {
"name": "Microsoft Corporation"
},
"license": "Apache-2.0",
2019-11-19 05:18:28 +03:00
"scripts": {
"ctest": "playwright test --config=tests/config/default.config.ts --project=chromium",
"ftest": "playwright test --config=tests/config/default.config.ts --project=firefox",
"wtest": "playwright test --config=tests/config/default.config.ts --project=webkit",
"atest": "playwright test --config=tests/config/android.config.ts",
"etest": "playwright test --config=tests/config/electron.config.ts",
"ttest": "node ./tests/playwright-test/stable-test-runner/node_modules/@playwright/test/cli test --config=tests/playwright-test/playwright-test.config.ts",
"vtest": "cross-env PLAYWRIGHT_DOCKER=1 node ./tests/playwright-test/stable-test-runner/node_modules/@playwright/test/cli test --config=tests/playwright-test/playwright-test.config.ts",
"test": "playwright test --config=tests/config/default.config.ts",
"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-10-11 17:52:17 +03:00
"build-installer": "babel -s --extensions \".ts\" --out-dir packages/playwright-core/lib/utils/ packages/playwright-core/src/utils",
"doc": "node utils/doclint/cli.js",
2021-10-11 17:52:17 +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 && npm run lint-packages",
"lint-packages": "node utils/prepare_packages.js --check-clean",
"flint": "concurrently \"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\" \"npm run lint-packages\"",
"clean": "rimraf packages/playwright-core/lib && rimraf packages/playwright-test/lib && rimraf packages/playwright-core/src/generated/",
"prepare": "node install-from-github.js",
"build": "node utils/build/build.js",
"watch": "node utils/build/build.js --watch --lint",
"test-types": "node utils/generate_types/ && npx -p typescript@3.7.5 tsc -p utils/generate_types/test/tsconfig.json && tsc -p ./tests/",
"roll": "node utils/roll_browser.js",
"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
},
2021-10-11 17:52:17 +03:00
"workspaces": [
"packages/*"
],
2019-11-19 05:18:28 +03:00
"devDependencies": {
"@babel/cli": "^7.14.8",
"@babel/plugin-transform-typescript": "^7.14.6",
"@babel/preset-react": "^7.14.5",
"@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",
"@types/minimatch": "^3.0.3",
"@types/ms": "^0.7.31",
2021-10-02 05:40:47 +03:00
"@types/node": "^14.17.15",
"@types/pixelmatch": "^5.2.1",
2020-08-28 23:43:57 +03:00
"@types/pngjs": "^3.4.2",
"@types/progress": "^2.0.3",
"@types/proper-lockfile": "^4.1.1",
2020-08-28 23:43:57 +03:00
"@types/proxy-from-env": "^1.0.1",
"@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",
"@types/source-map-support": "^0.4.2",
"@types/webpack": "^5.28.0",
2020-08-28 23:43:57 +03:00
"@types/ws": "7.2.6",
"@types/xml2js": "^0.4.5",
"@types/yazl": "^2.4.2",
"@typescript-eslint/eslint-plugin": "^4.31.2",
"@typescript-eslint/parser": "^4.31.2",
"@vercel/ncc": "^0.31.1",
"@zip.js/zip.js": "^2.3.17",
"ansi-to-html": "^0.7.1",
"babel-loader": "^8.2.2",
2021-01-08 00:26:34 +03:00
"chokidar": "^3.5.0",
"chromedriver": "^95.0.0",
2020-08-28 23:43:57 +03:00
"commonmark": "^0.29.1",
2021-09-03 21:30:34 +03:00
"concurrently": "^6.2.1",
"copy-webpack-plugin": "^9.0.1",
2020-08-28 23:43:57 +03:00
"cross-env": "^7.0.2",
"css-loader": "^6.4.0",
2021-10-02 05:40:47 +03:00
"electron": "^12.2.1",
"enquirer": "^2.3.6",
"eslint": "^7.31.0",
"eslint-plugin-notice": "^0.9.10",
"eslint-plugin-react-hooks": "^4.2.0",
"file-loader": "^6.2.0",
2020-08-28 23:43:57 +03:00
"formidable": "^1.2.2",
"html-webpack-plugin": "^5.3.2",
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",
"proxy": "^1.0.2",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"socksv5": "0.0.6",
"style-loader": "^3.3.0",
"typescript": "^4.4.3",
"webpack": "^5.58.2",
"webpack-cli": "^4.9.0",
"xml2js": "^0.4.23",
"yaml": "^1.10.0"
2019-11-19 05:18:28 +03:00
}
2021-10-08 01:49:30 +03:00
}