UNPKG

wikibase-cli

Version:

A command-line interface to Wikibase

80 lines (79 loc) 2.09 kB
{ "name": "wikibase-cli", "version": "18.3.3", "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 --config .eslintrc.cjs bin/* lib test", "lint-fix": "eslint --config .eslintrc.cjs --fix bin/* lib test", "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", "update-toc": "./scripts/update_toc" }, "repository": { "type": "git", "url": "git+https://github.com/maxlath/wikibase-cli.git" }, "files": [ "bin", "lib", "metadata" ], "imports": { "#lib/*": "./lib/*.js", "#metadata/*": "./metadata/*.js", "#test/*": "./test/*.js" }, "keywords": [ "wikidata", "wikibase", "wb", "wd", "cli" ], "author": "maxlath", "license": "MIT", "bugs": { "url": "https://github.com/maxlath/wikibase-cli/issues" }, "homepage": "https://github.com/maxlath/wikibase-cli#readme", "dependencies": { "chalk": "^5.4.1", "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", "wikibase-edit": "^7.2.3", "wikibase-sdk": "^10.1.0", "wikidata-lang": "^2.0.11" }, "devDependencies": { "@types/lodash-es": "^4.17.8", "@types/node": "^20.4.2", "@vercel/git-hooks": "^1.0.0", "eslint": "^8.57.0", "eslint-config-standard": "^17.1.0", "eslint-plugin-import": "^2.29.1", "eslint-plugin-n": "^16.6.2", "eslint-plugin-promise": "^6.1.1", "mocha": "^9.1.3", "should": "^13.2.3" }, "engines": { "node": ">= 18" } }