99 lines
2.5 KiB
JSON
99 lines
2.5 KiB
JSON
{
|
|
"name": "rhizome-node",
|
|
"version": "0.1.0",
|
|
"description": "Rhizomatic database engine node",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"build:watch": "tsc --watch",
|
|
"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",
|
|
"roots": [
|
|
"<rootDir>/__tests__"
|
|
],
|
|
"testMatch": [
|
|
"**/*.test.ts",
|
|
"**/*.test.tsx"
|
|
],
|
|
"testPathIgnorePatterns": [
|
|
"/node_modules/",
|
|
"/dist/"
|
|
],
|
|
"moduleNameMapper": {
|
|
"^@$": "<rootDir>/src",
|
|
"^@src/(.*)$": "<rootDir>/src/$1"
|
|
},
|
|
"transform": {
|
|
"^\\.tsx?$": [
|
|
"ts-jest",
|
|
{
|
|
"tsconfig": "tsconfig.json"
|
|
}
|
|
]
|
|
},
|
|
"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"
|
|
},
|
|
"author": "Lentil <lentil@laddhoffman.com>",
|
|
"license": "Unlicense",
|
|
"dependencies": {
|
|
"@types/dockerode": "^3.3.40",
|
|
"debug": "^4.4.0",
|
|
"dockerode": "^4.0.7",
|
|
"express": "^4.21.2",
|
|
"json-logic-js": "^2.0.5",
|
|
"level": "^9.0.0",
|
|
"libp2p": "^2.4.2",
|
|
"microtime": "^3.1.1",
|
|
"object-hash": "^3.0.0",
|
|
"showdown": "^2.1.0",
|
|
"util": "./util/",
|
|
"uuid": "^9.0.0",
|
|
"zeromq": "^6.1.2"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.17.0",
|
|
"@types/bluebird": "^3.5.42",
|
|
"@types/debug": "^4.1.12",
|
|
"@types/express": "^5.0.0",
|
|
"@types/jest": "^29.5.14",
|
|
"@types/json-logic-js": "^2.0.8",
|
|
"@types/microtime": "^2.1.2",
|
|
"@types/node": "^22.15.31",
|
|
"@types/node-fetch": "^2.6.12",
|
|
"@types/object-hash": "^3.0.6",
|
|
"@types/showdown": "^2.0.6",
|
|
"@types/tar-fs": "^2.0.4",
|
|
"@types/uuid": "^10.0.0",
|
|
"eslint": "^9.17.0",
|
|
"eslint-config-airbnb-base-typescript": "^1.1.0",
|
|
"jest": "^29.7.0",
|
|
"node-fetch": "^2.7.0",
|
|
"ts-jest": "^29.2.5",
|
|
"ts-node": "^10.9.2",
|
|
"tsc-alias": "^1.8.10",
|
|
"typescript": "^5.7.2",
|
|
"typescript-eslint": "^8.18.0"
|
|
}
|
|
}
|