|
4 | 4 | "description": "An opinionated Typescript package that facilitates specifying AWS Lambda handlers including input validation, error handling and response formatting.", |
5 | 5 | "main": "index.js", |
6 | 6 | "types": "index.d.ts", |
| 7 | + "engines": { |
| 8 | + "node": ">=18" |
| 9 | + }, |
7 | 10 | "scripts": { |
8 | 11 | "lint": "eslint './src/**/*.ts'", |
9 | | - "test": "NODE_ENV=testing jest -b --reporters jest-dot-reporter", |
| 12 | + "test": "NODE_ENV=testing jest --detectOpenHandles --no-cache -b --reporters jest-progress-bar-reporter", |
10 | 13 | "test:verbose": "npm run test -- --reporters default", |
11 | 14 | "test:coverage": "npm run test -- --coverage", |
12 | 15 | "test:coverage:verbose": "npm run test:coverage -- --reporters default", |
13 | 16 | "test:ci": "npm run test:coverage:verbose -- --ci", |
14 | 17 | "build": "npm run clean && npm run build:compile && npm run build:copy", |
15 | 18 | "build:compile": "tsc -p tsconfig.build.json", |
16 | 19 | "build:copy": "cp LICENSE README.md package.json dist/", |
17 | | - "clean": "rimraf ./dist" |
| 20 | + "clean": "rimraf ./dist", |
| 21 | + "prepare": "[ ! -x ./node_modules/.bin/husky ] && exit 0; husky install" |
18 | 22 | }, |
19 | 23 | "repository": { |
20 | 24 | "type": "git", |
|
27 | 31 | ], |
28 | 32 | "author": "Steffen Leistner", |
29 | 33 | "contributors": [ |
30 | | - "Martin Pirkl <[email protected]>" |
| 34 | + "Martin Pirkl <[email protected]>", |
| 35 | + "Steve Waldowski <[email protected]>" |
31 | 36 | ], |
32 | 37 | "license": "Apache-2.0", |
33 | 38 | "bugs": { |
34 | 39 | "url": "https://github.com/enter-at/node-aws-lambda-handlers/issues" |
35 | 40 | }, |
36 | 41 | "homepage": "https://github.com/enter-at/node-aws-lambda-handlers#readme", |
37 | | - "dependencies": {}, |
38 | 42 | "devDependencies": { |
39 | | - "@enter-at/eslint-config-typescript-prettier": "1.5.2", |
40 | | - "@types/aws-lambda": "8.10.76", |
| 43 | + "@enter-at/eslint-config-typescript-prettier": "1.6.0", |
| 44 | + "@faker-js/faker": "7.6.0", |
| 45 | + "@tsconfig/node18": "1.0.1", |
| 46 | + "@types/aws-lambda": "8.10.109", |
41 | 47 | "@types/aws-sdk": "2.7.0", |
42 | | - "@types/faker": "4.1.12", |
43 | | - "@types/jest": "26.0.24", |
| 48 | + "@types/jest": "29.2.4", |
44 | 49 | "aws-lambda": "1.0.7", |
45 | | - "eslint": "7.32.0", |
46 | | - "aws-sdk": "2.1087.0", |
47 | | - "faker": "4.1.0", |
48 | | - "husky": "4.3.8", |
49 | | - "jest": "26.6.3", |
50 | | - "jest-dot-reporter": "1.0.14", |
51 | | - "jest-junit": "11.1.0", |
52 | | - "prettier": "2.2.1", |
| 50 | + "aws-sdk": "2.1277.0", |
| 51 | + "eslint": "8.30.0", |
| 52 | + "husky": "8.0.2", |
| 53 | + "jest": "29.3.1", |
| 54 | + "jest-junit": "15.0.0", |
| 55 | + "jest-progress-bar-reporter": "1.0.25", |
| 56 | + "prettier": "2.8.1", |
53 | 57 | "rimraf": "3.0.2", |
54 | | - "ts-jest": "26.5.6", |
55 | | - "typescript": "3.9.10" |
56 | | - }, |
57 | | - "jest": { |
58 | | - "verbose": true, |
59 | | - "preset": "ts-jest", |
60 | | - "testEnvironment": "node", |
61 | | - "coverageDirectory": "test-reports", |
62 | | - "roots": [ |
63 | | - "src" |
64 | | - ], |
65 | | - "reporters": [ |
66 | | - "default", |
67 | | - "jest-junit" |
68 | | - ] |
| 58 | + "ts-jest": "29.0.3", |
| 59 | + "typescript": "4.9.4" |
69 | 60 | }, |
70 | 61 | "jest-junit": { |
71 | 62 | "outputDirectory": "test-reports/jest", |
72 | 63 | "outputName": "report.xml" |
73 | | - }, |
74 | | - "husky": { |
75 | | - "hooks": { |
76 | | - "pre-commit": "npm run lint && npm run test -- -b" |
77 | | - } |
78 | 64 | } |
79 | 65 | } |
0 commit comments