@darlean/valueobjects
Version:
Library for DDD-like value objects that can be validated, serialized and represented in other programming languages as native objects with native naming.
62 lines (61 loc) • 2.36 kB
JSON
{
"name": "@darlean/valueobjects",
"version": "2.0.0-alpha.16",
"description": "Library for DDD-like value objects that can be validated, serialized and represented in other programming languages as native objects with native naming.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"scripts": {
"test": "npm run test:all",
"test:all": "jest --verbose --runInBand --config jestconfig.json",
"build": "shx rm -rf lib/* && tsc",
"run": "node lib/index.js",
"format": "prettier --write \"src/**/*.ts\"",
"lint": "npx eslint@8.56.0 ./src --ext .js,.jsx,.ts,.tsx",
"update-deps": "npm install @darlean/canonical@latest",
"prepublish": "npm run build",
"prepublishOnly": "npm run build && npm test && npm run lint",
"preversion": "npm run format && npm install && npm run update-deps && npm run lint && npm run build && npm test",
"version": "git add -A src && git add package.json && git add ../package-lock.json && git -C .. tag valueobjects-%npm_package_version%",
"postversion": "git commit -m \"Version upgrade to valueobjects-%npm_package_version%\" && git push && git push --tags",
"precommit": "npm run format && npm run lint && npm run build",
"npm:version:alpha": "npm version prerelease --preid=alpha --git-tag-version=false",
"npm:publish": "npm publish --access=public",
"doc": "npx typedoc --skipErrorChecking --json typedoc-out.json & npx docgen typedoc-out.json ./docs/"
},
"keywords": [
"Valueobject",
"DDD",
"Domain Driven Design",
"Value",
"Object"
],
"author": "Theo van der Donk",
"license": "Apache-2.0",
"devDependencies": {
"@types/jest": "^29.5.11",
"@types/node": "^18.19.4",
"@types/uuid": "^9.0.7",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"eslint": "^8.56.0",
"jest": "^29.7.0",
"jest-standard-reporter": "^2.0.0",
"prettier": "^2.8.8",
"shx": "^0.3.4",
"ts-jest": "^29.1.1",
"typedoc": "^0.23.28",
"typescript": "^4.9.5"
},
"files": [
"lib/**/*",
"NOTICE"
],
"typedoc": {
"entryPoint": "./src/index.ts",
"tsconfig": "./tsconfig.json"
},
"dependencies": {
"@darlean/canonical": "^2.0.0-alpha.5",
"reflect-metadata": "^0.2.2"
}
}