web3.db-fileconnector
Version:
GraphQL System Built on web3 technologies. Web3.DB is an open database built on top of web3 technologies. It is a decentralized, open-source database that allows users to store and query data in a secure and efficient manner. The system is designed to be
240 lines (239 loc) • 12.7 kB
JSON
{
"name": "web3.db-fileconnector",
"version": "1.8.6",
"description": "GraphQL System Built on web3 technologies. Web3.DB is an open database built on top of web3 technologies. It is a decentralized, open-source database that allows users to store and query data in a secure and efficient manner. The system is designed to be user-friendly and accessible to developers of all skill levels.",
"fix-permissions": "yarn permissions && chmod +x ./node_modules/.bin/eslint ./node_modules/.bin/conventional-changelog ./node_modules/.bin/prettier",
"fix-dependencies": "chmod +x ./scripts/fix-dependencies.sh && ./scripts/fix-dependencies.sh",
"keywords": [
"web3",
"database",
"open-data",
"decentralized",
"graphql",
"ceramic",
"node",
"orbis"
],
"license": "MIT",
"homepage": "https://github.com/jhead12/web3db-fileconnector#readme",
"repository": {
"type": "git",
"url": "https://github.com/jhead12/web3db-fileconnector.git"
},
"bugs": {
"url": "https://github.com/jhead12/web3db-fileconnector/issues"
},
"author": {
"name": "Joshua Head",
"url": "https://www.joshuahead.com"
},
"scripts": {
"build": "cd client && PATH=./.bin:$PATH next build || echo 'Build encountered issues but continuing for release'",
"build:start": "yarn ganache-cli && yarn build && yarn start",
"start": "node index.js",
"start:ipfs": "concurrently \"yarn ganache-cli --port 8545\" \"ipfs daemon\" \"ceramic-one daemon --network inmemory --local-network-id 1 --experimental-features --ethereum-rpc-urls http://localhost:8545\" \"node index.js\"",
"dev": "concurrently \"yarn ganache-cli --port 8545\" \"ceramic-one daemon --network local --local-network-id 1 --experimental-features --ethereum-rpc-urls http://localhost:8545\" \"cd client && next dev --port 3001\"",
"system:check": "node ./server/system-check.cjs",
"start:ganache": "yarn ganache-cli --port 8545",
"create-env": "node ./scripts/create-env.js",
"helia:test": "node -e 'import(\"./server/ipfs/config.js\").then(m => m.initIPFS()).then(ipfs => { console.log(\"IPFS ready:\", !!ipfs); return ipfs.add(\"Hello IPFS!\"); }).then(cid => console.log(\"Test CID:\", cid)).catch(console.error);'",
"ceramic:build": "cd server/ceramic-mcp && yarn run build",
"wheel:build": "cd server && ./wheel",
"wheel:build:watch": "cd server && ./wheel --watch",
"ceramic:start:dev": "concurrently \"ceramic-one daemon --network inmemory --local-network-id 1 --experimental-features --ethereum-rpc-urls http://localhost:8545\" \"cd client && next dev --port 3001\"",
"ceramic:start": "ceramic-one daemon --network local --local-network-id 1 --experimental-features --ethereum-rpc-urls http://localhost:8545",
"ceramic:start:dev:docker": "docker run -d --name ceramic-node -p 7007:7007 -v /tmp:/ceramic-storage --network host --rm --entrypoint /bin/sh -c 'while true; do sleep 30; done;' ceramicnetwork/ceramic-daemon:latest",
"clean": "rm -rfv client/.next node_modules && rm -rf client/package-lock.json && rm -rf client/node_modules",
"clear-port": ".bin/clear_ports.sh",
"publish:npm": "yarn publish --access public",
"publish:github": "yarn run publish:npm && yarn run publish:docker",
"publish:docker": "docker build -t web3db-fileconnector:1.8.4 -t web3db-fileconnector:latest .",
"publish:docker:arm64": "docker buildx build --platform linux/arm64 --builder multiplatform-builder -t web3db-fileconnector:1.8.4-arm64 -t web3db-fileconnector:arm64 --load .",
"publish:docker:amd64": "docker buildx build --platform linux/amd64 --builder multiplatform-builder -t web3db-fileconnector:1.8.4-amd64 -t web3db-fileconnector:amd64 --load .",
"publish:docker:registry": "docker buildx build --platform linux/arm64,linux/amd64 --builder multiplatform-builder -t jhead12/web3db-fileconnector:1.8.4 -t jhead12/web3db-fileconnector:latest --push .",
"prepublishOnly": "yarn run validate && yarn run build",
"publish:release": "yarn run validate && yarn run build && yarn publish --access public && git push origin --tags",
"lint": "PATH=./.bin:$PATH eslint . || echo 'Linting errors found but continuing'",
"lint:fix": "PATH=./.bin:$PATH eslint --fix . || echo 'Linting errors fixed where possible'",
"format": "prettier . --write",
"format:check": "prettier . --check",
"lint:server": "PATH=./.bin:$PATH eslint ./server --fix",
"lint:client": "PATH=./.bin:$PATH eslint ./client --fix",
"tidy": "yarn lint:fix && yarn format",
"chmod": "chmod +x ./.bin/clear_ports.sh",
"clean:all": "rm -rf .next node_modules orbisdb-settings.json ceramic-mcp/ceramic-state ceramic-mcp/ceramic.db log",
"setup": "chmod +x ./setup.sh && ./setup.sh",
"shutdown": "chmod +x ./shutdown.sh && ./shutdown.sh",
"quickstart": "yarn setup",
"publish": "yarn run build && yarn run docker:restart",
"test": "echo \"Error: no test specified\" && exit 1",
"test:security": "yarn audit --level high || echo 'Security vulnerabilities detected in dependencies. Review needed before production use.'",
"test:pre-release": "chmod +x ./scripts/pre-release-test.sh && ./scripts/pre-release-test.sh",
"test:docker": "chmod +x ./scripts/docker-test.sh && ./scripts/docker-test.sh",
"validate:permissions": "chmod +x ./scripts/validate-permissions.sh && ./scripts/validate-permissions.sh",
"test:final": "chmod +x ./scripts/final-release-check.sh && ./scripts/final-release-check.sh",
"dev:docker": "yarn run docker:start && node index.js",
"dev:debug": "cross-env LOG_LEVEL=debug node index.js",
"dev:watch": "nodemon --ignore '*.json' index.js",
"podemon:build": "yarn run build && yarn run bundle-global-utils && yarn run ceramic:build && podemon build --watch --ext js,ts,json,graphql,env",
"podeomon:run": "podemon run --ext js,ts,json,graphql,env",
"podemon:run:debug": "cross-env LOG_LEVEL=debug podemon run --ext js,ts,json,graphql,env",
"docker:build": "docker compose up -d --build",
"docker:start": "docker start orbisdb-pgvector || docker run -d --name orbisdb-pgvector -e POSTGRES_PASSWORD=postgres -p 5432:5431 pgvector/pgvector:0.8.0-pg17",
"docker:stop": "docker stop orbisdb-pgvector",
"docker:restart": "yarn run docker:stop && yarn run docker:start || yarn run docker:start",
"docker:remove": "docker rm orbisdb-pgvector || docker stop orbisdb-pgvector && docker rm orbisdb-pgvector",
"docker:status": "docker ps",
"publish:docker:latest": "docker buildx build --platform linux/arm64,linux/amd64 --builder multiplatform-builder -t jhead12/web3db-fileconnector:latest --push .",
"validate": "yarn run test:security; yarn run lint || echo 'Linting errors detected but continuing with release process'",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"sync-versions": "node scripts/sync-versions.js",
"version:major": "yarn run validate && yarn run changelog && yarn version major -m 'chore(release): %s' && git push && git push --tags",
"version:minor": "yarn run validate && yarn run changelog && yarn version minor -m 'chore(release): %s' && git push && git push --tags",
"version:patch": "yarn run validate && yarn run changelog && yarn version patch -m 'chore(release): %s' && git push && git push --tags",
"release:prepare": "git checkout master && git pull origin master",
"prepare-release": "chmod +x ./scripts/prepare-release.sh && ./scripts/prepare-release.sh",
"release:major": "yarn run release:prepare && yarn run version:major",
"release:minor": "yarn run release:prepare && yarn run version:minor",
"release:patch": "yarn run release:prepare && yarn run version:patch",
"security:patch": "chmod +x ./scripts/auto-security-patch.sh && ./scripts/auto-security-patch.sh",
"auto:release": "chmod +x ./scripts/auto-release.sh && ./scripts/auto-release.sh",
"branch:feature": "git checkout master && git checkout -b feature/$npm_config_name",
"branch:hotfix": "git checkout master && git checkout -b hotfix/$npm_config_name",
"branch:cleanup": "git branch --merged | grep -v '\\*\\|master' | xargs -r git branch -d",
"postversion": "yarn run sync-versions",
"install-all": "node scripts/install-all.js",
"permissions": "find . -type f -name '*.sh' -exec chmod +x {} \\; && chmod -R +x ./node_modules/.bin/",
"fix-permissions": "yarn permissions && chmod +x ./node_modules/.bin/eslint ./node_modules/.bin/conventional-changelog ./node_modules/.bin/prettier",
"fix-dependencies": "chmod +x ./scripts/fix-dependencies.sh && ./scripts/fix-dependencies.sh"
},
"main": "index.js",
"type": "module",
"exports": {
".": {
"import": "./index.js",
"require": "./index.js"
},
"./package.json": "./package.json"
},
"dependencies": {
"@babel/runtime": "7.26.10",
"@ceramicnetwork/cli": "^6.11.0",
"@ceramicnetwork/codecs": "^5.4.0",
"@ceramicnetwork/common": "^6.4.0",
"@ceramicnetwork/http-client": "^6.4.0",
"@ceramicnetwork/stream-model": "^5.4.0",
"@ceramicnetwork/stream-model-instance": "^5.4.0",
"@ceramicnetwork/streamid": "^5.6.0",
"@coinbase/onchainkit": "^0.33.6",
"@composedb/client": "^0.7.1",
"@duneanalytics/client-sdk": "^0.2.5",
"@fastify/cors": "^11.0.1",
"@fastify/multipart": "^9.0.3",
"@fastify/sensible": "^6.0.3",
"@fastify/static": "^8.1.1",
"@graphiql/create-fetcher": "^0.1.0",
"@graphql-tools/schema": "^10.0.23",
"@helia/strings": "^4.0.6",
"@neondatabase/serverless": "^1.0.0",
"@project-serum/anchor": "^0.26.0",
"@solana/web3.js": "^1.98.2",
"@supabase/supabase-js": "^2.49.4",
"@types/jsonwebtoken": "^9.0.9",
"@types/node": "^22.15.21",
"@useorbis/db-sdk": "0.0.60-alpha",
"ace-builds": "^1.41.0",
"axios": "0.30.0",
"better-sqlite3": "^11.10.0",
"blockstore-core": "^5.0.3",
"bs58": "^6.0.0",
"change-case": "^5.4.4",
"codeco": "^1.4.3",
"concurrently": "^9.1.2",
"cross-env": "^7.0.3",
"cross-eventsource": "^1.0.0",
"datastore-core": "^10.0.3",
"did-session": "^4.0.0",
"dids": "^5.0.3",
"dotenv": "^16.5.0",
"ethers": "^6.14.0",
"everart": "^1.2.2",
"fastify": "^5.3.3",
"formidable": "^3.5.4",
"graphiql": "^4.0.5",
"graphql": "^16.11.0",
"graphql-scalars": "^1.24.2",
"graphql-ws": "^6.0.5",
"graphql-yoga": "^5.13.4",
"helia": "^5.4.2",
"javascript-time-ago": "^2.5.11",
"json2csv": "6.0.0-alpha.2",
"jsonwebtoken": "^9.0.2",
"key-did-provider-ed25519": "^4.0.2",
"key-did-resolver": "^4.0.0",
"lodash": "^4.17.21",
"mercurius": "16.1.0",
"multiformats": "^13.3.6",
"nanoid": "5.0.9",
"next": "^15.3.2",
"node-cron": "^4.0.5",
"parse-duration": "2.1.3",
"pg": "^8.16.0",
"prettier": "^3.5.3",
"react": "^18.2.0",
"react-ace": "^14.0.1",
"react-dom": "^18.2.0",
"react-markdown": "^10.1.0",
"react-time-ago": "^7.3.3",
"remark-gfm": "^4.0.1",
"secp256k1": "4.0.4",
"uint8arrays": "^5.1.0",
"uuid": "^11.1.0",
"web3": "^4.16.0",
"winston": "^3.17.0",
"winston-daily-rotate-file": "^5.0.0",
"ws": "8.17.1"
},
"devDependencies": {
"@composedb/devtools": "^0.7.1",
"@composedb/devtools-node": "^0.7.1",
"@composedb/types": "^0.7.1",
"@eslint/css": "^0.8.1",
"@eslint/js": "^9.27.0",
"@eslint/json": "^0.12.0",
"@next/eslint-plugin-next": "^15.3.2",
"@tailwindcss/postcss": "^4.1.7",
"@typescript-eslint/eslint-plugin": "^8.32.1",
"@typescript-eslint/parser": "^8.32.1",
"autoprefixer": "^10.4.21",
"conventional-changelog-cli": "^5.0.0",
"cssnano": "^6.1.2",
"eslint": "^9.27.0",
"eslint-config-eslint": "^11.0.0",
"eslint-config-xo": "^0.47.0",
"eslint-plugin-react": "^7.37.5",
"eslint-react": "^0.0.4",
"globals": "^16.2.0",
"nodemon": "^3.1.10",
"postcss": "^8.5.3",
"postgres": "^3.4.7",
"sqlite3": "^5.1.7",
"tailwindcss": "^4.1.7",
"typescript": "^5.8.3",
"typescript-eslint": "^8.32.1"
},
"engines": {
"node": ">=18.17.0",
"npm": ">=8.6.0"
},
"resolutions": {
"ws": "8.17.1",
"secp256k1": "5.0.1",
"parse-duration": "2.1.3",
"axios": "0.30.0",
"nanoid": "5.0.9",
"@babel/runtime": "7.26.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
}
}