1 | {
|
2 | "name": "@enter-at/lambda-handlers",
|
3 | "version": "2.0.1",
|
4 | "description": "An opinionated Typescript package that facilitates specifying AWS Lambda handlers including input validation, error handling and response formatting.",
|
5 | "main": "dist/index.js",
|
6 | "types": "dist/index.d.ts",
|
7 | "files": [
|
8 | "dist/**/*"
|
9 | ],
|
10 | "scripts": {
|
11 | "lint": "eslint './src/**/*.ts'",
|
12 | "test": "NODE_ENV=testing jest -b --reporters jest-dot-reporter",
|
13 | "test:verbose": "npm run test -- --reporters default",
|
14 | "test:coverage": "npm run test -- --coverage",
|
15 | "test:ci": "npm run test:coverage:verbose -- --ci --reporters=jest-junit",
|
16 | "build": "npm run clean && npm run build:compile",
|
17 | "build:compile": "tsc -p tsconfig.build.json",
|
18 | "clean": "rimraf ./dist",
|
19 | "prepare": "npm run build",
|
20 | "preversion": "npm run lint",
|
21 | "prepublishOnly": "npm test && npm run lint"
|
22 | },
|
23 | "repository": {
|
24 | "type": "git",
|
25 | "url": "git+ssh://git@github.com/enter-at/node-aws-lambda-handlers.git"
|
26 | },
|
27 | "keywords": [
|
28 | "AWS",
|
29 | "Lambda",
|
30 | "Typescript"
|
31 | ],
|
32 | "author": "Steffen Leistner",
|
33 | "contributors": [
|
34 | "Martin Pirkl <martin.pirkl@gmail.com>"
|
35 | ],
|
36 | "license": "Apache-2.0",
|
37 | "bugs": {
|
38 | "url": "https://github.com/enter-at/node-aws-lambda-handlers/issues"
|
39 | },
|
40 | "homepage": "https://github.com/enter-at/node-aws-lambda-handlers#readme",
|
41 | "dependencies": {},
|
42 | "devDependencies": {
|
43 | "@enter-at/eslint-config-typescript-prettier": "1.1.0",
|
44 | "@types/aws-lambda": "8.10.59",
|
45 | "@types/aws-sdk": "2.7.0",
|
46 | "@types/faker": "4.1.12",
|
47 | "@types/jest": "26.0.7",
|
48 | "aws-lambda": "1.0.6",
|
49 | "eslint": "7.5.0",
|
50 | "aws-sdk": "2.719.0",
|
51 | "faker": "4.1.0",
|
52 | "husky": "4.2.5",
|
53 | "jest": "26.1.0",
|
54 | "jest-dot-reporter": "1.0.14",
|
55 | "jest-junit": "11.0.1",
|
56 | "prettier": "2.0.5",
|
57 | "rimraf": "3.0.2",
|
58 | "ts-jest": "26.1.3",
|
59 | "typescript": "3.9.7"
|
60 | },
|
61 | "jest": {
|
62 | "verbose": true,
|
63 | "preset": "ts-jest",
|
64 | "testEnvironment": "node",
|
65 | "coverageDirectory": "test-reports",
|
66 | "roots": [
|
67 | "src"
|
68 | ],
|
69 | "reporters": [
|
70 | "default",
|
71 | "jest-junit"
|
72 | ]
|
73 | },
|
74 | "jest-junit": {
|
75 | "outputDirectory": "test-reports/jest",
|
76 | "outputName": "report.xml"
|
77 | },
|
78 | "husky": {
|
79 | "hooks": {
|
80 | "pre-commit": "npm run lint && npm run test -- -b"
|
81 | }
|
82 | }
|
83 | }
|