gfw-api/gfw-mail-api

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "gfw-mail-api",
  "version": "1.0.3",
  "description": "Global forest watch - Mail API",
  "main": "app/index.js",
  "scripts": {
    "coverage": "nyc ts-mocha -b --project tsconfig.json -r tsconfig-paths/register --timeout 30000 'test/**/*.ts' --exit",
    "test": "ts-mocha -b --project tsconfig.json -r tsconfig-paths/register --timeout 30000 'test/**/*.ts' --exit",
    "start": "ts-node --files --project tsconfig.json -r tsconfig-paths/register src/index.ts",
    "watch": "ts-node-dev --respawn --transpile-only --files --project tsconfig.json -r tsconfig-paths/register src/index.ts",
    "build": "tsc --build",
    "lint": "eslint \"{src,test}/**/*.ts\" --fix"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Vizzuality/gfw-mail-api.git"
  },
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/Vizzuality/gfw-mail-api/issues"
  },
  "homepage": "https://github.com/Vizzuality/gfw-mail-api#readme",
  "author": {
    "name": "Vizzuality",
    "email": "hello@vizzuality.com",
    "url": "http://vizzuality.com/"
  },
  "engines": {
    "node": "~20.4"
  },
  "dependencies": {
    "bunyan": "^1.8.15",
    "config": "^3.3.7",
    "koa": "^2.13.4",
    "koa-logger": "^3.2.1",
    "koa-simple-healthcheck": "^0.0.1",
    "redis": "^4.2.0",
    "sparkpost": "^2.1.4",
    "typescript": "^4.7.4"
  },
  "devDependencies": {
    "@types/bunyan": "^1.8.8",
    "@types/config": "^3.3.0",
    "@types/koa-logger": "^3.1.2",
    "@types/mocha": "^9.1.1",
    "@types/node": "^18.6.3",
    "@types/sinon": "^10.0.13",
    "@types/sparkpost": "^2.1.5",
    "@typescript-eslint/eslint-plugin": "^5.32.0",
    "@typescript-eslint/parser": "^5.32.0",
    "chai": "^4.3.6",
    "chai-http": "^4.3.0",
    "eslint": "^8.21.0",
    "eslint-plugin-mocha": "^10.1.0",
    "husky": "^4.3.8",
    "lint-staged": "^13.0.3",
    "mocha": "^10.0.0",
    "nock": "^13.2.9",
    "nyc": "^15.1.0",
    "sinon": "^14.0.0",
    "ts-mocha": "^10.0.0",
    "ts-node": "^10.9.1",
    "ts-node-dev": "^2.0.0",
    "tsconfig-paths": "^4.0.0"
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "lint-staged": {
    "*.js": "eslint --cache --fix"
  }
}