UNPKG

@waynechang65/ptt-crawler

Version:

A web crawler module designed to scarp data from Ptt.

68 lines (67 loc) 1.68 kB
{ "name": "@waynechang65/ptt-crawler", "version": "2.7.2", "description": "A web crawler module designed to scarp data from Ptt.", "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist/**" ], "directories": { "lib": "dist", "example": "src/examples", "test": "src/test" }, "scripts": { "build": "tsc", "clean": "rm -rf dist", "test": "vitest run src/test/ptt_crawler.test.ts", "test:e2e": "vitest run src/test/ptt_crawler.e2e.test.ts", "test:all": "vitest run", "test:watch": "vitest", "lint": "eslint . --ext .ts", "start": "tsx src/examples/demo.ts", "start-cjs": "node src/examples/demo.cjs", "prepublishOnly": "npm run build" }, "repository": { "type": "git", "url": "git+https://github.com/WayneChang65/ptt-crawler.git" }, "keywords": [ "ptt", "crawler", "spider", "scrape", "批踢踢", "BBS" ], "author": "WayneChang65", "license": "MIT", "bugs": { "url": "https://github.com/WayneChang65/ptt-crawler/issues" }, "homepage": "https://github.com/WayneChang65/ptt-crawler#readme", "dependencies": { "is-docker": "^3.0.0", "puppeteer": "^24.15.0" }, "devDependencies": { "@types/node": "^24.1.0", "@typescript-eslint/eslint-plugin": "^8.36.0", "@typescript-eslint/parser": "^8.36.0", "@waynechang65/fml-consolelog": "^1.2.2", "eslint": "^8.57.0", "eslint-config-prettier": "^10.1.5", "prettier": "^3.6.2", "tsx": "^4.20.3", "typescript": "^5.8.3", "vitest": "^3.2.4" }, "overrides": { "vitest": { "rollup": "npm:@rollup/wasm-node" } } }