-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
43 lines (43 loc) · 1.67 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
"name": "fn-apps-flyer",
"version": "1.0.0",
"description": "Process email meta data (from S3 bucket). Extract blocks and key value pairs using AWS Textract.",
"main": "index.js",
"repository": "https://github.com/brandsExclusive/fn-stp-textract",
"author": "Justin Hopkins",
"license": "None",
"private": true,
"scripts": {
"build": "yarn run transpile && cp package.json dist/. && cd dist && yarn install --prod",
"transpile": "rm -rf dist && tsc",
"test": "yarn run lint && yarn run transpile",
"lint": "eslint src --ext .ts",
"lint-fix": "yarn run lint --fix",
"smoke": "env $(cat .env) ts-node smoke.ts",
"deploy-test": "yarn deploy test dist",
"deploy-production": "yarn deploy production dist",
"deploy": "yarn update-deploy-repo && .deploy/deploy-jenkins.sh",
"update-deploy-repo": "git clone [email protected]:brandsExclusive/infra-jenkins-fn-deploy.git --depth 1 .deploy 2> /dev/null || (cd .deploy; git pull)",
"logs-test": "aws logs tail /aws/lambda/fn-stp-textract-test --follow",
"logs-production": "aws logs tail /aws/lambda/fn-stp-textract-production --follow"
},
"devDependencies": {
"@babel/preset-env": "^7.8.3",
"@babel/preset-typescript": "^7.8.3",
"@types/aws-lambda": "^8.10.46",
"@types/node": "^13.7.7",
"@typescript-eslint/eslint-plugin": "^2.17.0",
"@typescript-eslint/parser": "^2.17.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.9.0",
"eslint-plugin-prettier": "^3.1.2",
"fetch-mock-jest": "^1.1.0",
"jest": "^24.9.0",
"prettier": "^1.19.1",
"ts-node": "^8.6.2",
"typescript": "^3.7.5"
},
"dependencies": {
"aws-sdk": "^2.631.0"
}
}