betterddb
Version:
A definition-based DynamoDB wrapper library that provides a schema-driven and fully typesafe DAL.
77 lines (76 loc) • 2.03 kB
JSON
{
"name": "betterddb",
"version": "0.8.3",
"description": "A definition-based DynamoDB wrapper library that provides a schema-driven and fully typesafe DAL.",
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.js"
}
},
"files": [
"dist",
"README.md",
"LICENSE",
"API_REFERENCE.md"
],
"scripts": {
"build": "tsc",
"docker:up": "docker-compose up -d",
"docker:down": "docker-compose down",
"test": "npm run docker:up && jest && npm run docker:down",
"test:watch": "npm run docker:up && jest --watch",
"test:coverage": "npm run docker:up && jest --coverage && npm run docker:down",
"format": "prettier --write 'src/**/*.ts'",
"lint": "eslint src/**/*.ts",
"clean": "del-cli ./dist",
"typecheck": "tsc --noEmit",
"prepublishOnly": "npm run clean && npm run build"
},
"keywords": [
"dynamodb",
"dal",
"aws-sdk",
"zod",
"typescript",
"wrapper",
"compound-key",
"transactions",
"batch",
"pagination"
],
"author": "R.R. Wang",
"license": "MIT",
"dependencies": {
"@aws-sdk/client-dynamodb": "^3.744.0",
"@aws-sdk/lib-dynamodb": "^3.744.0",
"zod": "^3.24.2"
},
"devDependencies": {
"@babel/core": "^7.28.0",
"@babel/preset-env": "^7.28.0",
"@babel/preset-typescript": "^7.27.1",
"@eslint/js": "^9.11.1",
"@types/jest": "^29.5.14",
"@types/node": "^22.13.5",
"@typescript-eslint/eslint-plugin": "^8.24.1",
"@typescript-eslint/parser": "^8.24.1",
"babel-jest": "^30.0.4",
"del-cli": "^6.0.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"jest": "^29.7.0",
"prettier": "^3.3.3",
"ts-jest": "^29.2.5",
"typescript": "latest"
},
"peerDependencies": {
"typescript": ">=4.7.0"
}
}