INTO-CPS-Association/DTaaS

View on GitHub
servers/lib/package.json

Summary

Maintainability
Test Coverage
{
  "name": "@into-cps-association/libms",
  "version": "0.4.6",
  "description": "microservices that handles request by fetching and returning the file-names and folders of given directory",
  "author": "phillip.boe.jensen@gmail.com",
  "contributors": [
    "Prasad Talasila",
    "Mads Kelberg",
    "Linda Nguyen"
  ],
  "private": false,
  "license": "SEE LICENSE IN <LICENSE.md>",
  "scripts": {
    "build": "tsc",
    "clean": "npx rimraf build node_modules coverage dist src.svg test.svg",
    "format": "prettier --ignore-path ../.gitignore --write \"**/*.{ts,tsx,css,scss}\"",
    "graph": "npx madge --image src.svg src && npx madge --image test.svg test",
    "start": "node dist/src/main.js",
    "start:pm2": "pm2 start pm2.config.js",
    "stop:pm2": "pm2 delete libms",
    "syntax": "eslint . --fix",
    "pretest": "npx shx cp test/data/user2/tools/README.md ../../files/user2/tools/README.md",
    "posttest": "npx rimraf ../../files/user2/tools/README.md",
    "test:all": "npx cross-env LOCAL_PATH=test/data jest --testPathIgnorePatterns=cloudcmd --coverage",
    "test:e2e": "npx cross-env LOCAL_PATH=test/data jest --config ./test/jest-e2e.json --coverage",
    "test:http": "yarn build && pm2 start -f --name libms-test dist/src/main.js -- -c .env -H ./config/http.json && jest test/cloudcmd --coverage --coverageThreshold=\"{}\" && pm2 delete libms-test",
    "test:http-nocov": "yarn build && pm2 start -f --name libms-test dist/src/main.js -- -c .env -H ./config/http.json && jest test/cloudcmd  --coverage=false && pm2 delete libms-test",
    "test:http-github": "jest test/cloudcmd --coverage --coverageThreshold=\"{}\"",
    "test:int": "npx cross-env LOCAL_PATH=test/data jest ../test/integration --coverage",
    "test:nocov": "yarn test:http-nocov && npx cross-env LOCAL_PATH=test/data jest --testPathIgnorePatterns=cloudcmd --coverage=false",
    "test:unit": "npx cross-env LOCAL_PATH=test/data jest ../test/unit --coverage"
  },
  "bin": "./dist/src/main.js",
  "dependencies": {
    "@apollo/client": "^3.8.9",
    "@apollo/server": "^4.10.0",
    "@nestjs/apollo": "^12.0.11",
    "@nestjs/common": "^10.3.7",
    "@nestjs/config": "^3.2.0",
    "@nestjs/core": "^10.3.3",
    "@nestjs/graphql": "^12.0.11",
    "@nestjs/platform-express": "^10.3.7",
    "axios": "^1.5.1",
    "cloudcmd": "^16.17.7",
    "commander": "^11.1.0",
    "dotenv": "^16.3.1",
    "graphql": "^16.8.1",
    "mock-fs": "^5.2.0",
    "reflect-metadata": "^0.2.1",
    "rxjs": "^7.8.1",
    "socket.io": "^4.7.2",
    "type-graphql": "^2.0.0-beta.3"
  },
  "devDependencies": {
    "@nestjs/cli": "^10.3.2",
    "@nestjs/schematics": "^10.1.1",
    "@nestjs/testing": "^10.3.3",
    "@types/express": "^4.17.21",
    "@types/jest": "^29.5.12",
    "@types/node": "20.12.5",
    "@types/supertest": "^6.0.2",
    "@typescript-eslint/eslint-plugin": "^8.4.0",
    "@typescript-eslint/parser": "^8.4.0",
    "cross-fetch": "^4.0.0",
    "eslint": "^8.56.0",
    "eslint-config-airbnb-base": "^15.0.0",
    "eslint-config-prettier": "^9.1.0",
    "eslint-plugin-import": "^2.29.1",
    "eslint-plugin-jest": "^28.2.0",
    "eslint-plugin-prettier": "^5.1.3",
    "graphql-scalars": "^1.22.2",
    "jest": "29.7.0",
    "prettier": "^3.2.2",
    "react": "^18.2.0",
    "supertest": "^6.3.4",
    "ts-jest": "^29.1.1",
    "ts-node": "^10.9.1",
    "tsconfig-paths": "4.2.0",
    "typescript": "^5.2.2"
  }
}