UNPKG

isbn-bisac-tools

Version:

A toolkit for working with BISAC subject headings and ISBN lookups

113 lines (112 loc) 3.31 kB
{ "name": "isbn-bisac-tools", "version": "0.2.11", "description": "A toolkit for working with BISAC subject headings and ISBN lookups", "main": "dist/src/index.js", "types": "dist/src/index.d.ts", "bin": { "isbn-bisac-tools": "dist/src/index.js" }, "files": [ "dist", "lib", "data" ], "type": "module", "scripts": { "browse:json": "tsx src/browse-json.ts", "build": "npm run clean && npx tsc -p tsconfig.build.json --listEmittedFiles", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -r 1", "changelog:first": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0", "clean": "rm -rf dist", "commit": "git-cz", "format": "prettier --write 'src/**/*.ts' 'lib/**/*.ts' 'test/**/*.ts'", "format:check": "prettier --check 'src/**/*.ts' 'lib/**/*.ts' 'test/**/*.ts'", "lint": "eslint \"src/**/*.ts\" \"lib/**/*.ts\" \"test/**/*.ts\"", "lint:fix": "eslint \"src/**/*.ts\" \"lib/**/*.ts\" \"test/**/*.ts\" --fix", "prepare": "husky", "prepublishOnly": "npm run clean && npm run build && chmod +x dist/src/index.js && cp package.json dist/ && mkdir -p dist/data && cp -r data/* dist/data/", "scrape": "tsx src/index.ts", "scrape:url": "tsx src/index.ts --url", "start": "tsx src/index.ts --help", "test": "vitest run", "test:bisac": "tsx test/bisac-selection.script.ts", "test:coverage": "vitest run --coverage", "test:watch": "vitest", "version": "npm run changelog && git add CHANGELOG.md" }, "lint-staged": { "*.{ts,tsx}": [ "eslint --fix", "prettier --write" ], "*.{json,md}": [ "prettier --write" ] }, "keywords": [ "scraper", "puppeteer", "bisac", "headless-browser", "isbn", "book-industry", "publishing", "metadata" ], "author": "Rafael Lüder <rlueder@pm.me>", "license": "MIT", "dependencies": { "chalk": "^5.4.1", "commander": "^13.1.0", "glob": "^11.0.2", "inquirer": "9.2.17", "ora": "^8.2.0", "puppeteer": "^24.8.1" }, "devDependencies": { "@commitlint/cli": "^19.8.0", "@commitlint/config-conventional": "^19.8.0", "@eslint/js": "^8.57.0", "@types/glob": "^8.1.0", "@types/inquirer": "^9.0.8", "@types/node": "^20.10.5", "@types/ora": "^3.1.0", "@types/puppeteer": "^7.0.4", "@vitest/coverage-v8": "^3.1.3", "commitizen": "^4.3.1", "conventional-changelog-cli": "^5.0.0", "cz-conventional-changelog": "^3.3.0", "eslint": "^8.57.0", "eslint-config-prettier": "^10.1.2", "eslint-plugin-prettier": "^5.1.3", "fx": "^31.0.0", "husky": "^9.1.7", "lint-staged": "^15.5.2", "prettier": "^3.2.5", "ts-node": "^10.9.2", "tsx": "^4.19.4", "typescript": "^5.8.3", "typescript-eslint": "^7.0.2", "vitest": "^3.1.3" }, "engines": { "node": ">=18.0.0" }, "repository": { "type": "git", "url": "git+https://github.com/yourusername/isbn-bisac-tools.git" }, "bugs": { "url": "https://github.com/yourusername/isbn-bisac-tools/issues" }, "homepage": "https://github.com/yourusername/isbn-bisac-tools#readme", "publishConfig": { "access": "public" }, "config": { "commitizen": { "path": "cz-conventional-changelog" } } }