{
  "name": "wikidata-jskos",
  "version": "0.5.6",
  "apiVersion": "2.0",
  "description": "Access Wikidata in JSKOS format",
  "type": "module",
  "exports": "./server.js",
  "engines": {
    "node": ">=18"
  },
  "bin": {
    "wdjskos": "bin/wdjskos"
  },
  "scripts": {
    "start": "nodemon server.js",
    "server": "node server.js",
    "update": "./bin/wdjskos update && cp cache/concept-schemes.ndjson assets",
    "test": "mocha --timeout 30000",
    "test-watch": "mocha --watch",
    "lint": "eslint",
    "fix": "eslint --fix",
    "lint-staged": "lint-staged",
    "yesno": "node -e \"const yesno = require('yesno'); yesno({ question: 'Are you sure you want to continue?' }).then(ok => process.exit(ok ? 0 : 1));\"",
    "release": "test $(git rev-parse --abbrev-ref HEAD) = dev && git pull && npm test && npm version $SEMVER && npm run --silent yesno && (git push && git checkout main && git merge dev && git push --follow-tags && git checkout dev) || (git tag -d $(git describe --tags) && git reset --hard HEAD~1)",
    "release:patch": "SEMVER=patch npm run release",
    "release:minor": "SEMVER=minor npm run release",
    "release:major": "SEMVER=major npm run release",
    "prepare": "husky || true"
  },
  "files": [
    "lib/*",
    "assets/*",
    "test/*",
    "scripts/*",
    "bin/*",
    "*.md",
    "*.js",
    "*.json"
  ],
  "lint-staged": {
    "src/**/*.js": [
      "eslint --fix"
    ],
    "src/*.js": [
      "eslint --fix"
    ]
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/gbv/wikidata-jskos.git"
  },
  "bugs": {
    "url": "https://github.com/gbv/wikidata-jskos/issues"
  },
  "homepage": "https://github.com/gbv/wikidata-jskos",
  "keywords": [
    "wikidata",
    "jskos",
    "skos"
  ],
  "author": "Jakob Voß",
  "license": "MIT",
  "devDependencies": {
    "chai": "^5.1.2",
    "chai-http": "^5.1.1",
    "eslint": "~9.16",
    "eslint-config-gbv": "~2.6",
    "husky": "^9.1.7",
    "lint-staged": "^15.2.11",
    "mocha": "^11.0.1",
    "yesno": "^0.4.0"
  },
  "dependencies": {
    "chalk": "^5.3.0",
    "debug": "^4.4.0",
    "dotenv": "^16.4.7",
    "ejs": "^3.1.10",
    "express": "^4.21.2",
    "jskos-tools": "^1.0.43",
    "lodash": "^4.17.21",
    "mkdirp": "^3.0.1",
    "nodemon": "^3.1.9",
    "passport": "^0.7.0",
    "passport-jwt": "^4.0.1",
    "simple-sha1": "^3.1.0",
    "wikibase-edit": "^7.2.1",
    "wikibase-sdk": "^10.2.1"
  }
}
