UNPKG

@swoft/ddd

Version:

Domain-Driven Design (DDD) strategic and tactical design tools for domain modeling and bounded context management.

122 lines (121 loc) 3.4 kB
{ "name": "@swoft/ddd", "version": "0.1.30", "private": false, "main": "dist/index.js", "types": "dist/index.d.ts", "bin": { "swoft-domain-explorer": "./dist/cli/swoft-domain-explorer.js" }, "scripts": { "analyze": "size-limit --why", "build": "tsup", "build:turbo": "turbo run build --output-logs errors-only --filter @swoft/ddd", "build:watch": "tsup --watch", "check": "tsc --noEmit", "clean": "rimraf dist", "clean:all": "rimraf dist node_modules .turbo", "dev": "tsup --watch", "lint": "eslint src --ext .ts", "lint:fix": "eslint src --ext ts --fix", "prepublishOnly": "pnpm run build", "size": "size-limit", "test": "vitest run", "test:coverage": "vitest run --coverage", "test:watch": "vitest", "typecheck": "tsc --noEmit", "build:publish": "NODE_ENV=production tsup" }, "dependencies": { "@swoft/core": "^2.0.5", "@swoft/persistence": "^2.0.9", "@zodios/core": "^10.9.6", "chalk": "^4.1.2", "commander": "^11.1.0", "express": "^4.18.2", "inversify": "^6.2.0", "mongodb": "^6.16.0", "reflect-metadata": "^0.2.2", "uuid": "^11.1.0", "zod": "^3.25.64" }, "devDependencies": { "@types/node": "^20.19.9", "@types/uuid": "^10.0.0", "eslint": "^9.25.0", "glob": "^11.0.2", "rimraf": "^6.0.0", "tsup": "^8.5.0", "tsx": "^4.0.0", "typescript": "5.1.6", "vitest": "^1.0.0" }, "keywords": [ "ddd-domain:DOM-005", "ddd-context:pending-creation", "ddd-published:DomainRef,BoundedContextRef,AggregateRef,EntityRef,ValueObjectRef,DomainServiceRef,DomainEventRef", "domain-driven-design", "ddd", "architecture", "bounded-contexts", "aggregates", "domain-events", "swoft" ], "tags": [ "layer:domain", "arch:ddd", "type:business-logic", "build:priority-2", "scope:bounded-context", "deploy:selective", "stability:evolving", "domain:ddd" ], "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.js" }, "./contracts": { "types": "./dist/contracts.d.ts", "import": "./dist/contracts.mjs", "require": "./dist/contracts.js" }, "./*": { "types": "./dist/*.d.ts", "import": "./dist/*", "require": "./dist/*" }, "./contracts/DDDSummaryModels": { "types": "./dist/integration/contracts/DDDSummaryModels.d.ts", "import": "./dist/integration/contracts/DDDSummaryModels.mjs", "require": "./dist/integration/contracts/DDDSummaryModels.js" }, "./contracts/DomainQueryCriteria": { "types": "./dist/integration/contracts/DomainQueryCriteria.d.ts", "import": "./dist/integration/contracts/DomainQueryCriteria.mjs", "require": "./dist/integration/contracts/DomainQueryCriteria.js" }, "./contracts/index": { "types": "./dist/integration/contracts/index.d.ts", "import": "./dist/integration/contracts/index.mjs", "require": "./dist/integration/contracts/index.js" } }, "publishConfig": { "registry": "http://localhost:4873" }, "files": [ "dist", "README.md", "package.json" ], "repository": { "type": "git", "url": "https://github.com/derickrethans/swoft-workspaces.git", "directory": "domains/ddd" }, "license": "MIT" }