2025-05-23 10:55:20 -07:00
{
2025-05-23 11:08:02 -07:00
"name" : "@soulcraft/brainy" ,
2025-06-23 10:59:43 -07:00
"version" : "0.9.3" ,
2025-06-05 14:15:00 -07:00
"description" : "A vector graph database using HNSW indexing with Origin Private File System storage" ,
2025-06-19 14:59:42 -07:00
"main" : "dist/unified.js" ,
"module" : "dist/unified.js" ,
"types" : "dist/unified.d.ts" ,
2025-05-23 10:55:20 -07:00
"type" : "module" ,
"sideEffects" : false ,
"exports" : {
"." : {
2025-06-19 14:59:42 -07:00
"import" : "./dist/unified.js" ,
"types" : "./dist/unified.d.ts"
} ,
"./min" : {
"import" : "./dist/unified.min.js"
2025-05-28 09:56:24 -07:00
} ,
"./types/graphTypes" : {
"import" : "./dist/types/graphTypes.js" ,
"types" : "./dist/types/graphTypes.d.ts"
2025-05-28 10:37:55 -07:00
} ,
"./types/augmentations" : {
"import" : "./dist/types/augmentations.js" ,
"types" : "./dist/types/augmentations.d.ts"
2025-05-23 10:55:20 -07:00
}
} ,
"engines" : {
2025-06-05 14:51:21 -07:00
"node" : ">=23.11.0"
2025-05-23 10:55:20 -07:00
} ,
"scripts" : {
2025-06-05 14:04:29 -07:00
"prebuild" : "node scripts/generate-version.js" ,
2025-06-19 16:03:16 -07:00
"build" : "BUILD_TYPE=unified rollup -c rollup.config.js" ,
"build:browser" : "BUILD_TYPE=browser rollup -c rollup.config.js" ,
2025-06-19 14:59:42 -07:00
"start" : "node dist/unified.js" ,
2025-06-23 10:58:09 -07:00
"demo" : "npm run build && npm run build:browser && npx http-server -o /demo/index.html" ,
2025-06-05 14:04:29 -07:00
"cli" : "node ./cli-wrapper.js" ,
2025-05-27 13:58:49 -07:00
"version:patch" : "npm version patch" ,
"version:minor" : "npm version minor" ,
"version:major" : "npm version major" ,
2025-06-19 16:20:33 -07:00
"deploy" : "npm run build && npm publish" ,
2025-06-19 16:03:16 -07:00
"deploy:cloud:aws" : "cd cloud-wrapper && npm run build && npm run deploy:aws" ,
"deploy:cloud:gcp" : "cd cloud-wrapper && npm run build && npm run deploy:gcp" ,
"deploy:cloud:cloudflare" : "cd cloud-wrapper && npm run build && npm run deploy:cloudflare" ,
"deploy:cloud" : "echo 'Please use one of the following commands to deploy to a specific cloud provider:' && echo ' npm run deploy:cloud:aws' && echo ' npm run deploy:cloud:gcp' && echo ' npm run deploy:cloud:cloudflare'" ,
2025-06-05 11:44:18 -07:00
"postinstall" : "echo 'Note: If you encounter dependency conflicts with TensorFlow.js packages, please use: npm install --legacy-peer-deps'"
2025-05-23 10:55:20 -07:00
} ,
2025-06-05 11:18:20 -07:00
"bin" : {
2025-06-05 14:04:29 -07:00
"brainy" : "cli-wrapper.js"
2025-06-05 11:18:20 -07:00
} ,
2025-05-23 10:55:20 -07:00
"keywords" : [
"vector-database" ,
"hnsw" ,
"opfs" ,
"origin-private-file-system" ,
2025-05-28 15:39:14 -07:00
"embeddings" ,
"graph-database" ,
"streaming-data"
2025-05-23 10:55:20 -07:00
] ,
"author" : "David Snelling (david@soulcraft.com)" ,
"license" : "MIT" ,
2025-05-23 11:30:19 -07:00
"private" : false ,
2025-05-23 11:08:02 -07:00
"publishConfig" : {
"access" : "restricted"
} ,
2025-06-11 09:03:04 -07:00
"repository" : {
"type" : "git" ,
"url" : "https://github.com/soulcraft-research/brainy.git"
} ,
2025-06-11 08:58:19 -07:00
"files" : [
2025-06-23 10:39:05 -07:00
"dist/**/*.js" ,
"dist/**/*.d.ts" ,
"dist/types/" ,
2025-06-11 08:58:19 -07:00
"LICENSE" ,
2025-06-23 10:39:05 -07:00
"README.md" ,
2025-06-23 11:11:31 -07:00
"cli-wrapper.js" ,
"brainy.png"
2025-06-11 08:58:19 -07:00
] ,
2025-05-23 10:55:20 -07:00
"devDependencies" : {
2025-06-19 14:59:42 -07:00
"@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-05-23 10:55:20 -07:00
"@types/jest" : "^29.5.3" ,
"@types/node" : "^20.4.5" ,
2025-06-05 11:44:18 -07:00
"@types/omelette" : "^0.4.5" ,
2025-05-23 10:55:20 -07:00
"@types/uuid" : "^10.0.0" ,
"@typescript-eslint/eslint-plugin" : "^6.0.0" ,
"@typescript-eslint/parser" : "^6.0.0" ,
"eslint" : "^8.45.0" ,
"jest" : "^29.6.2" ,
2025-06-19 14:59:42 -07:00
"rollup" : "^4.12.0" ,
"rollup-plugin-terser" : "^7.0.2" ,
2025-05-23 10:55:20 -07:00
"ts-jest" : "^29.1.1" ,
2025-06-19 14:59:42 -07:00
"tslib" : "^2.8.1" ,
2025-05-23 10:55:20 -07:00
"typescript" : "^5.1.6"
} ,
"dependencies" : {
2025-06-05 11:18:20 -07:00
"@aws-sdk/client-s3" : "^3.427.0" ,
2025-05-23 10:55:20 -07:00
"@tensorflow-models/universal-sentence-encoder" : "^1.3.3" ,
"@tensorflow/tfjs" : "^4.22.0" ,
"@tensorflow/tfjs-backend-cpu" : "^4.22.0" ,
2025-06-19 16:03:16 -07:00
"@tensorflow/tfjs-converter" : "^4.22.0" ,
2025-05-23 10:55:20 -07:00
"@tensorflow/tfjs-core" : "^4.22.0" ,
2025-06-20 10:56:50 -07:00
"@tensorflow/tfjs-layers" : "^4.22.0" ,
"buffer" : "^6.0.3" ,
"commander" : "^14.0.0" ,
"omelette" : "^0.4.17" ,
"uuid" : "^9.0.0"
2025-05-23 10:55:20 -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" : {
2025-06-19 14:59:42 -07:00
"@typescript-eslint/no-explicit-any" : "off" ,
2025-05-23 10:55:20 -07:00
"no-unused-vars" : "off" ,
"@typescript-eslint/no-unused-vars" : [
"warn" ,
{
"args" : "after-used" ,
"argsIgnorePattern" : "^_"
}
2025-06-06 09:08:33 -07:00
] ,
2025-06-19 14:59:42 -07:00
"semi" : "off" ,
2025-06-06 09:09:32 -07:00
"@typescript-eslint/semi" : [
"error" ,
"never"
2025-06-19 14:59:42 -07:00
] ,
"no-extra-semi" : "off"
2025-05-23 10:55:20 -07:00
}
}
}