UNPKG

@shelf/jest-dynamodb

Version:

Run your tests using Jest & DynamoDB local

82 lines (81 loc) 2.09 kB
{ "name": "@shelf/jest-dynamodb", "version": "3.5.0", "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/" ], "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": "eslint . --ext .js,.ts,.json --fix", "lint:ci": "eslint . --ext .js,.ts,.json", "prepack": "yarn build", "test": "export ENVIRONMENT=local && jest tests", "type-check": "tsc --noEmit", "type-check:watch": "npm run type-check -- --watch" }, "lint-staged": { "*.{html,md,yml}": [ "prettier --write" ], "*.{ts,js,json}": [ "eslint --fix" ] }, "babel": { "extends": "@shelf/babel-config/backend" }, "prettier": "@shelf/prettier-config", "jest": { "preset": "./jest-preset.js" }, "dependencies": { "@aws-sdk/client-dynamodb": "3.624.0", "@aws-sdk/lib-dynamodb": "3.624.0", "@aws-sdk/util-dynamodb": "3.624.0", "cwd": "0.10.0", "debug": "4.3.4", "dynamodb-local": "0.0.34" }, "devDependencies": { "@babel/cli": "7.24.8", "@babel/core": "7.25.2", "@shelf/babel-config": "1.2.0", "@shelf/eslint-config": "2.30.0", "@shelf/prettier-config": "1.0.0", "@shelf/tsconfig": "0.1.0", "@types/aws-sdk": "2.7.0", "@types/cwd": "^0.10.2", "@types/jest": "29.5.12", "@types/node": "16", "eslint": "8.57.0", "husky": "8.0.3", "jest": "29.7.0", "lint-staged": "13.3.0", "prettier": "2.8.8", "typescript": "5.5.4" }, "engines": { "node": ">=16" }, "publishConfig": { "access": "public" } }