bandcamp-fetch/package.json
2025-06-17 20:10:04 +02:00

73 lines
1.9 KiB
JSON

{
"name": "@maksimgrs98/bandcamp-fetch",
"version": "1.2.9",
"description": "Scrape Bandcamp content (supports Cloudflare Pages)",
"scripts": {
"build": "npm run prepare",
"build:esm": "npx tsc -p tsconfig-esm.json",
"build:cjs": "npx tsc -p tsconfig.json",
"prepare": "rm -rf dist && npm run build:esm && npm run build:cjs && bash fixup.sh",
"lint": "npx eslint ./src && npx eslint ./examples",
"lint:fix": "npx eslint ./src --fix && npx eslint ./examples --fix",
"doc": "npx typedoc",
"example": "func() { npx ts-node ./examples/${1}.ts; }; func"
},
"main": "./dist/cjs/index-cjs.js",
"module": "./dist/mjs/index.js",
"types": "./dist/mjs/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/mjs/index.d.ts",
"default": "./dist/mjs/index.js"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index-cjs.js"
}
}
},
"author": "Patrick Kan <patrickkfkan@gmail.com> (https://github.com/patrickkfkan)",
"repository": {
"type": "git",
"url": "https://maelw.com/maksimgrs98/bandcamp-fetch.git"
},
"license": "MIT",
"directories": {
"dist": "./dist"
},
"engines": {
"node": ">=15"
},
"devDependencies": {
"@types/cookie": "^0.5.3",
"@types/node": "^14.18.38",
"@types/node-fetch": "^2.6.4",
"@typescript-eslint/eslint-plugin": "^5.56.0",
"@typescript-eslint/parser": "^5.56.0",
"eslint": "^8.36.0",
"eslint-plugin-tsdoc": "^0.2.17",
"ts-node": "^10.9.1",
"typedoc": "^0.24.0",
"typedoc-plugin-markdown": "^3.14.0",
"typedoc-plugin-rename-defaults": "^0.6.4",
"typescript": "^4.9.5"
},
"dependencies": {
"bottleneck": "^2.19.5",
"cheerio": "^1.0.0-rc.5",
"cookie": "^0.5.0",
"eval5": "^1.4.7",
"html-entities": "^2.4.0"
},
"keywords": [
"bandcamp",
"scrape",
"scraper",
"discover",
"album",
"track",
"artist"
]
}