-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
42 lines (42 loc) · 1.44 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
{
"name": "medium-scraper-lambda",
"version": "1.0.0",
"description": "The story of how a non-human youtuber was born",
"main": "src/index.js",
"repository" : {
"type" : "git",
"url" : "https://github.com/jonathanmv/faceless-influencer.git"
},
"config": {
"docker_repository": "472551880915.dkr.ecr.us-east-1.amazonaws.com",
"image": "faceless-influencer"
},
"jest": {
"testEnvironment": "node"
},
"scripts": {
"test": "jest",
"start": "node -r dotenv/config src/index.js",
"token": "node -r dotenv/config tools/auth.js",
"ecs-login": "aws ecr get-login --region us-east-1 | sed -e 's/-e none//g' | bash",
"docker-build": "docker build -t $npm_package_config_image .",
"docker-run": "docker run $npm_package_config_image",
"docker-tag": "docker tag $npm_package_config_image:latest $npm_package_config_docker_repository/$npm_package_config_image:latest",
"docker-push": "docker push $npm_package_config_docker_repository/$npm_package_config_image:latest",
"ecs-deploy": "npm run docker-build && npm run docker-tag && npm run docker-push",
"docker-connect": "docker exec -it $npm_package_config_image /bin/bash"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"aws-sdk": "2.206.0",
"axios": "0.18.0",
"bluebird": "3.5.1",
"dotenv": "5.0.1",
"googleapis": "27.0.0",
"lodash": "4.17.5",
"plural": "1.1.0",
"webshot": "0.18.0"
}
}