UNPKG

@terrxo/query-key-factory

Version:

A library for creating standardized query keys, useful for cache management in @tanstack/query

88 lines (85 loc) 2.36 kB
{ "name": "@terrxo/query-key-factory", "version": "1.3.7", "author": "Luke Morales <lukemorales@live.com>", "description": "A library for creating standardized query keys, useful for cache management in @tanstack/query", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/lukemorales/query-key-factory.git" }, "bugs": { "url": "https://github.com/lukemorales/query-key-factory/issues" }, "main": "dist/index.js", "module": "dist/index.mjs", "typings": "dist/index.d.ts", "files": [ "dist" ], "scripts": { "build": "run-p build:*", "build:tsup": "tsup --dts --minify", "changeset": "changeset", "clean": "rimraf dist", "dev": "pnpm run test:coverage --ui", "lint": "run-p lint:*", "lint:eslint": "eslint src --ext .ts", "lint:eslint:fix": "pnpm run lint:eslint --fix", "lint:format": "prettier --check \"src/**/*.ts\"", "lint:format:fix": "pnpm run lint:format --write", "lint:tsc": "tsc --project tsconfig.json --noEmit", "test": "vitest --passWithNoTests", "test:ci": "pnpm run test:coverage --run", "test:coverage": "pnpm run test --coverage", "prepare": "is-ci || husky install", "prerelease": "run-p build test:ci", "release": "changeset publish" }, "eslintConfig": { "extends": [ "lukemorales/oss", "lukemorales/jest" ] }, "peerDependencies": { }, "devDependencies": { "@changesets/changelog-github": "^0.5.1", "@changesets/cli": "^2.29.4", "@lukemorales/jest-type-matchers": "^0.2.2", "@lukemorales/prettier-config": "^1.1.1", "@tanstack/svelte-query": "https://pkg.pr.new/@tanstack/svelte-query@746b9c5", "@types/node": "^20.17.46", "@vitest/coverage-v8": "^3.1.3", "@vitest/ui": "^3.1.3", "eslint": "^9.26.0", "eslint-config-lukemorales": "^0.5.0", "husky": "^9.1.7", "is-ci": "^4.1.0", "lint-staged": "^16.0.0", "npm-run-all": "^4.1.5", "prettier": "^3.5.3", "ts-node": "^10.9.2", "tsup": "^8.4.0", "typescript": "^5.8.3", "vitest": "^3.1.3" }, "lint-staged": { "*.ts": [ "eslint src --ext .ts" ] }, "engines": { "node": ">=14" }, "keywords": [ "react", "react-query", "tanstack", "tanstack-query", "cache", "query", "query-keys" ] }