{
  "name": "versioned-storage",
  "version": "4.0.17",
  "description": "Local storage with versioning.",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/CatChen/versioned-storage.git"
  },
  "author": "catchen",
  "homepage": "https://github.com/CatChen/versioned-storage#readme",
  "bugs": {
    "url": "https://github.com/CatChen/versioned-storage/issues"
  },
  "main": "index.js",
  "type": "module",
  "exports": {
    ".": {
      "import": "./lib/Storage.js",
      "types": "./lib/Storage.d.ts"
    }
  },
  "engines": {
    "node": ">=20"
  },
  "scripts": {
    "build": "tsc",
    "format": "prettier --write .",
    "lint": "eslint -c eslint.config.js",
    "postpublish": "pinst --enable",
    "prepare": "is-ci || husky",
    "prepublish": "rm -rf lib && yarn build",
    "prepublishOnly": "pinst --disable",
    "registry:github": "cat package.json | json -e 'this.name = \"@CatChen/\" + this.name; this.publishConfig = {}; this.publishConfig.registry = \"https://npm.pkg.github.com/\"' > package.github.json && mv -f package.github.json package.json",
    "registry:npm": "cat package.json | json -e 'this.name = this.name.replace(new RegExp(\"^@CatChen/\"), \"\"); this.publishConfig = undefined' > package.npm.json && mv -f package.npm.json package.json",
    "test": "jest"
  },
  "keywords": [
    "versioned",
    "storage"
  ],
  "optionalDependencies": {
    "husky": "^9.1.4",
    "lint-staged": "^17.0.0"
  },
  "devDependencies": {
    "@eslint/eslintrc": "^3.2.0",
    "@eslint/js": "^10.0.1",
    "@ianvs/prettier-plugin-sort-imports": "^4.7.1",
    "@types/jest": "^30.0.0",
    "codecov": "^3.6.1",
    "eslint": "^10.0.0",
    "eslint-config-prettier": "^10.0.1",
    "eslint-plugin-prettier": "^5.2.1",
    "flow-bin": "^0.319.0",
    "is-ci": "^4.1.0",
    "jest": "^30.0.0",
    "json": "^11.0.0",
    "pinst": "^3.0.0",
    "prettier": "^3.0.2",
    "prettier-plugin-package": "^2.0.0",
    "ts-jest": "^29.4.9",
    "typescript": "^6.0.2",
    "typescript-eslint": "^8.15.0"
  },
  "types": "index.d.ts",
  "funding": "https://github.com/CatChen/versioned-storage?sponsor=1",
  "lint-staged": {
    "*.{ts,js}": [
      "yarn prettier --write",
      "yarn lint --fix"
    ],
    "*.{json,yml,yaml,md,markdown}": "yarn prettier --write"
  },
  "packageManager": "yarn@4.13.0"
}
