playwright/package.json
2022-03-25 23:09:02 -07:00

109 lines
4.7 KiB
JSON

{
"name": "playwright-internal",
"private": true,
"version": "1.21.0-next",
"description": "A high-level API to automate web browsers",
"repository": "github:Microsoft/playwright",
"homepage": "https://playwright.dev",
"engines": {
"node": ">=12"
},
"author": {
"name": "Microsoft Corporation"
},
"license": "Apache-2.0",
"scripts": {
"ctest": "playwright test --config=tests/library/playwright.config.ts --project=chromium",
"ftest": "playwright test --config=tests/library/playwright.config.ts --project=firefox",
"wtest": "playwright test --config=tests/library/playwright.config.ts --project=webkit",
"atest": "playwright test --config=tests/android/playwright.config.ts",
"etest": "playwright test --config=tests/electron/playwright.config.ts",
"htest": "playwright test --config=packages/html-reporter",
"ttest": "node ./tests/playwright-test/stable-test-runner/node_modules/@playwright/test/cli test --config=tests/playwright-test/playwright.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.config.ts",
"ct": "playwright test tests/components/test-all.spec.js --reporter=list",
"test": "playwright test --config=tests/library/playwright.config.ts",
"eslint": "eslint --ext ts,tsx .",
"tsc": "tsc -p .",
"build-installer": "babel -s --extensions \".ts\" --out-dir packages/playwright-core/lib/utils/ packages/playwright-core/src/utils",
"doc": "node utils/doclint/cli.js",
"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 lint-tests && npm run test-types && npm run lint-packages",
"lint-packages": "node utils/workspace.js --ensure-consistent",
"lint-tests": "node utils/lint_tests.js",
"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 lint-tests\" \"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/",
"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",
"build-android-driver": "./utils/build_android_driver.sh"
},
"workspaces": [
"packages/*"
],
"devDependencies": {
"@babel/cli": "^7.16.8",
"@babel/plugin-transform-typescript": "^7.16.8",
"@babel/preset-react": "^7.16.7",
"@types/babel__code-frame": "^7.0.3",
"@types/babel__core": "^7.1.18",
"@types/babel__helper-plugin-utils": "^7.10.0",
"@types/debug": "^4.1.7",
"@types/formidable": "^2.0.4",
"@types/mime": "^2.0.3",
"@types/minimatch": "^3.0.5",
"@types/ms": "^0.7.31",
"@types/node": "=14.17.15",
"@types/pixelmatch": "^5.2.4",
"@types/pngjs": "^6.0.1",
"@types/progress": "^2.0.5",
"@types/proper-lockfile": "^4.1.2",
"@types/proxy-from-env": "^1.0.1",
"@types/react": "^17.0.38",
"@types/react-dom": "^17.0.11",
"@types/resize-observer-browser": "^0.1.6",
"@types/rimraf": "^3.0.2",
"@types/source-map-support": "^0.5.4",
"@types/webpack": "^5.28.0",
"@types/ws": "8.2.2",
"@types/xml2js": "^0.4.9",
"@types/yazl": "^2.4.2",
"@typescript-eslint/eslint-plugin": "^5.10.2",
"@typescript-eslint/parser": "^5.10.2",
"@vitejs/plugin-react": "^1.0.7",
"@zip.js/zip.js": "^2.4.2",
"ansi-to-html": "^0.7.2",
"babel-loader": "^8.2.3",
"chokidar": "^3.5.3",
"commonmark": "^0.30.0",
"concurrently": "^6.2.1",
"copy-webpack-plugin": "^9.1.0",
"cross-env": "^7.0.3",
"css-loader": "^6.5.1",
"dotenv": "^16.0.0",
"electron": "^12.2.1",
"enquirer": "^2.3.6",
"eslint": "^8.8.0",
"eslint-plugin-notice": "^0.9.10",
"eslint-plugin-react-hooks": "^4.3.0",
"file-loader": "^6.2.0",
"formidable": "^2.0.1",
"html-webpack-plugin": "^5.5.0",
"mime": "^3.0.0",
"ncp": "^2.0.0",
"node-stream-zip": "^1.15.0",
"proxy": "^1.0.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"socksv5": "0.0.6",
"style-loader": "^3.3.1",
"typescript": "^4.5.5",
"vite": "^2.8.0",
"webpack": "^5.68.0",
"webpack-cli": "^4.9.2",
"xml2js": "^0.4.23",
"yaml": "^1.10.2"
}
}