UNPKG

wikibase-edit

Version:

Edit Wikibase from NodeJS

87 lines (86 loc) 2.39 kB
{ "name": "wikibase-edit", "version": "8.1.2", "description": "Edit Wikibase from NodeJS", "type": "module", "main": "./dist/src/lib/index.js", "exports": { ".": { "types": "./dist/src/lib/index.d.ts", "import": "./dist/src/lib/index.js" } }, "files": [ "dist", "src" ], "scripts": { "build": "tsc", "git-pre-commit": "./scripts/githooks/pre-commit", "lint": "eslint", "lint:fix": "eslint --fix", "test": "npm run test:unit && npm run test:integration", "test:unit": "mocha $MOCHA_OPTIONS tests/unit/*.ts tests/unit/*/*.ts", "test:integration": "mocha $MOCHA_OPTIONS tests/integration/*.ts tests/integration/*/*.ts", "prepublishOnly": "npm run lint && MOCHA_OPTIONS='' npm test", "prepack": "npm run build && npm run lint && npm test", "postpublish": "git push --tags", "postversion": "./scripts/postversion", "update-toc": "./scripts/update_toc", "watch": "tsc --watch" }, "repository": { "type": "git", "url": "https://codeberg.org/maxlath/wikibase-edit" }, "keywords": [ "wikibase", "wikidata", "write", "update", "edit", "API" ], "author": "maxlath", "license": "MIT", "bugs": { "url": "https://codeberg.org/maxlath/wikibase-edit/issues" }, "homepage": "https://codeberg.org/maxlath/wikibase-edit", "dependencies": { "@types/lodash-es": "^4.17.12", "cross-fetch": "^4.1.0", "crypto-js": "^4.1.1", "lodash-es": "^4.17.21", "oauth-1.0a": "^2.2.6", "type-fest": "^4.41.0", "typescript": "^5.9.2", "wikibase-sdk": "^11.3.1" }, "devDependencies": { "@eslint/config-helpers": "^0.3.0", "@eslint/js": "^9.32.0", "@stylistic/eslint-plugin": "^5.2.2", "@types/mocha": "^10.0.10", "@types/node": "^24.3.1", "@typescript-eslint/eslint-plugin": "^8.38.0", "@typescript-eslint/parser": "^8.38.0", "@vercel/git-hooks": "^1.0.0", "config": "^4.1.1", "eslint": "^9.34.0", "eslint-import-resolver-typescript": "^4.4.4", "eslint-plugin-import-x": "^4.16.1", "eslint-plugin-n": "^17.21.3", "eslint-plugin-promise": "^7.2.1", "globals": "^16.3.0", "mocha": "^10.2.0", "nock": "^13.3.1", "should": "^13.2.3", "tiny-chalk": "^3.0.2", "tsx": "^4.20.4", "typescript-eslint": "^8.40.0" }, "engines": { "node": ">= 18" } }