Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
4.9 kB
3
Indexable
Never
{
  "name": "pa-webapi",
  "version": "1.0.9",
  "description": "This is an api for pa consolidation webapp",
  "author": "PIHK CUSTOMER ONBOARDING",
  "license": "UNLICENSED",
  "repository": {
    "type": "git",
    "url": "git://github.com/principalhongkong-emu/pihk-e-enrollment.git"
  },
  "scripts": {
    "build": "rimraf dist && tsc -p tsconfig.build.json && npm run copy-fonts",
    "format": "prettier --write \"src/**/*.ts\"",
    "generate-openapi-spec": "ts-node -r tsconfig-paths/register src/generate-openapi-json.ts",
    "start": "ts-node -r tsconfig-paths/register src/main.ts",
    "start:dev": "npm run copy-fonts && tsc-watch -p tsconfig.build.json --onSuccess \"node dist/main.js\"",
    "start:debug": "npm run copy-fonts && tsc-watch -p tsconfig.build.json --onSuccess \"node --inspect-brk dist/main.js\"",
    "start:prod": "node dist/main.js",
    "lint": "tslint -p tsconfig.json -c tslint.json",
    "test": "jest",
    "test:watch": "jest --watch",
    "test:report": "jest --reporters=\"default\" --reporters=\"jest-junit\" --coverage",
    "test:cov": "jest --coverage",
    "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
    "test:e2e": "jest --config ./test/jest-e2e.json",
    "clean-api-client": "rimraf ./generated",
    "copy-fonts": "copyfiles -f src/fonts/* dist/fonts/",
    "copy-api-client": "copyfiles -f ./generated/ts/api-client/* ./api-client/",
    "generate-openapi-client": "npm run clean-api-client && npm run generate-openapi-spec && openapi-generator generate -g typescript-axios -i swagger.json -o ./generated/ts/api-client --additional-properties=supportsES6=true && openapi-generator generate -g kotlin -i swagger.json -o ./generated/kotlin/api-client --additional-properties=packageName=com.principal.pacon,enumPropertyNaming=UPPERCASE,serializationLibrary=gson && npm run copy-api-client",
    "sonar": "node sonar-project.js",
    "storage-file-demo": "ts-node -r tsconfig-paths/register src/storage-file-demo.ts",
    "storage-blob-demo": "ts-node -r tsconfig-paths/register src/storage-blob-demo.ts"
  },
  "dependencies": {
    "@azure/storage-blob": "^12.0.0",
    "@azure/storage-file": "^10.3.0",
    "@azure/storage-queue": "^12.0.3",
    "@nestjs/common": "^7.4.2",
    "@nestjs/core": "^7.4.2",
    "@nestjs/jwt": "^7.1.0",
    "@nestjs/mongoose": "^6.4.0",
    "@nestjs/platform-express": "^7.4.2",
    "@nestjs/swagger": "^4.6.0",
    "@openapitools/openapi-generator-cli": "^1.0.1-4.1.3",
    "@types/body-parser": "^1.17.1",
    "@types/jsonwebtoken": "^9.0.0",
    "@types/redis": "^2.8.14",
    "@types/sharp": "^0.25.0",
    "app-root-path": "^2.2.1",
    "archiver": "^3.1.1",
    "archiver-zip-encrypted": "^1.0.6",
    "body-parser": "^1.19.0",
    "canvas": "2.7.0",
    "class-transformer": "^0.2.3",
    "class-validator": "^0.13.2",
    "copyfiles": "^2.1.1",
    "csv-stringify": "^5.3.6",
    "dotenv": "^8.2.0",
    "exif-parser": "^0.1.12",
    "form-data": "^3.0.0",
    "helmet": "^3.21.2",
    "http-status-codes": "^1.3.2",
    "jest-junit": "^7.0.0",
    "jsonwebtoken": "^9.0.0",
    "lodash": "^4.17.21",
    "moment": "^2.29.2",
    "moment-timezone": "^0.5.35",
    "mongoose": "5.13.15",
    "node-gyp": "^6.0.0",
    "querystring": "^0.2.0",
    "redis": "^2.8.0",
    "reflect-metadata": "^0.1.12",
    "rxjs": "^6.3.3",
    "sharp": "^0.31.3",
    "stream-buffers": "^3.0.2",
    "swagger-ui-express": "^4.1.2",
    "xlsx": "^0.16.9"
  },
  "devDependencies": {
    "@nestjs/testing": "^7.6.15",
    "@types/dotenv": "^6.1.1",
    "@types/express": "4.16.1",
    "@types/jest": "24.0.11",
    "@types/node": "^12.12.54",
    "@types/supertest": "2.0.7",
    "applicationinsights": "^1.7.3",
    "jest": "^26.6.3",
    "mongodb-memory-server": "^6.9.2",
    "pixelmatch": "^5.1.0",
    "pngjs": "^3.4.0",
    "prettier": "^1.19.1",
    "rimraf": "^2.7.1",
    "sonarqube-scanner": "^2.8.1",
    "supertest": "4.0.2",
    "ts-jest": "^26.4.4",
    "ts-node": "8.1.0",
    "tsc-watch": "2.2.1",
    "tsconfig-paths": "3.8.0",
    "tslint": "5.16.0",
    "typescript": "^4.0.2"
  },
  "jest": {
    "moduleFileExtensions": [
      "js",
      "json",
      "ts"
    ],
    "rootDir": "src",
    "testRegex": ".spec.ts$",
    "transform": {
      "^.+\\.(t|j)s$": "ts-jest"
    },
    "coverageDirectory": "../coverage",
    "coverageReporters": [
      "text",
      "cobertura",
      "lcov"
    ],
    "collectCoverageFrom": [
      "**/*.js",
      "**/*.ts",
      "!**/*.test-data.ts"
    ],
    "testEnvironment": "node"
  },
  "config": {
    "________mongodbMemoryServer": {
      "platform": "linux",
      "arch": "x64",
      "version": "3.6.21",
      "md5Check": "1"
    }
  }
}
Leave a Comment