UNPKG

ts-order

Version:

Type-safe Order utility for delarative, composable, and immutable multi-key ordering logic

71 lines (70 loc) 1.79 kB
{ "name": "ts-order", "type": "module", "version": "0.0.5", "description": "Type-safe Order utility for delarative, composable, and immutable multi-key ordering logic", "author": { "name": "jaydenfyi", "url": "https://github.com/jaydenfyi" }, "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/jaydenfyi/ts-order.git" }, "exports": { ".": { "import": "./dist/index.js", "require": "./dist/index.cjs" }, "./comparator": { "import": "./dist/comparator/index.js", "require": "./dist/comparator/index.cjs" }, "./package.json": "./package.json" }, "main": "./dist/index.cjs", "module": "./dist/index.js", "types": "./dist/index.d.cts", "typesVersions": { "*": { "comparator": [ "dist/comparator/index.d.ts" ] } }, "files": [ "dist" ], "scripts": { "build": "tsdown --format esm --format cjs", "test": "vitest run", "test:watch": "vitest", "test:coverage": "vitest run --coverage", "bench": "vitest bench", "bench:snapshot": "vitest bench --outputJson=./benchmarks/bench.json", "bench:compare": "vitest bench --compare ./benchmarks/bench.json", "size": "size-limit", "prettier": "prettier --write .", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", "changeset": "changeset", "version-packages": "changeset version", "release": "bun run build && changeset publish" }, "devDependencies": { "@antfu/eslint-config": "^6.0.0", "@changesets/cli": "^2.29.7", "@types/node": "^24.8.1", "@vitest/coverage-v8": "^3.2.4", "eslint": "^9.37.0", "execa": "^9.6.0", "magic-string": "^0.30.19", "prettier": "^3.6.2", "rolldown": "^1.0.0-beta.43", "tsdown": "^0.15.7", "typescript": "^5.9.3", "unplugin": "^2.3.10", "vitest": "^3.2.4" } }