-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
61 lines (61 loc) · 2.33 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"name": "russian-lit-twitter",
"version": "1.0.0",
"main": "index.js",
"author": "Nathan Griffin <nathanjgriffin@gmail.com>",
"license": "MIT",
"private": false,
"scripts": {
"build": "webpack && cp ./template.yml ./dist && cp -r ./src/texts ./dist && cp -r ./src/images/backgrounds ./dist/images && cp -r ./src/fonts/fontFiles ./dist/fonts",
"ts-check": "tsc --noEmit --lib ES2015 ./src/*.ts",
"package-server": "aws cloudformation package --template-file ./dist/template.yml --output-template-file ./dist/serverless-output.yml --s3-bucket russian-lit-twitter",
"deploy-server": "aws cloudformation deploy --template-file ./dist/serverless-output.yml --stack-name RussianLitTwitter --capabilities CAPABILITY_IAM",
"deploy": "npm run clean && npm run build && npm run package-server && npm run deploy-server",
"clean-file": "sed -i '' '/^$/d' ",
"gen-image": "ts-node --files ./src/dev.ts genImage",
"sentence": "ts-node --files ./src/dev.ts sentence",
"twitter": "ts-node --files ./src/dev.ts sendToTwitter",
"twitterImage": "ts-node --files ./src/dev.ts sendImageToTwitter",
"instagram": "ts-node --files ./src/dev.ts sendToInstagram",
"profile": "ts-node --files ./src/dev.ts profile",
"dev": "ts-node --files ./src/dev.ts",
"clean": "node -e \"require('fs-extra').emptyDir('dist');\"",
"intake": "ts-node --files ./src/dev.ts intakeImages"
},
"prettier": {
"semi": false,
"singleQuote": true
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/preset-env": "^7.12.10",
"@babel/preset-typescript": "^7.12.7",
"@types/aws-lambda": "^8.10.66",
"@types/luxon": "^1.26.3",
"@types/node": "^14.14.13",
"@types/sbd": "^1.0.1",
"@types/seedrandom": "^3.0.0",
"@types/twitter": "^1.7.0",
"awesome-typescript-loader": "^5.2.1",
"netlify-lambda": "^2.0.2",
"prettier": "^2.2.1",
"raw-loader": "^4.0.2",
"ts-node": "^9.1.1",
"typescript": "^4.1.3",
"webpack": "^5.10.2",
"webpack-cli": "^4.2.0"
},
"dependencies": {
"@types/random": "^2.1.1",
"dotenv": "^8.2.0",
"instagram-private-api": "^1.44.0",
"jimp": "^0.16.1",
"random": "^2.2.0",
"random-js": "^2.1.0",
"random-org": "^2.1.1",
"sbd": "^1.0.18",
"seedrandom": "^3.0.5",
"ts-dedent": "^2.1.1",
"twitter": "^1.7.1"
}
}