rhizome-node/package.json

105 lines
2.7 KiB
JSON
Raw Permalink Normal View History

2024-12-21 21:16:18 -06:00
{
"name": "rhizome-node",
"version": "0.1.0",
2024-12-21 21:16:18 -06:00
"description": "Rhizomatic database engine node",
"scripts": {
"build": "tsc",
"build:watch": "tsc --watch",
2024-12-21 21:16:18 -06:00
"lint": "eslint",
"test": "jest",
"coverage": "npm run test -- --coverage",
"example-app": "node dist/examples/app.js",
"stop-all": "docker ps -a --filter \"name=^/rhizome-node-\" --format {{.Names}} | xargs -r docker stop",
"build-test-image": "docker build -t rhizome-node-test -f Dockerfile.test ."
},
"jest": {
"testEnvironment": "node",
"preset": "ts-jest/presets/default",
2024-12-29 14:35:30 -06:00
"roots": [
"<rootDir>/__tests__"
2024-12-29 14:35:30 -06:00
],
"testMatch": [
"**/*.test.ts",
"**/*.test.tsx"
2025-06-18 01:20:25 -05:00
],
"testPathIgnorePatterns": [
"/node_modules/",
"/dist/"
2025-06-18 01:20:25 -05:00
],
"moduleNameMapper": {
"^@src$": "<rootDir>/src",
"^@src/(.*)$": "<rootDir>/src/$1",
"^@test-helpers$": "<rootDir>/__tests__/__helpers__",
"^@test-helpers/(.*)$": "<rootDir>/__tests__/__helpers__/$1"
},
2025-06-18 01:20:25 -05:00
"transform": {
"^\\.tsx?$": [
2025-06-18 01:20:25 -05:00
"ts-jest",
{
"tsconfig": "tsconfig.json"
}
]
},
"setupFiles": [
"./__tests__/jest-setup.ts"
],
"detectOpenHandles": true,
"forceExit": true,
"verbose": true,
"testEnvironmentOptions": {
"NODE_ENV": "test"
},
"collectCoverageFrom": [
"src/**/*.{ts,tsx}",
"util/**/*.{ts,tsx}",
"!**/node_modules/**",
"!**/dist/**",
"!**/__tests__/**",
"!**/*.test.{ts,tsx}"
],
"coverageDirectory": "coverage"
2024-12-21 21:16:18 -06:00
},
"author": "Lentil <lentil@laddhoffman.com>",
2024-12-21 21:16:18 -06:00
"license": "Unlicense",
"dependencies": {
"@types/dockerode": "^3.3.40",
2024-12-23 17:29:38 -06:00
"debug": "^4.4.0",
"dockerode": "^4.0.7",
"dotenv": "^16.5.0",
2024-12-21 21:16:18 -06:00
"express": "^4.21.2",
"json-logic-js": "^2.0.5",
"level": "^9.0.0",
"libp2p": "^2.4.2",
2024-12-29 14:35:30 -06:00
"microtime": "^3.1.1",
2024-12-22 14:38:01 -06:00
"object-hash": "^3.0.0",
2024-12-23 17:29:38 -06:00
"showdown": "^2.1.0",
2024-12-29 14:35:30 -06:00
"util": "./util/",
"uuid": "^9.0.0",
2024-12-29 14:35:30 -06:00
"zeromq": "^6.1.2"
2024-12-21 21:16:18 -06:00
},
"devDependencies": {
"@eslint/js": "^9.17.0",
2024-12-29 14:35:30 -06:00
"@types/bluebird": "^3.5.42",
"@types/debug": "^4.1.12",
2024-12-21 21:16:18 -06:00
"@types/express": "^5.0.0",
"@types/jest": "^29.5.14",
"@types/json-logic-js": "^2.0.8",
"@types/microtime": "^2.1.2",
2025-06-18 01:20:25 -05:00
"@types/node": "^22.15.31",
"@types/node-fetch": "^2.6.12",
"@types/object-hash": "^3.0.6",
2024-12-23 17:29:38 -06:00
"@types/showdown": "^2.0.6",
"@types/tar-fs": "^2.0.4",
"@types/uuid": "^10.0.0",
2024-12-21 21:16:18 -06:00
"eslint": "^9.17.0",
"eslint-config-airbnb-base-typescript": "^1.1.0",
"jest": "^29.7.0",
2025-06-18 01:20:25 -05:00
"node-fetch": "^2.7.0",
"ts-jest": "^29.2.5",
2025-06-18 01:20:25 -05:00
"ts-node": "^10.9.2",
"tsc-alias": "^1.8.10",
2024-12-21 21:16:18 -06:00
"typescript": "^5.7.2",
"typescript-eslint": "^8.18.0"
}
}