nielsmaerten/peppermint

View on GitHub
functions/package.json

Summary

Maintainability
Test Coverage
{
  "name": "peppermint-wallpapers",
  "version": "2.2.0-alpha",
  "scripts": {
    "lint": "tslint --project tsconfig.json",
    "build": "tsc",
    "serve": "npm run build && firebase emulators:start",
    "shell": "npm run build && firebase functions:shell",
    "start": "npm run shell",
    "deploy": "firebase deploy",
    "logs": "firebase functions:log",
    "lint:fix": "prettier --write {src,test}/**/*",
    "test": "jest"
  },
  "engines": {
    "node": "16"
  },
  "main": "lib/index.js",
  "dependencies": {
    "@types/request": "^2.48.8",
    "axios": "^0.21.1",
    "backoff": "^2.5.0",
    "dropbox": "^7.1.0",
    "firebase-admin": "^8.10.0",
    "firebase-functions": "^3.6.1",
    "imagemagick": "^0.1.3",
    "snoowrap": "^1.23.0"
  },
  "devDependencies": {
    "@types/backoff": "^2.5.1",
    "@types/imagemagick": "^0.0.30",
    "@types/jest": "^27.4.1",
    "firebase-functions-test": "^0.2.0",
    "husky": ">=4",
    "jest": "^26.5.2",
    "lint-staged": ">=10",
    "prettier": "^2.1.2",
    "ts-jest": "^26.4.1",
    "tslint": "^5.12.0",
    "typescript": "^3.8.0"
  },
  "private": true,
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "lint-staged": {
    "*.{ts}": "yarn lint:fix"
  }
}