Vizzuality/landgriffon

View on GitHub
api/package.json

Summary

Maintainability
Test Coverage
{
  "name": "@landgriffon/api",
  "version": "0.2.0",
  "description": "API service for the LandGriffon platform",
  "author": "Vizzuality <hello@vizzuality.com> (https://vizzuality.com/)",
  "private": true,
  "license": "MIT",
  "scripts": {
    "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
    "start": "yarn typeorm schema:sync && nest start",
    "start:watch": "yarn typeorm schema:sync && nest start --watch",
    "start:debug": "nest start --debug --watch",
    "start:prod": "yarn typeorm schema:sync && NODE_ENV=production, NODE_PATH=dist/src node dist/src/main",
    "typeorm": "ts-node -r tsconfig-paths/register ./node_modules/typeorm/cli.js -d src/data-source.ts",
    "build": "rm -rf dist && tsc",
    "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
    "test:db-prepare": "yarn typeorm schema:drop && yarn typeorm schema:sync",
    "test": "node --expose-gc ./node_modules/.bin/jest --config test/jest-config.json -i --logHeapUsage --forceExit",
    "test:watch": "jest --config test/jest-config.json --watch",
    "test:cov": "node --expose-gc ./node_modules/.bin/jest --config test/jest-config.json --coverage --forceExit",
    "test:debug": "node --inspect-brk --expose-gc -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --config test/jest-config.json --detectOpenHandles --forceExit",
    "test:integration": "node --expose-gc ./node_modules/.bin/jest --config test/jest-config.json --forceExit -i test/integration/",
    "test:unit": "node --expose-gc ./node_modules/.bin/jest --config test/jest-config.json --forceExit -i test/unit/",
    "test:e2e": "NODE_OPTIONS=\"--max-old-space-size=6144\" node --expose-gc ./node_modules/.bin/jest --config test/jest-config.json --logHeapUsage --forceExit -i test/e2e/"
  },
  "engines": {
    "node": "^18.16"
  },
  "dependencies": {
    "@google-cloud/bigquery": "^7.5.0",
    "@googlemaps/google-maps-services-js": "~3.3.2",
    "@json2csv/node": "^7.0.1",
    "@nestjs/axios": "^3.0.0",
    "@nestjs/bull": "^10.0.1",
    "@nestjs/cache-manager": "^2.0.1",
    "@nestjs/common": "^10.0.5",
    "@nestjs/core": "^10.0.5",
    "@nestjs/cqrs": "^10.2.7",
    "@nestjs/jwt": "^10.1.0",
    "@nestjs/microservices": "^10.0.5",
    "@nestjs/passport": "^10.0.0",
    "@nestjs/platform-express": "^10.0.5",
    "@nestjs/platform-socket.io": "^10.3.7",
    "@nestjs/swagger": "^7.1.1",
    "@nestjs/terminus": "^10.0.1",
    "@nestjs/typeorm": "^10.0.0",
    "@nestjs/websockets": "^10.3.7",
    "@sendgrid/mail": "^7.7.0",
    "@types/object-hash": "~3.0.1",
    "bcrypt": "~5.1.0",
    "bull": "~4.10.2",
    "cache-manager": "^3.6.0",
    "cache-manager-redis-store": "^2.0.0",
    "class-transformer": "<=0.5.1",
    "class-validator": "^0.14.0",
    "compression": "~1.7.4",
    "config": "~3.3.6",
    "helmet": "~4.6.0",
    "jsonapi-serializer": "~3.6.7",
    "lodash": "~4.17.21",
    "ms": "~2.1.3",
    "multer": "~1.4.5-lts.1",
    "nestjs-base-service": "~0.10.0",
    "nestjs-command": "^3.1.3",
    "nj-request-scope": "^1.0.6",
    "object-hash": "~3.0.0",
    "passport": "~0.6.0",
    "passport-jwt": "~4.0.0",
    "passport-local": "~1.0.0",
    "pg": "~8.8.0",
    "reflect-metadata": "~0.1.13",
    "rimraf": "~3.0.2",
    "rxjs": "~7.6.0",
    "swagger-ui-express": "~4.6.0",
    "typeorm": "0.3.11",
    "uuid": "~9.0.0",
    "wellknown": "^0.5.0",
    "xlsx": "~0.18.5",
    "yargs": "^17.3.1"
  },
  "devDependencies": {
    "@faker-js/faker": "^7.6.0",
    "@nestjs/cli": "^9.5.0",
    "@nestjs/schematics": "^10.0.1",
    "@nestjs/testing": "^10.0.5",
    "@types/bcrypt": "^5.0.0",
    "@types/bull": "^4.10.0",
    "@types/cache-manager": "^4.0.2",
    "@types/cache-manager-redis-store": "^2.0.1",
    "@types/compression": "^1.7.2",
    "@types/config": "^3.3.0",
    "@types/express": "^4.17.13",
    "@types/faker": "^6.6.9",
    "@types/geojson": "^7946.0.14",
    "@types/jest": "^29.5.3",
    "@types/jsonapi-serializer": "^3.6.5",
    "@types/lodash": "^4.14.177",
    "@types/ms": "^0.7.31",
    "@types/multer": "^1.4.7",
    "@types/node": "^18.11.15",
    "@types/passport": "^1.0.7",
    "@types/passport-jwt": "^3.0.6",
    "@types/passport-local": "^1.0.34",
    "@types/supertest": "^2.0.11",
    "@types/uuid": "^9.0.0",
    "@types/yargs": "^17.0.8",
    "@typescript-eslint/eslint-plugin": "^5.4.0",
    "@typescript-eslint/parser": "^5.4.0",
    "eslint": "8.22.0",
    "eslint-config-prettier": "8.3.0",
    "eslint-plugin-mocha": "10.1.0",
    "eslint-plugin-prettier": "4.0.0",
    "jest": "^29.6.1",
    "nyc": "^15.1.0",
    "prettier": "^2.4.1",
    "supertest": "^6.1.6",
    "ts-jest": "^29.0.3",
    "ts-loader": "^9.2.6",
    "ts-node": "^10.4.0",
    "tsconfig-paths": "^4.1.1",
    "typescript": "4.7.4"
  }
}