Skip to content

Commit

Permalink
Added bundle size badge
Browse files Browse the repository at this point in the history
  • Loading branch information
Slaven committed Aug 26, 2022
1 parent 68fdf9c commit 5a8ec42
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ class SpamBot {
export const handler = SpamBot.handle
```

![npm-downloads](https://img.shields.io/npm/dt/aws-lambda-handyman)
![npm-version](https://img.shields.io/npm/v/aws-lambda-handyman)
![npm bundle size](https://img.shields.io/bundlephobia/minzip/aws-lambda-handyman)
[![Test, Build and Publish](https://github.com/growx-tech/aws-lambda-handyman/actions/workflows/test-build-publish.yml/badge.svg?branch=master)](https://github.com/growx-tech/aws-lambda-handyman/actions/workflows/test-build-publish.yml)
![npm](https://img.shields.io/npm/v/aws-lambda-handyman)
![npm](https://img.shields.io/npm/dt/aws-lambda-handyman)
![coverage](static/coverage-badge.svg)

<p align="center">
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aws-lambda-handyman",
"version": "0.2.5",
"version": "0.3.0",
"description": "AWS Lambda TypeScript validation made easy 🏄",
"main": "./lib/cjs/src/index.js",
"typings": "./lib/types/src/index.d.ts",
Expand Down
3 changes: 1 addition & 2 deletions test/Decorators.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ test('Handler options', async () => {
test('Handler method is not async', () => {
class HandlerToTest {
@Handler()
static handle() {
}
static handle() {}
}

expect(() => {
Expand Down

0 comments on commit 5a8ec42

Please sign in to comment.