├── .babelrc ├── .circleci └── config.yml ├── .eslintignore ├── .eslintrc ├── .gitignore ├── .npmignore ├── .nvmrc ├── .prettierrc ├── LICENSE-APACHE ├── LICENSE-MIT ├── README.md ├── fixtures ├── event.json └── scheduled.json ├── jest.config.js ├── package.json ├── serverless.yml ├── src ├── invoke.ts ├── types │ ├── @postlight │ │ └── mercury-parser │ │ │ └── index.d.ts │ ├── index.ts │ └── lambda.ts ├── uploadPost.ts └── utils │ ├── getSlackData.ts │ ├── getUrlContent.ts │ ├── index.ts │ ├── lambda-response.ts │ ├── run-warm.ts │ └── validateUrl.ts ├── tsconfig.json ├── tslint.json ├── webpack.config.js └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postlight/slash-mercury-parser/HEAD/.babelrc -------------------------------------------------------------------------------- /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postlight/slash-mercury-parser/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | src/**/*.ts 2 | -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postlight/slash-mercury-parser/HEAD/.eslintrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postlight/slash-mercury-parser/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postlight/slash-mercury-parser/HEAD/.npmignore -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | v8.10.0 2 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postlight/slash-mercury-parser/HEAD/.prettierrc -------------------------------------------------------------------------------- /LICENSE-APACHE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postlight/slash-mercury-parser/HEAD/LICENSE-APACHE -------------------------------------------------------------------------------- /LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postlight/slash-mercury-parser/HEAD/LICENSE-MIT -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postlight/slash-mercury-parser/HEAD/README.md -------------------------------------------------------------------------------- /fixtures/event.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postlight/slash-mercury-parser/HEAD/fixtures/event.json -------------------------------------------------------------------------------- /fixtures/scheduled.json: -------------------------------------------------------------------------------- 1 | { 2 | "source": "aws.events" 3 | } 4 | -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postlight/slash-mercury-parser/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postlight/slash-mercury-parser/HEAD/package.json -------------------------------------------------------------------------------- /serverless.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postlight/slash-mercury-parser/HEAD/serverless.yml -------------------------------------------------------------------------------- /src/invoke.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postlight/slash-mercury-parser/HEAD/src/invoke.ts -------------------------------------------------------------------------------- /src/types/@postlight/mercury-parser/index.d.ts: -------------------------------------------------------------------------------- 1 | declare module '@postlight/mercury-parser'; 2 | -------------------------------------------------------------------------------- /src/types/index.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/types/lambda.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postlight/slash-mercury-parser/HEAD/src/types/lambda.ts -------------------------------------------------------------------------------- /src/uploadPost.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postlight/slash-mercury-parser/HEAD/src/uploadPost.ts -------------------------------------------------------------------------------- /src/utils/getSlackData.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postlight/slash-mercury-parser/HEAD/src/utils/getSlackData.ts -------------------------------------------------------------------------------- /src/utils/getUrlContent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postlight/slash-mercury-parser/HEAD/src/utils/getUrlContent.ts -------------------------------------------------------------------------------- /src/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postlight/slash-mercury-parser/HEAD/src/utils/index.ts -------------------------------------------------------------------------------- /src/utils/lambda-response.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postlight/slash-mercury-parser/HEAD/src/utils/lambda-response.ts -------------------------------------------------------------------------------- /src/utils/run-warm.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postlight/slash-mercury-parser/HEAD/src/utils/run-warm.ts -------------------------------------------------------------------------------- /src/utils/validateUrl.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postlight/slash-mercury-parser/HEAD/src/utils/validateUrl.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postlight/slash-mercury-parser/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postlight/slash-mercury-parser/HEAD/tslint.json -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postlight/slash-mercury-parser/HEAD/webpack.config.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/postlight/slash-mercury-parser/HEAD/yarn.lock --------------------------------------------------------------------------------