UNPKG

@shelf/jest-dynamodb

Version:

Run your tests using Jest & DynamoDB local

81 lines 2.07 kB
{ "name": "@shelf/jest-dynamodb", "version": "4.0.2", "description": "Run your tests using Jest & DynamoDB local", "keywords": [ "dynamodb", "dynamodb local", "jest", "jest environment", "jest preset" ], "repository": "shelfio/jest-dynamodb", "license": "MIT", "author": { "name": "Vlad Holubiev", "email": "vlad@shelf.io", "url": "shelf.io" }, "files": [ "jest-preset.js", "lib/" ], "babel": { "extends": "@shelf/babel-config/backend" }, "prettier": "@shelf/prettier-config", "jest": { "preset": "./jest-preset.js" }, "dependencies": { "@aws-sdk/client-dynamodb": "3.980.0", "@aws-sdk/lib-dynamodb": "3.980.0", "@aws-sdk/util-dynamodb": "3.980.0", "@jest/environment": "30.2.0", "cwd": "0.10.0", "debug": "4.4.3", "dynamodb-local": "0.0.36", "jest-environment-node": "30.2.0" }, "devDependencies": { "@babel/cli": "7.28.6", "@babel/core": "7.28.6", "@shelf/babel-config": "3.0.0", "@shelf/eslint-config": "5.4.1", "@shelf/prettier-config": "1.0.0", "@shelf/tsconfig": "0.1.0", "@types/cwd": "^0.10.2", "@types/jest": "30.0.0", "@types/node": "25", "eslint": "9.39.2", "husky": "9.1.7", "jest": "30.2.0", "lint-staged": "16.2.7", "prettier": "3.8.1", "typescript": "5.9.3" }, "engines": { "node": ">=22" }, "publishConfig": { "access": "public" }, "lint-staged": { "*.{html,md,yml}": [ "prettier --write" ], "*.{ts,js,json}": [ "eslint --fix" ] }, "scripts": { "build": "rm -rf lib/ && yarn build:types && babel src --out-dir lib --ignore '**/*.test.ts' --extensions '.ts'", "build:types": "tsc --emitDeclarationOnly --declaration --isolatedModules false --declarationDir lib", "coverage": "jest --coverage", "lint": "yarn lint:ci --fix", "lint:ci": "eslint . --quiet", "test": "export ENVIRONMENT=local && jest tests", "type-check": "tsc --noEmit", "type-check:watch": "npm run type-check -- --watch" } }