typed-object-accumulator
Version:
Class capable of accumulation properties and types
75 lines (74 loc) • 3.41 kB
JSON
{
"name": "typed-object-accumulator",
"version": "1.0.6",
"description": "Class capable of accumulation properties and types",
"type": "module",
"exports": {
"types": "./lib/types/index.d.ts",
"import": "./lib/esm/index.js",
"require": "./lib/cjs/index.cjs",
"default": "./lib/esm/index.js"
},
"main": "./lib/cjs/index.cjs",
"module": "./lib/esm/index.js",
"types": "./lib/types/index.d.ts",
"sideEffects": false,
"scripts": {
"do-install": "TOKEN=$(cat .token) npm install",
"update-scripts": "node ./bin/update-scripts.cjs",
"on-first-run": "node ./bin/update-scripts.cjs --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 --detectOpenHandles",
"test:unit": "jest --testPathPatterns=\"/tests/unit\" --passWithNoTests --detectOpenHandles",
"test:integration": "jest --testPathPatterns=\"/tests/(integration)\" --passWithNoTests --detectOpenHandles",
"test:all": "jest --testPathPatterns=\"/tests\" --passWithNoTests --detectOpenHandles",
"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.cjs",
"lint": "eslint .",
"lint-fix": "eslint --fix .",
"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"
},
"repository": {
"type": "git",
"url": "git+https://github.com/TiagoVenceslau/typed-object-accumulator.git"
},
"engines": {
"node": ">=20.0.0",
"npm": ">=10.0.0"
},
"files": [
"lib",
"dist"
],
"keywords": [
"typed",
"types-safe",
"object",
"config",
"environment",
"accumulator",
"typescript",
"ts"
],
"author": "Tiago Venceslau",
"bugs": {
"url": "https://github.com/TiagoVenceslau/typed-object-accumulator/issues"
},
"homepage": "https://github.com/TiagoVenceslau/typed-object-accumulator#readme",
"devDependencies": {
"@decaf-ts/utils": "latest"
},
"dependencies": {
"user": "^0.0.0"
}
}