@decaf-ts/core
Version:
Core persistence module for the decaf framework
98 lines (97 loc) • 4.71 kB
JSON
{
"name": "@decaf-ts/core",
"version": "0.7.45",
"description": "Core persistence module for the decaf framework",
"type": "module",
"exports": {
".": {
"require": "./lib/index.cjs",
"import": "./lib/esm/index.js",
"types": "./lib/index.d.ts"
},
"./ram": {
"require": "./lib/ram/index.cjs",
"import": "./lib/esm/ram/index.js",
"types": "./lib/esm/index.d.ts"
}
},
"types": "lib/index.d.ts",
"scripts": {
"do-install": "NPM_TOKEN=$(cat .npmtoken) npm install",
"update-dependencies": "PREFIX=\"decaf-ts\"; npm ls | grep \"$PREFIX\" | awk -F/ '{print $NF}' | sed 's/@.*//' | xargs -I package npm update @\"$PREFIX\"/package",
"update-scripts": "npx update-scripts",
"on-first-run": "npx update-scripts --boot",
"set-git-auth": "git config url.\"https://api:$(cat .token)@github.com/\".insteadOf \"https://github.com/\" && git config url.\"https://ssh:$(cat .token)@github.com/\".insteadOf \"ssh://git@github.com/\" && git config url.\"https://git:$(cat .token)@github.com/\".insteadOf \"git@github.com:\"",
"flash-forward": "npx npm-check-updates -u && npm run do-install",
"reset": "rm -rf * && git checkout . && git pull && npm run do-install",
"build": "npx build-scripts --dev",
"build:prod": "npx build-scripts --prod",
"test": "jest --runInBand --coverage --detectOpenHandles",
"test:unit": "jest --testPathPattern=\"/tests/unit\" --passWithNoTests --detectOpenHandles",
"test:integration": "jest --testPathPattern=\"/tests/(integration)\" --passWithNoTests --detectOpenHandles",
"test:e2e": "jest --testPathPattern=\"/tests/(e2e)\" --passWithNoTests --detectOpenHandles",
"test:all": "jest --testPathPattern=\"/tests\" --passWithNoTests",
"test:circular": "dpdm -T --no-warning --no-tree ./src/index.ts",
"coverage": "rimraf ./workdocs/reports/data/*.json && npm run test:all -- --coverage --config=./workdocs/reports/jest.coverage.config.ts",
"lint": "eslint .",
"lint-fix": "eslint --fix .",
"prepare-pr": "npm run lint-fix && npm run build:prod && npm run coverage && npm run docs",
"prepare-release": "npm run lint-fix && npm run build:prod && npm run coverage && npm run docs",
"release": "./bin/tag-release.sh",
"clean-publish": "npx clean-publish",
"drawings": "for FILE in workdocs/drawings/*.drawio; do echo \"converting $FILE to image...\" && docker run --rm -v $(pwd):/data rlespinasse/drawio-export --format png $FILE; done && cp -rf workdocs/drawings/export/* workdocs/resources/",
"uml": "cd workdocs/uml && for FILE in ./*.puml; do docker run --rm -v $(pwd):/work -w /work miy4/plantuml -DPLANTUML_LIMIT_SIZE=8192 -tpng $FILE; done && cd ../.. && cp -fr workdocs/uml/*.png workdocs/resources/",
"docs": "npx rimraf ./docs && mkdir docs && npx build-scripts --docs",
"publish-docs": "docker run -it --rm --user $(id -u):$(id -g) -v \"$(pwd)/workdocs/confluence:/content\" -e ATLASSIAN_API_TOKEN=$(cat .confluence-token) ghcr.io/markdown-confluence/publish:latest",
"repo:init": "codex exec \"$(cat ./.codex/prompts/repo-setup.md)\nbase_path is `./`, initialize the repository\"",
"repo:setup": "codex exec \"$(cat ./.codex/prompts/repo-setup.md)\nbase_path is ./\"",
"repo:doc": "codex exec \"$(cat ./.codex/prompts/doc.md) $(cat ./.codex/prompts/bulk-docs.md)\nbase_path is ./\"",
"repo:tests": "codex exec \"$(cat ./.codex/prompts/bulk-tests.md)\nbase_path is ./ and coverage is 95%\" -s workspace-write",
"repo:readme": "codex exec \"$(cat ./.codex/prompts/update-readme.md)\nbase_path is ./\"",
"repo:pr": "npm run repo:doc && npm run repo:tests && npm run repo:readme",
"sync-codex": "./bin/sync-codex.sh"
},
"repository": {
"type": "git",
"url": "git+https://github.com/decaf-ts/core.git"
},
"engines": {
"node": ">=20.0.0",
"npm": ">=10.0.0"
},
"files": [
"lib",
"dist",
"workdocs/assets/slogans.json"
],
"keywords": [
"core",
"persistence",
"database",
"repository",
"decaf",
"typescript",
"orm",
"storage",
"transactions",
"data-model",
"crud"
],
"author": "Tiago Venceslau and Contributors",
"license": "MPL-2.0",
"bugs": {
"url": "https://github.com/decaf-ts/core/issues"
},
"homepage": "https://github.com/decaf-ts/core#readme",
"devDependencies": {
"@decaf-ts/logging": "latest",
"@decaf-ts/utils": "latest"
},
"dependencies": {
"@decaf-ts/db-decorators": "latest",
"@decaf-ts/decoration": "latest",
"@decaf-ts/decorator-validation": "latest",
"@decaf-ts/injectable-decorators": "latest",
"@decaf-ts/transactional-decorators": "latest"
}
}