Skip to content

Crawlee—A web scraping and browser automation library for Node.js to build reliable crawlers. In JavaScript and TypeScript. Extract data for AI, LLMs, RAG, or GPTs. Download HTML, PDF, JPG, PNG, and other files from websites. Works with Puppeteer, Playwright, Cheerio, JSDOM, and raw HTTP. Both headful and headless mode. With proxy rotation.

Update package.json

Ondra Urban1d5b4f9e0056
diff --git a/package.json b/package.json
index 65898a07f..647c12dca 100644
--- a/package.json
+++ b/package.json
@@ -40,8 +40,7 @@
"build": "rm -rf ./build && babel src --out-dir build --copy-files",
"build-docs": "npm run clean && npm run build && node ./website/tools/build_docs.js",
"build-readme": "node ./tools/build_readme.js",
- "test": "npm run build && jest --testTimeout=60000",
- "test:integration": "npm run build && nyc --reporter=html --reporter=text mocha 'test/integration_tests' --timeout 60000 --require @babel/register --recursive --exit",
+ "test": "npm run build && jest --testTimeout=60000 --coverage",
"prepare": "npm run build",
"prepublishOnly": "(test $TRAVIS || (echo \"Publishing is reserved to the Travis CI!\"; exit 1))",
"clean": "rm -rf build",
@@ -76,18 +75,13 @@
"@babel/core": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/register": "^7.0.0",
- "@types/chai": "^4.1.7",
"@types/fs-extra": "^7.0.0",
"@types/jest": "^24.0.21",
- "@types/mocha": "^5.2.7",
"@types/puppeteer": "^1.19.1",
"@types/sinon": "^7.0.13",
"@types/socket.io": "^2.1.2",
"basic-auth-parser": "^0.0.2",
"body-parser": "^1.19.0",
- "chai": "^4.2.0",
- "chai-as-promised": "^7.1.1",
- "chai-subset": "^1.6.0",
"csv-parse": "^4.4.3",
"eslint": "^5.16.0",
"fpcollect": "^1.0.4",
@@ -95,8 +89,6 @@
"jest": "^24.9.0",
"jsdoc": "^3.5.5",
"jsdoc-export-default-interop": "^0.3.1",
- "mocha": "^5.2.0",
- "nyc": "^14.0.0",
"portastic": "^1.0.1",
"prettier": "^1.18.2",
"proxy": "^0.2.4",