UNPKG

wikibase-cli

Version:

A command-line interface to Wikibase

81 lines (80 loc) 2.06 kB
{ "name": "wikibase-cli", "version": "20.1.2", "description": "A command-line interface to Wikibase", "type": "module", "main": "index.js", "bin": { "wb": "./bin/wb.js", "wd": "./bin/wd.js" }, "scripts": { "docker:publish": "./scripts/docker_publish", "git-pre-commit": "./scripts/githooks/pre-commit", "lint": "eslint", "lint-fix": "eslint --fix", "lint-staged": "./scripts/lint_staged", "prepublishOnly": "export MOCHA_OPTIONS='--bail'; npm run lint && npm test", "postpublish": "npm run docker:publish && git push --tags", "test": "export FORCE_COLOR=false; mocha --exit --timeout 20000 $MOCHA_OPTIONS tests", "update-toc": "./scripts/update_toc" }, "repository": { "type": "git", "url": "https://codeberg.org/maxlath/wikibase-cli" }, "files": [ "bin", "lib", "metadata" ], "imports": { "#lib/*": "./lib/*.js", "#metadata/*": "./metadata/*.js", "#tests/*": "./tests/*.js" }, "keywords": [ "wikidata", "wikibase", "wb", "wd", "cli" ], "author": "maxlath", "license": "MIT", "bugs": { "url": "https://codeberg.org/maxlath/wikibase-cli/issues" }, "homepage": "https://codeberg.org/maxlath/wikibase-cli#readme", "dependencies": { "commander": "^6.0.0", "copy-paste": "^1.5.0", "lodash-es": "^4.17.21", "mkdirp": "^3.0.1", "open": "^9.1.0", "read": "^2.1.0", "shell-quote": "^1.8.1", "split": "^1.0.1", "through": "^2.3.8", "tiny-chalk": "^4.0.0", "wikibase-edit": "^8.0.6", "wikibase-sdk": "^11.5.2", "wikidata-lang": "^2.0.11" }, "devDependencies": { "@eslint/config-helpers": "^0.4.1", "@eslint/js": "^9.38.0", "@stylistic/eslint-plugin": "^5.5.0", "@types/lodash-es": "^4.17.8", "@types/node": "^20.4.2", "@vercel/git-hooks": "^1.0.0", "eslint": "^9.38.0", "eslint-plugin-import-x": "^4.16.1", "eslint-plugin-n": "^17.23.1", "mocha": "^9.1.3", "should": "^13.2.3" }, "engines": { "node": ">= 20.12.0" } }