{"_id":"@alanlu-dev/playwright-config","_rev":"5-353146536ac46cc722def40187ed9671","name":"@alanlu-dev/playwright-config","dist-tags":{"latest":"0.1.4"},"versions":{"0.1.0":{"name":"@alanlu-dev/playwright-config","version":"0.1.0","author":{"url":"https://github.com/alanlu-zyl","name":"Alan Lu","email":"hi@alanlu.dev"},"license":"MIT","_id":"@alanlu-dev/playwright-config@0.1.0","maintainers":[{"name":"u0124024","email":"mk816017@gmail.com"}],"homepage":"https://github.com/alanlu-dev/web-kit#readme","bugs":{"url":"https://github.com/alanlu-dev/web-kit/issues"},"dist":{"shasum":"1fe569926b0a4457641a0b5c68ac79b51cf1bd1a","tarball":"https://registry.npmjs.org/@alanlu-dev/playwright-config/-/playwright-config-0.1.0.tgz","fileCount":6,"integrity":"sha512-e4ziS0TlSbyy9oFvttIOHMm6Trg2EeaY7qS0nQ13YSm9fpEUptcwa9fefFnUsxLA9BrM6Mc3H+LWRWLy2GbvlA==","signatures":[{"sig":"MEUCIQD2cBYnTsiND4EB7DG91PpA1b+5k8fxI+MzDTBmrWCfjQIgGxIemh6t9pu/pxYP5jVSy5kuJOWena5pnTfeZANy5eA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28057},"main":"src/playwright.config.ts","type":"module","_from":"file:alanlu-dev-playwright-config-0.1.0.tgz","exports":{".":"./src/playwright.config.ts"},"scripts":{"lint":"pnpm lint:eslint && pnpm lint:prettier","e2e-test":"playwright test","lint:eslint":"eslint --fix .","lint:prettier":"prettier --ignore-path ../../.prettierignore --write ."},"_npmUser":{"name":"u0124024","email":"mk816017@gmail.com"},"_resolved":"/tmp/a7d5fff4582a2c0ecf451396e3647da2/alanlu-dev-playwright-config-0.1.0.tgz","_integrity":"sha512-e4ziS0TlSbyy9oFvttIOHMm6Trg2EeaY7qS0nQ13YSm9fpEUptcwa9fefFnUsxLA9BrM6Mc3H+LWRWLy2GbvlA==","repository":{"url":"git+ssh://git@github.com/alanlu-dev/web-kit.git","type":"git","directory":"packages/playwright-config"},"_npmVersion":"10.8.2","description":"<p>  <a href=\"https://github.com/alanlu-dev/web-kit/blob/main/packages/playwright-config/CHANGELOG.md\"><img src=\"https://img.shields.io/github/v/release/alanlu-dev/web-kit?filter=@alanlu-dev/playwright-config%2A&style=flat\" alt=\"Version\"></a>  <a href=\"ht","directories":{},"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"devDependencies":{"playwright-core":"^1.47.1","@playwright/test":"^1.47.1"},"peerDependencies":{"playwright-core":"^1.47.1","@playwright/test":"^1.47.1"},"_npmOperationalInternal":{"tmp":"tmp/playwright-config_0.1.0_1726734917626_0.21103509131083764","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@alanlu-dev/playwright-config","version":"0.1.1","author":{"url":"https://github.com/alanlu-zyl","name":"Alan Lu","email":"hi@alanlu.dev"},"license":"MIT","_id":"@alanlu-dev/playwright-config@0.1.1","maintainers":[{"name":"alanlu-zyl","email":"hi@alanlu.me"},{"name":"u0124024","email":"mk816017@gmail.com"}],"homepage":"https://github.com/alanlu-dev/web-kit#readme","bugs":{"url":"https://github.com/alanlu-dev/web-kit/issues"},"dist":{"shasum":"41bf684a3826ac522b51a2e173dec233fd8e01ba","tarball":"https://registry.npmjs.org/@alanlu-dev/playwright-config/-/playwright-config-0.1.1.tgz","fileCount":6,"integrity":"sha512-GbYBgOG7KbSEaHlehFqzqBXfJZTYjBP69PM8IUcYhjD2AJAS+oA6KZtGL7xQ4oAjDKRopmcgokfB9Uk1NUVtow==","signatures":[{"sig":"MEUCIB05ELMYE0zqb1G0UtjqcEHS3U0RDQBzpiYZTsinUwgKAiEAoftNdk4lRymRkQWpuo7YhOOK2erpX+9zoDlUsoe/lcw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28057},"main":"src/playwright.config.ts","type":"module","_from":"file:alanlu-dev-playwright-config-0.1.1.tgz","exports":{".":"./src/playwright.config.ts"},"scripts":{"lint":"pnpm lint:eslint && pnpm lint:prettier","e2e-test":"playwright test","lint:eslint":"eslint --fix .","lint:prettier":"prettier --ignore-path ../../.prettierignore --write ."},"_npmUser":{"name":"alanlu-zyl","email":"hi@alanlu.me"},"_resolved":"/tmp/6b83e3fc71fe3f2ecaa1715814bce1a4/alanlu-dev-playwright-config-0.1.1.tgz","_integrity":"sha512-GbYBgOG7KbSEaHlehFqzqBXfJZTYjBP69PM8IUcYhjD2AJAS+oA6KZtGL7xQ4oAjDKRopmcgokfB9Uk1NUVtow==","repository":{"url":"git+ssh://git@github.com/alanlu-dev/web-kit.git","type":"git","directory":"packages/playwright-config"},"_npmVersion":"10.8.2","description":"<p>  <a href=\"https://github.com/alanlu-dev/web-kit/blob/main/packages/playwright-config/CHANGELOG.md\"><img src=\"https://img.shields.io/github/v/release/alanlu-dev/web-kit?filter=@alanlu-dev/playwright-config%2A&style=flat\" alt=\"Version\"></a>  <a href=\"ht","directories":{},"_nodeVersion":"20.17.0","_hasShrinkwrap":false,"devDependencies":{"playwright-core":"^1.48.0","@playwright/test":"^1.48.0"},"peerDependencies":{"playwright-core":"^1.48.0","@playwright/test":"^1.48.0"},"_npmOperationalInternal":{"tmp":"tmp/playwright-config_0.1.1_1729060028124_0.5768240778505622","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"@alanlu-dev/playwright-config","version":"0.1.2","author":{"url":"https://github.com/alanlu-zyl","name":"Alan Lu","email":"hi@alanlu.me"},"license":"MIT","_id":"@alanlu-dev/playwright-config@0.1.2","maintainers":[{"name":"alanlu-zyl","email":"hi@alanlu.me"}],"homepage":"https://github.com/alanlu-dev/web-kit#readme","bugs":{"url":"https://github.com/alanlu-dev/web-kit/issues"},"dist":{"shasum":"6d5770779e1e5927599f32773ff887aac318af27","tarball":"https://registry.npmjs.org/@alanlu-dev/playwright-config/-/playwright-config-0.1.2.tgz","fileCount":6,"integrity":"sha512-dA07y96hDDxZ55K4RorVWSKpHVmi6ClaMYS74Wwie/b1XIcHF7C+xOtnb1moYBxxjiRsbc+aUms2ReobG3TvQg==","signatures":[{"sig":"MEYCIQCpbJi2R1CZ8Ni2mv1h1GkH38P6okL3Exmx6EjnPUrIoQIhANNtixhnPVNP0B93aA7m6CnFBYOTdIiwnk1WxMNfgWv0","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28010},"main":"src/playwright.config.ts","type":"module","_from":"file:alanlu-dev-playwright-config-0.1.2.tgz","exports":{".":"./src/playwright.config.ts"},"scripts":{"lint":"eslint","format":"prettier --check . --ignore-path ../../../.prettierignore","test-e2e":"playwright test"},"_npmUser":{"name":"alanlu-zyl","email":"hi@alanlu.me"},"_resolved":"/tmp/24b14201c7ac861f45f722a9a30f4ab2/alanlu-dev-playwright-config-0.1.2.tgz","_integrity":"sha512-dA07y96hDDxZ55K4RorVWSKpHVmi6ClaMYS74Wwie/b1XIcHF7C+xOtnb1moYBxxjiRsbc+aUms2ReobG3TvQg==","repository":{"url":"git+ssh://git@github.com/alanlu-dev/web-kit.git","type":"git","directory":"packages/tests/playwright-config"},"_npmVersion":"10.8.2","description":"<p>  <a href=\"https://github.com/alanlu-dev/web-kit/blob/main/packages/tests/playwright-config/CHANGELOG.md\"><img src=\"https://img.shields.io/github/v/release/alanlu-dev/web-kit?filter=@alanlu-dev/playwright-config%2A&style=flat\" alt=\"Version\"></a>  <a hr","directories":{},"_nodeVersion":"20.18.1","_hasShrinkwrap":false,"devDependencies":{"playwright-core":"^1.49.1","@playwright/test":"^1.49.1"},"peerDependencies":{"playwright-core":"^1.49.1","@playwright/test":"^1.49.1"},"_npmOperationalInternal":{"tmp":"tmp/playwright-config_0.1.2_1735270325949_0.2887047123238191","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@alanlu-dev/playwright-config","version":"0.1.3","author":{"url":"https://github.com/alanlu-zyl","name":"Alan Lu","email":"hi@alanlu.me"},"license":"MIT","_id":"@alanlu-dev/playwright-config@0.1.3","maintainers":[{"name":"alanlu-zyl","email":"hi@alanlu.me"}],"homepage":"https://github.com/alanlu-dev/web-kit#readme","bugs":{"url":"https://github.com/alanlu-dev/web-kit/issues"},"dist":{"shasum":"9e14835c670d16ff223ff8b1e65c433d3d7bd531","tarball":"https://registry.npmjs.org/@alanlu-dev/playwright-config/-/playwright-config-0.1.3.tgz","fileCount":6,"integrity":"sha512-Sx3e0AIrvHUYkvCetgD56jHJ3sLftYeWdvjUcBKMP4TDYk/cGNMp2l9QrpPxMGSJBtzlUVbUzrFyfmR07TGGvA==","signatures":[{"sig":"MEQCIEPbIybtb5rTPn63C5reQw/+06E7vV3g63OIAT4wo10xAiBkByX18uzKjADfwpjxtI7HESh/K/KktU5ofNkKQIWp4g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28010},"main":"src/playwright.config.ts","type":"module","_from":"file:alanlu-dev-playwright-config-0.1.3.tgz","exports":{".":"./src/playwright.config.ts"},"scripts":{"lint":"eslint","format":"prettier --check . --ignore-path ../../../.prettierignore","test-e2e":"playwright test"},"_npmUser":{"name":"alanlu-zyl","email":"hi@alanlu.me"},"_resolved":"/tmp/6ef56d560ec474f0f9122f60164265c0/alanlu-dev-playwright-config-0.1.3.tgz","_integrity":"sha512-Sx3e0AIrvHUYkvCetgD56jHJ3sLftYeWdvjUcBKMP4TDYk/cGNMp2l9QrpPxMGSJBtzlUVbUzrFyfmR07TGGvA==","repository":{"url":"git+ssh://git@github.com/alanlu-dev/web-kit.git","type":"git","directory":"packages/tests/playwright-config"},"_npmVersion":"10.8.2","description":"<p>  <a href=\"https://github.com/alanlu-dev/web-kit/blob/main/packages/tests/playwright-config/CHANGELOG.md\"><img src=\"https://img.shields.io/github/v/release/alanlu-dev/web-kit?filter=@alanlu-dev/playwright-config%2A&style=flat\" alt=\"Version\"></a>  <a hr","directories":{},"_nodeVersion":"20.18.1","_hasShrinkwrap":false,"devDependencies":{"playwright-core":"^1.49.1","@playwright/test":"^1.49.1"},"peerDependencies":{"playwright-core":"^1.49.1","@playwright/test":"^1.49.1"},"_npmOperationalInternal":{"tmp":"tmp/playwright-config_0.1.3_1735271759714_0.15685789940839734","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@alanlu-dev/playwright-config","type":"module","version":"0.1.4","author":{"name":"Alan Lu","email":"hi@alanlu.me","url":"https://github.com/alanlu-tw"},"license":"MIT","repository":{"type":"git","url":"git+ssh://git@github.com/alanlu-dev/web-kit.git","directory":"packages/tests/playwright-config"},"bugs":{"url":"https://github.com/alanlu-dev/web-kit/issues"},"exports":{".":"./src/playwright.config.ts"},"main":"src/playwright.config.ts","peerDependencies":{"@playwright/test":"^1.49.1","playwright-core":"^1.49.1"},"devDependencies":{"@playwright/test":"^1.49.1","playwright-core":"^1.49.1"},"scripts":{"test-e2e":"playwright test","format":"prettier --check . --ignore-path ../../../.prettierignore","lint":"eslint"},"_id":"@alanlu-dev/playwright-config@0.1.4","description":"<p>  <a href=\"https://github.com/alanlu-dev/web-kit/blob/main/packages/tests/playwright-config/CHANGELOG.md\"><img src=\"https://img.shields.io/github/v/release/alanlu-dev/web-kit?filter=@alanlu-dev/playwright-config%2A&style=flat\" alt=\"Version\"></a>  <a hr","homepage":"https://github.com/alanlu-dev/web-kit#readme","_integrity":"sha512-JDQt1y+CecNp7aU8CRvcX4irskGbeGNU8rRddgwCfAsPa7kdmJfmWz4eE6WtiBqDVUlq4rKoYMaSfAFSeRpjvQ==","_resolved":"/tmp/55c67443ee990f3f91ee1ea80e6149a5/alanlu-dev-playwright-config-0.1.4.tgz","_from":"file:alanlu-dev-playwright-config-0.1.4.tgz","_nodeVersion":"20.18.1","_npmVersion":"10.8.2","dist":{"integrity":"sha512-JDQt1y+CecNp7aU8CRvcX4irskGbeGNU8rRddgwCfAsPa7kdmJfmWz4eE6WtiBqDVUlq4rKoYMaSfAFSeRpjvQ==","shasum":"85850f2432bdb49ebdd9e6c84025e35cd311b2f9","tarball":"https://registry.npmjs.org/@alanlu-dev/playwright-config/-/playwright-config-0.1.4.tgz","fileCount":6,"unpackedSize":28009,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDdy7ZBGkzV0boGCmnfOejBcs+suNuilo3aKIdGROSoeQIhAMHgjt3D5qB/dxN7zoGQsiwJ9Sren+qbd1bJJ/QCN4ag"}]},"_npmUser":{"name":"alanlu-zyl","email":"hi@alanlu.me"},"directories":{},"maintainers":[{"name":"alanlu-zyl","email":"hi@alanlu.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/playwright-config_0.1.4_1737104724855_0.018460080054974792"},"_hasShrinkwrap":false}},"time":{"created":"2024-09-19T08:35:17.495Z","modified":"2025-01-17T09:05:25.193Z","0.1.0":"2024-09-19T08:35:17.811Z","0.1.1":"2024-10-16T06:27:08.321Z","0.1.2":"2024-12-27T03:32:06.124Z","0.1.3":"2024-12-27T03:55:59.906Z","0.1.4":"2025-01-17T09:05:25.030Z"},"bugs":{"url":"https://github.com/alanlu-dev/web-kit/issues"},"author":{"name":"Alan Lu","email":"hi@alanlu.me","url":"https://github.com/alanlu-tw"},"license":"MIT","homepage":"https://github.com/alanlu-dev/web-kit#readme","repository":{"type":"git","url":"git+ssh://git@github.com/alanlu-dev/web-kit.git","directory":"packages/tests/playwright-config"},"description":"<p>  <a href=\"https://github.com/alanlu-dev/web-kit/blob/main/packages/tests/playwright-config/CHANGELOG.md\"><img src=\"https://img.shields.io/github/v/release/alanlu-dev/web-kit?filter=@alanlu-dev/playwright-config%2A&style=flat\" alt=\"Version\"></a>  <a hr","maintainers":[{"name":"alanlu-zyl","email":"hi@alanlu.me"}],"readme":"# @alanlu-dev/playwright-config\n\n<p>\n <a href=\"https://github.com/alanlu-dev/web-kit/blob/main/packages/tests/playwright-config/CHANGELOG.md\"><img src=\"https://img.shields.io/github/v/release/alanlu-dev/web-kit?filter=@alanlu-dev/playwright-config%2A&style=flat\" alt=\"Version\"></a>\n <a href=\"https://www.npmjs.com/package/@alanlu-dev/playwright-config\"><img src=\"https://img.shields.io/npm/dm/@alanlu-dev/playwright-config\" alt=\"Downloads\"></a>\n <a href=\"https://github.com/alanlu-dev/web-kit/blob/main/LICENSE\"><img src=\"https://img.shields.io/github/license/alanlu-dev/web-kit?style=flat\" alt=\"License\"></a>\n</p>\n\nA playwright configuration for monorepo.\n\n## Installation\n\n```bash\npnpm add -wD @alanlu-dev/playwright-config\n\n# install supported browsers\nnpx playwright install\n```\n\n## Usage\n\nCreate a `playwright.config.ts` file in the root of your project:\n\n```js\nimport config from '@alanlu-dev/playwright-config'\n\nexport default config\n```\n\nAdd the following scripts to the `package.json` of the package:\n\n```json\n{\n \"scripts\": {\n  \"test-e2e\": \"playwright test\"\n }\n}\n```\n\nAdd the following scripts to the `package.json` in the root directory:\n\n```json\n{\n \"scripts\": {\n  \"test-e2e\": \"turbo run test-e2e\"\n }\n}\n```\n\n## CI/CD\n\nYou can use the following GitHub Actions workflow to automate the testing process:\n\n```yaml\nname: Playwright Tests\non:\n  push:\n    branches: [main, master]\n  pull_request:\n    branches: [main, master]\njobs:\n  test:\n    timeout-minutes: 60\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/setup-node@v4\n        with:\n          node-version: lts/*\n      - name: Install dependencies\n        run: npm install -g pnpm && pnpm install\n      - name: Install Playwright Browsers\n        run: pnpm exec playwright install --with-deps\n      - name: Run Playwright tests\n        run: pnpm exec playwright test\n      - uses: actions/upload-artifact@v4\n        if: ${{ !cancelled() }}\n        with:\n          name: playwright-report\n          path: playwright-report/\n          retention-days: 30\n```\n","readmeFilename":"README.md"}