Skip to content

Commit a6e12d6

Browse files
committedNov 18, 2019
initial now commit
1 parent 9f4797a commit a6e12d6

File tree

7 files changed

+1081
-0
lines changed

7 files changed

+1081
-0
lines changed
 

‎.eslintrc

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"parser": "@typescript-eslint/parser",
3+
"parserOptions": {
4+
"ecmaVersion": 2018,
5+
"sourceType": "module"
6+
},
7+
"env": {
8+
"node": true
9+
},
10+
"extends": [
11+
"plugin:@typescript-eslint/recommended",
12+
"prettier",
13+
"prettier/@typescript-eslint",
14+
"plugin:prettier/recommended"
15+
],
16+
"plugins": [
17+
"@typescript-eslint"
18+
],
19+
"rules": {
20+
"prettier/prettier": "error",
21+
"@typescript-eslint/no-explicit-any": 0,
22+
"@typescript-eslint/explicit-function-return-type": 0,
23+
"@typescript-eslint/explicit-member-accessibility": 0
24+
}
25+
}

‎.gitignore

+94
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
### Node ###
2+
# Logs
3+
logs
4+
*.log
5+
npm-debug.log*
6+
yarn-debug.log*
7+
yarn-error.log*
8+
lerna-debug.log*
9+
10+
# Diagnostic reports (https://nodejs.org/api/report.html)
11+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
12+
13+
# Runtime data
14+
pids
15+
*.pid
16+
*.seed
17+
*.pid.lock
18+
19+
# Directory for instrumented libs generated by jscoverage/JSCover
20+
lib-cov
21+
22+
# Coverage directory used by tools like istanbul
23+
coverage
24+
*.lcov
25+
26+
# nyc test coverage
27+
.nyc_output
28+
29+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
30+
.grunt
31+
32+
# Bower dependency directory (https://bower.io/)
33+
bower_components
34+
35+
# node-waf configuration
36+
.lock-wscript
37+
38+
# Compiled binary addons (https://nodejs.org/api/addons.html)
39+
build/Release
40+
41+
# Dependency directories
42+
node_modules/
43+
jspm_packages/
44+
45+
# TypeScript v1 declaration files
46+
typings/
47+
48+
# TypeScript cache
49+
*.tsbuildinfo
50+
51+
# Optional npm cache directory
52+
.npm
53+
54+
# Optional eslint cache
55+
.eslintcache
56+
57+
# Optional REPL history
58+
.node_repl_history
59+
60+
# Output of 'npm pack'
61+
*.tgz
62+
63+
# Yarn Integrity file
64+
.yarn-integrity
65+
66+
# dotenv environment variables file
67+
.env
68+
.env.test
69+
70+
# parcel-bundler cache (https://parceljs.org/)
71+
.cache
72+
73+
# next.js build output
74+
.next
75+
76+
# nuxt.js build output
77+
.nuxt
78+
79+
# react / gatsby
80+
public/
81+
82+
# vuepress build output
83+
.vuepress/dist
84+
85+
# Serverless directories
86+
.serverless/
87+
88+
# FuseBox cache
89+
.fusebox/
90+
91+
# DynamoDB Local files
92+
.dynamodb/
93+
94+
# End of https://www.gitignore.io/api/node

‎README.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# me_irl_bot
2+
3+
> it's a slack app that posts a very 'me irl' picture whenever someone says 'me irl'
4+
5+
![me irl](media/example.png)

‎api/slack.ts

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { NowRequest, NowResponse } from '@now/node'
2+
3+
export default (req: NowRequest, res: NowResponse) => {
4+
res.json({ name: 'John', email: 'john@example.com' })
5+
}

‎media/example.png

486 KB
Loading

‎package.json

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"name": "me_irl_bot",
3+
"version": "1.0.0",
4+
"description": "sends dank memes to slack channels",
5+
"main": "index.js",
6+
"repository": "https://github.com/shrugs/me_irl_bot",
7+
"author": "Matt Condon (shrugs)",
8+
"license": "MIT",
9+
"private": true,
10+
"devDependencies": {
11+
"@now/node": "^1.1.2",
12+
"@types/node": "^12.12.8",
13+
"@typescript-eslint/eslint-plugin": "^2.7.0",
14+
"@typescript-eslint/parser": "^2.7.0",
15+
"eslint": "^6.6.0",
16+
"eslint-config-prettier": "^6.6.0",
17+
"eslint-plugin-prettier": "^3.1.1",
18+
"prettier": "^1.19.1",
19+
"typescript": "^3.7.2"
20+
}
21+
}

‎yarn.lock

+931
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)
Please sign in to comment.