Incognito/one-time-secret

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "one-time-secret",
  "version": "0.0.0",
  "private": true,
  "main": "dist/src/index.js",
  "typings": "dist/src/index.d.ts",
  "engines": {
    "node": ">=14.0.0"
  },
  "scripts": {
    "build": "tsc --rootDir ./",
    "build:watch": "tsc --rootDir ./ -w",
    "build:test": "tsc --rootDir ./ ",
    "circular": "madge --circular dist/",
    "complexity": "./node_modules/.bin/ts-complexity --max-complexity=20  --pattern './{src,bin}/**/*.ts'",
    "clean": "rm -fr dist",
    "lint": "tslint -p .",
    "postinstall": "npm run build",
    "prebuild": "npm run clean",
    "pretest": "npm run lint && npm run build:test",
    "test:spec": "TZ=UTC jest spec   --ci --runInBand --reporters=default --reporters=jest-junit",
    "test:e2e": "./e2e/test.sh",
    "test:watch": "npm run test --watch"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/freight-hub/one-time-secret.git"
  },
  "description": "Store secrets for one-time-access.",
  "author": "Brian Graham",
  "keywords": [],
  "dependencies": {
    "@types/winston-syslog": "^2.0.4",
    "typescript": "^4.4.3",
    "winston": "^3.3.3",
    "winston-syslog": "^2.4.4"
  },
  "devDependencies": {
    "@types/jest": "^26.0.24",
    "@types/node": "^16.9.1",
    "jest": "^26.6.3",
    "jest-junit": "^12.2.0",
    "madge": "^5.0.1",
    "ts-complexity": "0.0.3",
    "ts-jest": "^26.5.6",
    "tslint": "^6.1.3",
    "tslint-config-standard": "^9.0.0",
    "typescript-eslint-parser": "^22.0.0"
  },
  "jest": {
    "transform": {
      "^.+\\.tsx?$": "ts-jest"
    },
    "collectCoverageFrom": [
      "src/**/*.{ts,tsx}",
      "!src/templates/*",
      "!src/env.ts",
      "!src/logger.ts",
      "!src/WebControllers/router.ts",
      "!src/dependencyInjection.ts"
    ],
    "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(tsx?)$",
    "testPathIgnorePatterns": [
      "/node_modules/",
      "test.ts"
    ],
    "moduleFileExtensions": [
      "ts",
      "tsx",
      "js",
      "jsx",
      "json"
    ],
    "setupFilesAfterEnv": [
      "<rootDir>/test.ts"
    ]
  }
}