UNPKG

archive-web

Version:

Download a webpage for archiving purpose

61 lines (60 loc) 1.98 kB
{ "name": "archive-web", "preferGlobal": true, "version": "0.1.2", "author": "Ha.Minh", "description": "Download a webpage for archiving purpose", "bin": { "archive-web": "./build/src/index.js" }, "main": "build/src/index.js", "scripts": { "build": "rm -fr build && tsc -p tsconfig.json && node fix-imports.js && (echo \\#\\!/usr/bin/env node && cat build/src/index.js) > build/src/index1.js && mv build/src/index1.js build/src/index.js", "lint": "eslint . -c .eslintrc.js --resolve-plugins-relative-to . --ext .js,.jsx,.ts,.tsx && prettier \"src/**/*.ts\" --list-different", "fix:prettier": "prettier \"src/**/*.ts\" --write", "fix:lint": "eslint . --fix --ext .js,.jsx,.ts,.tsx", "test:unit": "jest --forceExit --detectOpenHandles tests/* --verbose", "testrun": "node --import tsx src/index.ts \"https://en.wikipedia.org/wiki/Blog\"", "testruntsnode": "ts-node-esm --files --project tsconfig.json -r tsconfig-paths/register src/index.ts \"https://en.wikipedia.org/wiki/Blog\"" }, "license": "MIT", "repository": { "type": "git", "url": "https://github.com/minhhh/archive-web.git" }, "dependencies": { "@types/fs-extra": "^11.0.4", "@types/tmp": "^0.2.6", "@types/website-scraper": "^1.2.10", "docopt": "^0.6.2", "fs-extra": "^11.3.0", "global": "^4.4.0", "moment": "^2.30.1", "tmp": "^0.2.3", "website-scraper": "^4.0.1", "yarn": "^1.22.22" }, "devDependencies": { "@types/docopt": "^0.6.37", "@types/node": "^22.10.7", "@typescript-eslint/eslint-plugin": "^5.0.0", "@typescript-eslint/parser": "^5.0.0", "eslint": "^8.0.0", "eslint-config-prettier": "^8.0.0", "prettier": "^3.0.0", "ts-node": "^10.9.2", "tsconfig-paths": "^4.0.0", "tsx": "^4.19.2", "typescript": "^5.0.0" }, "engines": { "node": ">=16.0.0" }, "type": "module", "keywords": [ "archive", "download", "web", "webpage" ] }