Skip to content
This repository was archived by the owner on Apr 18, 2020. It is now read-only.

Commit 12797ae

Browse files
committed
Refactored Lambda functions to TypeScript
1 parent 5b73aaf commit 12797ae

File tree

10 files changed

+2652
-9528
lines changed

10 files changed

+2652
-9528
lines changed

share/lambda/.eslintignore

Lines changed: 0 additions & 25 deletions
This file was deleted.

share/lambda/.eslintrc

Lines changed: 0 additions & 195 deletions
This file was deleted.

share/lambda/Makefile

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ node_modules:
3333
# -----------------------------------------------------------------------------
3434

3535
# Build library for distribution
36-
dist: $(shell find src) .babelrc webpack.config.js
36+
dist: $(shell find src) .babelrc webpack.config.ts
3737
$(shell npm bin)/webpack --env.prod
3838

3939
# -----------------------------------------------------------------------------
@@ -51,21 +51,8 @@ clean:
5151
lint: node_modules
5252
$(shell npm bin)/tslint -p tsconfig.json "{src,tests}/**/*.ts"
5353

54-
# Run unit tests
55-
test: node_modules
56-
$(shell npm bin)/cross-env NODE_ENV=test \
57-
$(shell npm bin)/nyc --reporter=lcov --reporter=text \
58-
$(shell npm bin)/babel-node tests/index.js
59-
60-
# Run unit tests in watch mode
61-
watch: node_modules
62-
$(shell npm bin)/cross-env NODE_ENV=development \
63-
$(shell npm bin)/nodemon --quiet \
64-
--watch src --watch tests/unit \
65-
--exec $(shell npm bin)/babel-node tests/index.js
66-
6754
# -----------------------------------------------------------------------------
6855

6956
# Special targets
70-
.PHONY: .FORCE build clean lint test watch
57+
.PHONY: .FORCE build clean lint
7158
.FORCE:

share/lambda/dist/status.zip

-626 Bytes
Binary file not shown.

share/lambda/dist/webhook.zip

-554 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)