INTO-CPS-Association/DTaaS

View on GitHub
servers/lib/package.json

Summary

Maintainability
Test Coverage
{
  "name": "@into-cps-association/libms",
  "version": "0.4.7",
  "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",
    "Nichlaes H. Sørensen"
  ],
  "private": false,
  "license": "SEE LICENSE IN <LICENSE.md>",
  "type": "module",
  "main": "dist/src/main.js",
  "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": "tsc & node dist/src/main.js",
    "start:pm2": "pm2 start pm2.config.cjs",
    "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 NODE_OPTIONS=--experimental-vm-modules LOCAL_PATH=test/data jest --testPathIgnorePatterns=cloudcmd --coverage",
    "test:e2e": "npx cross-env NODE_OPTIONS=--experimental-vm-modules 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 NODE_OPTIONS=--experimental-vm-modules 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 NODE_OPTIONS=--experimental-vm-modules LOCAL_PATH=test/data jest ../test/unit --coverage"
  },
  "bin": "./dist/src/main.js",
  "dependencies": {
    "@apollo/client": "^3.11.8",
    "@apollo/server": "^4.11.0",
    "@nestjs/apollo": "^12.2.0",
    "@nestjs/common": "^10.4.4",
    "@nestjs/config": "^3.2.3",
    "@nestjs/core": "^10.4.4",
    "@nestjs/graphql": "^12.2.0",
    "@nestjs/platform-express": "^10.4.4",
    "axios": "^1.7.7",
    "cloudcmd": "^18.1.0",
    "commander": "^12.1.0",
    "dotenv": "^16.4.5",
    "globals": "^15.9.0",
    "graphql": "^16.9.0",
    "mock-fs": "^5.3.0",
    "reflect-metadata": "^0.2.2",
    "rxjs": "^7.8.1",
    "socket.io": "^4.8.0",
    "type-graphql": "^2.0.0-rc.2"
  },
  "devDependencies": {
    "@eslint/compat": "^1.1.1",
    "@eslint/eslintrc": "^3.1.0",
    "@nestjs/cli": "^10.4.5",
    "@nestjs/schematics": "^10.1.4",
    "@nestjs/testing": "^10.4.4",
    "@types/express": "^5.0.0",
    "@types/jest": "^29.5.13",
    "@types/node": "22.7.0",
    "@types/supertest": "^6.0.2",
    "@typescript-eslint/eslint-plugin": "^8.8.0",
    "@typescript-eslint/parser": "^8.8.0",
    "cross-fetch": "^4.0.0",
    "eslint": "^9.11.1",
    "eslint-config-airbnb-base": "^15.0.0",
    "eslint-config-prettier": "^9.1.0",
    "eslint-plugin-import": "^2.31.0",
    "eslint-plugin-jest": "^28.8.3",
    "eslint-plugin-prettier": "^5.2.1",
    "graphql-scalars": "^1.23.0",
    "jest": "^29.7.0",
    "prettier": "^3.3.3",
    "react": "^18.3.1",
    "supertest": "^7.0.0",
    "ts-jest": "^29.2.5",
    "ts-node": "^10.9.2",
    "tsconfig-paths": "4.2.0",
    "typescript": "^5.6.2"
  }
}