2025-06-24 11:41:30 -07:00
{
"name" : "@soulcraft/brainy" ,
2025-08-03 17:34:36 -07:00
"version" : "0.37.0" ,
2025-06-24 11:41:30 -07:00
"description" : "A vector graph database using HNSW indexing with Origin Private File System storage" ,
"main" : "dist/unified.js" ,
"module" : "dist/unified.js" ,
"types" : "dist/unified.d.ts" ,
"type" : "module" ,
2025-07-14 11:12:51 -07:00
"sideEffects" : [
2025-07-15 11:53:26 -07:00
"./dist/setup.js" ,
2025-07-14 11:12:51 -07:00
"./dist/utils/textEncoding.js" ,
"./src/setup.ts" ,
"./src/utils/textEncoding.ts"
] ,
2025-06-24 11:41:30 -07:00
"exports" : {
"." : {
"import" : "./dist/unified.js" ,
"types" : "./dist/unified.d.ts"
} ,
"./min" : {
"import" : "./dist/unified.min.js"
} ,
2025-07-14 11:12:51 -07:00
"./setup" : {
"import" : "./dist/setup.js" ,
"types" : "./dist/setup.d.ts"
} ,
2025-06-24 11:41:30 -07:00
"./types/graphTypes" : {
"import" : "./dist/types/graphTypes.js" ,
"types" : "./dist/types/graphTypes.d.ts"
} ,
"./types/augmentations" : {
"import" : "./dist/types/augmentations.js" ,
"types" : "./dist/types/augmentations.d.ts"
2025-07-11 11:11:56 -07:00
} ,
"./utils/textEncoding" : {
"import" : "./dist/utils/textEncoding.js" ,
"types" : "./dist/utils/textEncoding.d.ts"
} ,
"./dist/utils/textEncoding.js" : {
"import" : "./dist/utils/textEncoding.js" ,
"types" : "./dist/utils/textEncoding.d.ts"
2025-07-14 11:12:51 -07:00
} ,
"./dist/setup.js" : {
"import" : "./dist/setup.js" ,
"types" : "./dist/setup.d.ts"
2025-06-24 11:41:30 -07:00
}
} ,
"engines" : {
2025-07-11 11:11:56 -07:00
"node" : ">=24.4.0"
2025-06-24 11:41:30 -07:00
} ,
"scripts" : {
2025-07-22 10:43:19 -07:00
"prebuild" : "echo 'Prebuild step - no version generation needed'" ,
2025-07-11 11:11:56 -07:00
"build" : "BUILD_TYPE=unified rollup -c rollup.config.js" ,
2025-06-24 11:41:30 -07:00
"build:browser" : "BUILD_TYPE=browser rollup -c rollup.config.js" ,
"start" : "node dist/unified.js" ,
2025-07-17 07:53:41 -07:00
"demo" : "npm run build && npm run build:browser && npx http-server -o /demo/index.html" ,
2025-07-02 11:32:06 -07:00
"prepare" : "npm run build" ,
2025-07-15 11:53:26 -07:00
"test" : "vitest run" ,
"test:watch" : "vitest" ,
"test:ui" : "vitest --ui" ,
"test:node" : "vitest run tests/environment.node.test.ts tests/core.test.ts tests/vector-operations.test.ts tests/tensorflow-patch.test.ts" ,
2025-07-16 11:40:24 -07:00
"test:browser" : "vitest run tests/environment.browser.test.ts --environment jsdom" ,
2025-07-15 11:53:26 -07:00
"test:core" : "vitest run tests/core.test.ts" ,
"test:coverage" : "vitest run --coverage" ,
2025-07-17 10:00:28 -07:00
"test:size" : "vitest run tests/package-size-limit.test.ts" ,
2025-07-28 10:04:45 -07:00
"test:all" : "npm run build && vitest run" ,
2025-07-28 16:00:05 -07:00
"test:report:json" : "vitest run --reporter json" ,
"test:error-handling" : "vitest run tests/error-handling.test.ts" ,
"test:edge-cases" : "vitest run tests/edge-cases.test.ts" ,
"test:storage" : "vitest run tests/storage-adapter-coverage.test.ts" ,
"test:environments" : "vitest run tests/multi-environment.test.ts" ,
"test:specialized" : "vitest run tests/specialized-scenarios.test.ts" ,
"test:performance" : "vitest run tests/performance.test.ts" ,
2025-08-01 16:22:18 -07:00
"test:comprehensive" : "npm run test:error-handling && npm run test:edge-cases && npm run test:storage && npm run test:environments && npm run test:specialized" ,
2025-08-02 16:05:48 -07:00
"_generate-pdf" : "node dev/scripts/generate-architecture-pdf.js" ,
2025-08-01 16:22:18 -07:00
"_release" : "standard-version" ,
"_release:patch" : "standard-version --release-as patch" ,
"_release:minor" : "standard-version --release-as minor" ,
"_release:major" : "standard-version --release-as major" ,
"_release:dry-run" : "standard-version --dry-run" ,
"_github-release" : "node scripts/create-github-release.js" ,
"_changelog:check" : "echo 'Changelog is now automatically generated from commit messages'" ,
"_lint" : "eslint --ext .ts,.js src/" ,
"_lint:fix" : "eslint --ext .ts,.js src/ --fix" ,
"_format" : "prettier --write \"src/**/*.{ts,js}\"" ,
"_check:format" : "prettier --check \"src/**/*.{ts,js}\"" ,
"_check:style" : "node scripts/check-code-style.js" ,
"_deploy" : "npm run build && npm publish" ,
"_workflow" : "node scripts/release-workflow.js" ,
"_workflow:patch" : "node scripts/release-workflow.js patch" ,
"_workflow:minor" : "node scripts/release-workflow.js minor" ,
"_workflow:major" : "node scripts/release-workflow.js major" ,
"_workflow:dry-run" : "npm run build && npm test && npm run _release:dry-run" ,
"_dry-run" : "npm pack --dry-run"
2025-06-24 11:41:30 -07:00
} ,
"keywords" : [
"vector-database" ,
"hnsw" ,
"opfs" ,
"origin-private-file-system" ,
"embeddings" ,
"graph-database" ,
"streaming-data"
] ,
"author" : "David Snelling (david@soulcraft.com)" ,
"license" : "MIT" ,
"private" : false ,
"publishConfig" : {
"access" : "public"
} ,
"homepage" : "https://github.com/soulcraft-research/brainy" ,
"bugs" : {
"url" : "https://github.com/soulcraft-research/brainy/issues"
} ,
"repository" : {
"type" : "git" ,
2025-07-02 16:27:53 -07:00
"url" : "git+https://github.com/soulcraft-research/brainy.git"
2025-06-24 11:41:30 -07:00
} ,
"files" : [
2025-07-02 12:28:00 -07:00
"dist/unified.js" ,
"dist/unified.min.js" ,
"dist/brainy.js" ,
"dist/brainy.min.js" ,
2025-06-24 11:41:30 -07:00
"dist/**/*.d.ts" ,
"dist/types/" ,
2025-07-02 12:28:00 -07:00
"dist/augmentations/" ,
"dist/examples/" ,
"dist/hnsw/" ,
"dist/mcp/" ,
"dist/storage/" ,
"dist/utils/" ,
2025-06-24 11:41:30 -07:00
"LICENSE" ,
"README.md" ,
2025-07-02 10:20:58 -07:00
"brainy.png"
2025-06-24 11:41:30 -07:00
] ,
"devDependencies" : {
"@rollup/plugin-commonjs" : "^25.0.7" ,
"@rollup/plugin-json" : "^6.1.0" ,
"@rollup/plugin-node-resolve" : "^15.2.3" ,
"@rollup/plugin-replace" : "^5.0.5" ,
"@rollup/plugin-typescript" : "^11.1.6" ,
2025-07-28 10:04:45 -07:00
"@types/express" : "^5.0.3" ,
2025-07-15 11:53:26 -07:00
"@types/jsdom" : "^21.1.7" ,
2025-07-04 12:19:48 -07:00
"@types/node" : "^20.11.30" ,
2025-06-24 11:41:30 -07:00
"@types/uuid" : "^10.0.0" ,
2025-07-04 12:19:48 -07:00
"@typescript-eslint/eslint-plugin" : "^7.4.0" ,
"@typescript-eslint/parser" : "^7.4.0" ,
2025-07-28 10:04:45 -07:00
"@vitest/coverage-v8" : "^3.2.4" ,
2025-07-15 11:53:26 -07:00
"@vitest/ui" : "^3.2.4" ,
2025-07-04 12:19:48 -07:00
"eslint" : "^8.57.0" ,
2025-07-28 10:04:45 -07:00
"express" : "^5.1.0" ,
2025-07-15 11:53:26 -07:00
"happy-dom" : "^18.0.1" ,
"jsdom" : "^26.1.0" ,
2025-07-28 10:04:45 -07:00
"node-fetch" : "^3.3.2" ,
2025-08-02 16:05:48 -07:00
"puppeteer" : "^22.15.0" ,
2025-07-04 12:19:48 -07:00
"rollup" : "^4.13.0" ,
2025-06-24 11:41:30 -07:00
"rollup-plugin-terser" : "^7.0.2" ,
2025-07-31 13:15:04 -07:00
"standard-version" : "^9.5.0" ,
2025-07-04 12:19:48 -07:00
"tslib" : "^2.6.2" ,
2025-07-15 11:53:26 -07:00
"typescript" : "^5.4.5" ,
2025-07-28 10:04:45 -07:00
"vitest" : "^3.2.4"
2025-06-24 11:41:30 -07:00
} ,
"dependencies" : {
2025-07-04 12:19:48 -07:00
"@aws-sdk/client-s3" : "^3.540.0" ,
2025-06-24 11:41:30 -07:00
"@tensorflow-models/universal-sentence-encoder" : "^1.3.3" ,
2025-06-27 14:06:59 -07:00
"@tensorflow/tfjs" : "^4.22.0" ,
2025-06-24 11:41:30 -07:00
"@tensorflow/tfjs-backend-cpu" : "^4.22.0" ,
2025-06-26 10:48:25 -07:00
"@tensorflow/tfjs-backend-webgl" : "^4.22.0" ,
2025-06-24 11:41:30 -07:00
"@tensorflow/tfjs-converter" : "^4.22.0" ,
"@tensorflow/tfjs-core" : "^4.22.0" ,
"buffer" : "^6.0.3" ,
2025-07-28 16:00:05 -07:00
"dotenv" : "^16.4.5" ,
2025-07-04 12:19:48 -07:00
"uuid" : "^9.0.1"
2025-06-24 11:41:30 -07:00
} ,
"prettier" : {
"arrowParens" : "always" ,
"bracketSameLine" : true ,
"bracketSpacing" : true ,
"htmlWhitespaceSensitivity" : "css" ,
"printWidth" : 80 ,
"proseWrap" : "preserve" ,
"semi" : false ,
"singleQuote" : true ,
"tabWidth" : 2 ,
"trailingComma" : "none" ,
"useTabs" : false
} ,
"eslintConfig" : {
"root" : true ,
"extends" : [
"eslint:recommended" ,
"plugin:@typescript-eslint/recommended"
] ,
"parser" : "@typescript-eslint/parser" ,
"plugins" : [
"@typescript-eslint"
] ,
"rules" : {
"@typescript-eslint/no-explicit-any" : "off" ,
"no-unused-vars" : "off" ,
"@typescript-eslint/no-unused-vars" : [
"warn" ,
{
"args" : "after-used" ,
"argsIgnorePattern" : "^_"
}
] ,
"semi" : "off" ,
"@typescript-eslint/semi" : [
"error" ,
"never"
] ,
"no-extra-semi" : "off"
}
}
}