feat: move puppeteer automation into main lib; update docs
Showing
... | @@ -20,14 +20,13 @@ | ... | @@ -20,14 +20,13 @@ |
"build" | "build" | ||
], | ], | ||
"engines": { | "engines": { | ||
"node": ">=16.8" | "node": ">=18" | ||
}, | }, | ||
"scripts": { | "scripts": { | ||
"build": "tsup", | "build": "tsup", | ||
"dev": "tsup --watch", | "dev": "tsup --watch", | ||
"clean": "del build", | "clean": "del build", | ||
"prebuild": "run-s clean", | "prebuild": "run-s clean", | ||
"postbuild": "[ -n CI ] && sed -i '' 's/await import(\"undici\")/null/' build/browser/index.js || echo 'skipping postbuild on CI'", | |||
"predev": "run-s clean", | "predev": "run-s clean", | ||
"pretest": "run-s build", | "pretest": "run-s build", | ||
"docs": "typedoc", | "docs": "typedoc", | ||
... | @@ -42,7 +41,10 @@ | ... | @@ -42,7 +41,10 @@ |
"p-timeout": "^6.0.0", | "p-timeout": "^6.0.0", | ||
"remark": "^14.0.2", | "remark": "^14.0.2", | ||
"strip-markdown": "^5.0.0", | "strip-markdown": "^5.0.0", | ||
"uuid": "^9.0.0" | "delay": "^5.0.0", | ||
"uuid": "^9.0.0", | |||
"puppeteer-extra": "^3.3.4", | |||
"puppeteer-extra-plugin-stealth": "^2.11.1" | |||
}, | }, | ||
"devDependencies": { | "devDependencies": { | ||
"@trivago/prettier-plugin-sort-imports": "^4.0.0", | "@trivago/prettier-plugin-sort-imports": "^4.0.0", | ||
... | @@ -50,7 +52,6 @@ | ... | @@ -50,7 +52,6 @@ |
"@types/uuid": "^9.0.0", | "@types/uuid": "^9.0.0", | ||
"ava": "^5.1.0", | "ava": "^5.1.0", | ||
"del-cli": "^5.0.0", | "del-cli": "^5.0.0", | ||
"delay": "^5.0.0", | |||
"dotenv-safe": "^8.2.0", | "dotenv-safe": "^8.2.0", | ||
"husky": "^8.0.2", | "husky": "^8.0.2", | ||
"lint-staged": "^13.0.3", | "lint-staged": "^13.0.3", | ||
... | @@ -58,16 +59,14 @@ | ... | @@ -58,16 +59,14 @@ |
"ora": "^6.1.2", | "ora": "^6.1.2", | ||
"prettier": "^2.8.0", | "prettier": "^2.8.0", | ||
"puppeteer": "^19.4.0", | "puppeteer": "^19.4.0", | ||
"puppeteer-extra": "^3.3.4", | |||
"puppeteer-extra-plugin-stealth": "^2.11.1", | |||
"tsup": "^6.5.0", | "tsup": "^6.5.0", | ||
"tsx": "^3.12.1", | "tsx": "^3.12.1", | ||
"typedoc": "^0.23.21", | "typedoc": "^0.23.21", | ||
"typedoc-plugin-markdown": "^3.13.6", | "typedoc-plugin-markdown": "^3.13.6", | ||
"typescript": "^4.9.3" | "typescript": "^4.9.3" | ||
}, | }, | ||
"optionalDependencies": { | "peerDependencies": { | ||
"undici": "^5.13.0" | "puppeteer": "*" | ||
}, | }, | ||
"lint-staged": { | "lint-staged": { | ||
"*.{ts,tsx}": [ | "*.{ts,tsx}": [ | ||
... | ... |
Please register or sign in to comment