@setho/dynamodb-repository
Version:
DynamoDB repository for hash-key and hash-key/range indexed tables. Designed for Lambda use. Handles nice-to-haves like created and updated timestamps and default id creation.
69 lines (68 loc) • 1.99 kB
JSON
{
"name": "@setho/dynamodb-repository",
"version": "0.9.1",
"description": "DynamoDB repository for hash-key and hash-key/range indexed tables. Designed for Lambda use. Handles nice-to-haves like created and updated timestamps and default id creation.",
"license": "MIT",
"repository": "setho/dynamodb-repository",
"engines": {
"node": ">= 14"
},
"scripts": {
"build": "rm -rf .build && npx tsc && rm -rf .build/test",
"test": "npm run lint && npm run test:unit",
"test:unit": "npx jest unit.test --silent",
"test:int": "npx jest int.test --silent",
"test:smoke": "npx jest smoke.test --silent",
"lint": "eslint .",
"prepublishOnly": "npm run test:smoke",
"prepare": "npm run build",
"smart-publish": "npx publish-if-not-exists"
},
"main": ".build/index.js",
"types": ".build/index.d.ts",
"files": [
".build"
],
"keywords": [
"dynamodb",
"repository",
"lambda",
"setho",
"seth"
],
"dependencies": {
"@aws-sdk/lib-dynamodb": "^3.1012.0",
"http-errors": "^2.0.1",
"joi": "^18.0.2",
"ulid": "^3.0.2"
},
"devDependencies": {
"@aws-sdk/client-dynamodb": "^3.1012.0",
"@faker-js/faker": "^8.1.0",
"@swc/core": "^1.15.18",
"@swc/jest": "^0.2.39",
"@tsconfig/node18": "^18.2.0",
"@types/async-retry": "^1.4.7",
"@types/http-errors": "^2.0.2",
"@types/jest": "^30.0.0",
"typescript-eslint": "^8.0.0",
"async-retry": "^1.3.3",
"eslint": "^10.2.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-jest": "^29.0.0",
"eslint-plugin-no-only-tests": "^3.3.0",
"globals": "^15.0.0",
"husky": "^9.1.7",
"jest": "30.3.0",
"jest-extended": "^4.0.0",
"lint-staged": "^15.0.2",
"prettier": "^3.0.0",
"publish-if-not-exists": "^1.1.0",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
},
"lint-staged": {
"*.{js,ts}": "eslint",
"*.{js,ts,md}": "prettier --write --ignore-path .gitignore"
}
}