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.

Bugfix in prepublishOnly event in package.json

Jan Curn0c90567476be
diff --git a/build/index.js b/build/index.js
index 4dc5ab943..d24564d4a 100644
--- a/build/index.js
+++ b/build/index.js
@@ -15,6 +15,6 @@ var _actor2 = _interopRequireDefault(_actor);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var Apifier = {};
-_underscore2.default.extend(Apifier, Actorxx);
+_underscore2.default.extend(Apifier, _actor2.default);
exports.default = Apifier;
\ No newline at end of file
diff --git a/package.json b/package.json
index 3d76ca40e..d4b93e5a0 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "apifier",
- "version": "0.0.6",
+ "version": "0.0.7",
"description": "Apifier SDK for JavaScript",
"main": "build/index.js",
"keywords": [
@@ -29,7 +29,7 @@
"test": "mocha --compilers js:babel-core/register --recursive",
"test-cov": "babel-node isparta cover --report html --report text node_modules/.bin/_mocha",
"build": "babel src --out-dir build",
- "prepublishOnly": "npm build && npm test",
+ "prepublishOnly": "npm run build && npm test",
"clean": "rm -rf build",
"lint": "eslint src test"
},