Skip to content
Source
Sign inSign up
TanStack/schemas
Open History to see the last commit

package.json

63 lines1.6 KB

1{
2 "name": "@modelschemas/rate-card",
3 "version": "0.2.4",
4 "description": "Model pricing as data: a closed-vocabulary JSONLogic rate-card schema, a refuse-not-coerce evaluator with no dependencies, and listing compilers (OpenRouter).",
5 "type": "module",
6 "main": "./src/index.ts",
7 "exports": {
8 ".": "./src/index.ts",
9 "./evaluator": "./src/evaluator.ts",
10 "./schema": "./src/rate-card.schema.ts",
11 "./package.json": "./package.json"
12 },
13 "files": [
14 "dist"
15 ],
16 "sideEffects": false,
17 "scripts": {
18 "build": "rm -rf dist && tsc -p tsconfig.build.json"
19 },
20 "license": "MIT",
21 "homepage": "https://modelschemas.com",
22 "repository": {
23 "type": "git",
24 "url": "git+https://github.com/TanStack/modelschemas.git",
25 "directory": "packages/rate-card"
26 },
27 "bugs": "https://github.com/TanStack/modelschemas/issues",
28 "keywords": [
29 "ai",
30 "pricing",
31 "rate-card",
32 "jsonlogic",
33 "openrouter"
34 ],
35 "publishConfig": {
36 "access": "public",
37 "main": "./dist/index.js",
38 "types": "./dist/index.d.ts",
39 "exports": {
40 ".": {
41 "types": "./dist/index.d.ts",
42 "default": "./dist/index.js"
43 },
44 "./evaluator": {
45 "types": "./dist/evaluator.d.ts",
46 "default": "./dist/evaluator.js"
47 },
48 "./schema": {
49 "types": "./dist/rate-card.schema.d.ts",
50 "default": "./dist/rate-card.schema.js"
51 },
52 "./package.json": "./package.json"
53 }
54 },
55 "peerDependencies": {
56 "zod": "^4.3.6"
57 },
58 "peerDependenciesMeta": {
59 "zod": {
60 "optional": true
61 }
62 }