meedan/check-bot

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "check-slack-bot",
  "version": "0.0.1",
  "description": "A Check bot for Slack",
  "main": "index.js",
  "dependencies": {
    "atob": "^2.1.2",
    "aws-sdk": "^2.1356.0",
    "basic-auth-header": "^1.0.1",
    "btoa": "^1.1.2",
    "cheerio": "^1.0.0-rc.2",
    "html-entities": "^1.2.1",
    "imgur": "^1.0.0",
    "js-md5": "^0.7.3",
    "lokka": "^1.7.0",
    "lokka-transport-http": "^1.6.1",
    "node-fetch": "^2.6.7",
    "redis": "^3.1.1",
    "request": "^2.83.0",
    "util": "^0.10.3"
  },
  "devDependencies": {
    "aws-sdk-mock": "^3.2.0",
    "codeclimate-test-reporter": "^0.5.0",
    "jest": "^29.4.3"
  },
  "scripts": {
    "test": "mv config.js config.js.bkp; mv aws.json aws.json.bkp; cp config.js.test config.js; cp aws.json.example aws.json; npm i && ./node_modules/.bin/jest --coverage --collectCoverageFrom=*.js --collectCoverageFrom=!test-helpers.js --collectCoverageFrom=!server.js; code=$?; mv config.js.bkp config.js; mv aws.json.bkp aws.json; exit $code",
    "build": "npm i && rm -f dist/aws_lambda_functions.zip && zip -q -x ./dist/* -r ./aws_lambda_functions.zip * && mv aws_lambda_functions.zip ./dist/ && echo \"----------\" && echo \"Now upload aws_lambda_functions.zip to AWS Lambda\""
  },
  "jest": {
    "testEnvironment": "node"
  },
  "author": "Meedan",
  "license": "MIT"
}