Skip to content

Commit 6372130

Browse files
committed
Use prettier and ts-jest
1 parent 2789098 commit 6372130

File tree

8 files changed

+1099
-182
lines changed

8 files changed

+1099
-182
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ notifications:
77
on_failure: change
88

99
node_js:
10-
- '6'
10+
- "6"
1111
- stable
1212

1313
after_script: "npm install coveralls@2 && cat ./coverage/lcov.info | coveralls"

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ npm install servie-lambda --save
1818
Wrap a standard Servie middleware function in `createHandler` to return a AWS Lambda handler.
1919

2020
```ts
21-
import { createHandler } from 'servie-lambda'
22-
import { compose } from 'throwback'
23-
import { get } from 'servie-route'
21+
import { createHandler } from "servie-lambda";
22+
import { compose } from "throwback";
23+
import { get } from "servie-route";
2424

25-
export const handler = createHandler(compose([
26-
get('/test', (req) => new Response({ body: 'hello world' }))
27-
]))
25+
export const handler = createHandler(
26+
compose([get("/test", req => new Response({ body: "hello world" }))])
27+
);
2828
```
2929

3030
## TypeScript

0 commit comments

Comments
 (0)