infon-reasoner / js /package.json
cp500's picture
Upload js/package.json with huggingface_hub
cffd050 verified
Raw
History Blame Contribute Delete
4.6 kB
{
"name": "@cp500/infon",
"version": "0.1.0-alpha.0",
"description": "TypeScript port of the Python infon package — text → infons → reasoning, in the browser. Routes linguistic detection through the trained @cp500/infon-heads classifiers instead of regex.",
"type": "module",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"./atom": {
"types": "./dist/types/atom/index.d.ts",
"import": "./dist/esm/atom/index.js",
"require": "./dist/cjs/atom/index.js"
},
"./schema": {
"types": "./dist/types/schema/index.d.ts",
"import": "./dist/esm/schema/index.js",
"require": "./dist/cjs/schema/index.js"
},
"./ds": {
"types": "./dist/types/ds/index.d.ts",
"import": "./dist/esm/ds/index.js",
"require": "./dist/cjs/ds/index.js"
},
"./temporal": {
"types": "./dist/types/temporal/index.d.ts",
"import": "./dist/esm/temporal/index.js",
"require": "./dist/cjs/temporal/index.js"
},
"./numeric": {
"types": "./dist/types/numeric/index.d.ts",
"import": "./dist/esm/numeric/index.js",
"require": "./dist/cjs/numeric/index.js"
},
"./quantity": {
"types": "./dist/types/quantity/index.d.ts",
"import": "./dist/esm/quantity/index.js",
"require": "./dist/cjs/quantity/index.js"
},
"./coref": {
"types": "./dist/types/coref/index.d.ts",
"import": "./dist/esm/coref/index.js",
"require": "./dist/cjs/coref/index.js"
},
"./heads": {
"types": "./dist/types/heads/index.d.ts",
"import": "./dist/esm/heads/index.js",
"require": "./dist/cjs/heads/index.js"
},
"./sheaf-gnn": {
"types": "./dist/types/sheaf-gnn/index.d.ts",
"import": "./dist/esm/sheaf-gnn/index.js",
"require": "./dist/cjs/sheaf-gnn/index.js"
},
"./reasoner": {
"types": "./dist/types/reasoner/index.d.ts",
"import": "./dist/esm/reasoner/index.js",
"require": "./dist/cjs/reasoner/index.js"
},
"./runtime": {
"types": "./dist/types/runtime/index.d.ts",
"import": "./dist/esm/runtime/index.js",
"require": "./dist/cjs/runtime/index.js"
},
"./extract": {
"types": "./dist/types/extract/index.d.ts",
"import": "./dist/esm/extract/index.js",
"require": "./dist/cjs/extract/index.js"
},
"./logic": {
"types": "./dist/types/logic/index.d.ts",
"import": "./dist/esm/logic/index.js",
"require": "./dist/cjs/logic/index.js"
},
"./modal-logic": {
"types": "./dist/types/modal-logic/index.d.ts",
"import": "./dist/esm/modal-logic/index.js",
"require": "./dist/cjs/modal-logic/index.js"
},
"./category": {
"types": "./dist/types/category/index.d.ts",
"import": "./dist/esm/category/index.js",
"require": "./dist/cjs/category/index.js"
},
"./mcts": {
"types": "./dist/types/mcts/index.d.ts",
"import": "./dist/esm/mcts/index.js",
"require": "./dist/cjs/mcts/index.js"
}
},
"files": [
"dist/",
"README.md",
"LICENSE"
],
"scripts": {
"build": "npm run build:esm && npm run build:cjs && npm run build:types",
"build:esm": "tsc -p tsconfig.esm.json",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:types": "tsc -p tsconfig.types.json",
"clean": "rm -rf dist",
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "tsc --noEmit -p tsconfig.json"
},
"keywords": [
"infon",
"knowledge-graph",
"dempster-shafer",
"graph-mcts",
"symbolic-reasoning",
"multilingual",
"browser"
],
"license": "Apache-2.0",
"author": "cp500",
"repository": {
"type": "git",
"url": "https://github.com/cp500/infon-ts"
},
"homepage": "https://github.com/cp500/infon-ts",
"peerDependencies": {
"@cp500/infon-coref": "^0.1.0",
"@cp500/infon-heads": "^0.1.0",
"@cp500/infon-sheaf-gnn": "^0.1.0"
},
"peerDependenciesMeta": {
"@cp500/infon-coref": { "optional": true },
"@cp500/infon-heads": { "optional": true },
"@cp500/infon-sheaf-gnn": { "optional": true }
},
"devDependencies": {
"@types/node": "^22.0.0",
"onnxruntime-node": "^1.20.0",
"onnxruntime-web": "^1.20.0",
"typescript": "^5.6.0",
"vitest": "^2.1.0"
},
"engines": {
"node": ">=20"
},
"publishConfig": {
"access": "public"
}
}