piobyte/flamingo

View on GitHub
packages/flamingo/package.json

Summary

Maintainability
Test Coverage
{
  "name": "flamingo",
  "version": "4.0.0",
  "description": "simple, hapijs based, HTTP server that allows you to convert media files to images",
  "main": "index.js",
  "scripts": {
    "start": "node index.js",
    "lint": "eslint index.ts 'src/**/*.ts' config.ts 'test/**/*.ts'",
    "lint-fix": "eslint --fix index.ts 'src/**/*.ts' config.ts 'test/**/*.ts'",
    "predocs": "rm -r docs 2>/dev/null || yarn build",
    "docs": "typedoc --excludeExternals --exclude '**/+(test|targets)/**' --mode modules --out docs src/writer/file.ts",
    "build": "tsc",
    "pretest": "yarn prettier && yarn lint && yarn build",
    "test": "TEST=true yarn cover",
    "preversion": "npm test",
    "bench": "yarn build && node targets/bench",
    "formats": "node targets/formats",
    "cover": "nyc mocha",
    "prettier": "prettier --write index.ts config.ts \"{src,test}/**/*.ts\"",
    "prepublishOnly": "yarn test && yarn build"
  },
  "author": "Christian",
  "license": "MIT",
  "engines": {
    "node": ">=14"
  },
  "bugs": {
    "url": "https://github.com/piobyte/flamingo/issues"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/piobyte/flamingo"
  },
  "dependencies": {
    "@hapi/hapi": "^20.1.2",
    "buffer-peek-stream": "^1.1.0",
    "bunyan": "^1.8.15",
    "clamp": "^1.0.1",
    "file-type": "^16.3.0",
    "fluent-ffmpeg": "^2.1.0",
    "got": "^11.8.2",
    "is-stream": "^2.0.0",
    "lodash": "^4.17.21",
    "mimeparse": "^0.1.4",
    "mkdirp": "^1.0.4",
    "optional": "^0.1.4",
    "sharp": "^0.28.1",
    "temp": "^0.9.4"
  },
  "devDependencies": {
    "@types/benchmark": "^2.1.0",
    "@types/bunyan": "^1.8.6",
    "@types/hapi__hapi": "^20.0.8",
    "@types/lodash": "^4.14.168",
    "@types/mocha": "^8.2.2",
    "@types/node": "^15.0.2",
    "@types/sharp": "^0.28.0",
    "@types/sinon": "^10.0.0",
    "@types/uuid": "^8.3.0",
    "@typescript-eslint/eslint-plugin": "^4.22.1",
    "@typescript-eslint/parser": "^4.22.1",
    "benchmark": "^2.1.1",
    "eslint": "^7.25.0",
    "eslint-config-prettier": "^8.3.0",
    "eslint-plugin-prettier": "^3.4.0",
    "lerna": "^4.0.0",
    "mocha": "^8.3.2",
    "nock": "^12.0.3",
    "nyc": "^15.1.0",
    "prettier": "^2.2.1",
    "sinon": "^10.0.0",
    "typedoc": "^0.20.36",
    "typescript": "^4.2.4",
    "uuid": "^8.3.2"
  },
  "optionalDependencies": {
    "gm": "^1.23.0",
    "markdown-it": "^12.0.6"
  },
  "nyc": {
    "check-coverage": true,
    "lines": 95,
    "statements": 95,
    "functions": 93,
    "branches": 84,
    "reporter": [
      "text-summary",
      "html"
    ],
    "include": [
      "src/**/*.js",
      "test/**/*.js"
    ],
    "exclude": [
      "src/profiles/debug.js",
      "src/writer/file.js",
      "src/types/*",
      "tutorials/**/*.js",
      "test/**/*"
    ],
    "all": true
  }
}