bcgov/nr-get-token

View on GitHub
app/package.json

Summary

Maintainability
Test Coverage
{
  "name": "get-token-app",
  "version": "1.0.0",
  "private": true,
  "author": "NR Common Service Showcase <NR.CommonServiceShowcase@gov.bc.ca>",
  "bugs": {
    "url": "https://github.com/bcgov/nr-get-token/issues"
  },
  "description": "Common Service Get Token",
  "homepage": "https://github.com/bcgov/nr-get-token",
  "license": "Apache-2.0",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/bcgov/nr-get-token.git"
  },
  "scripts": {
    "serve": "nodemon ./bin/www",
    "build": "cd frontend && npm run build",
    "start": "node ./bin/www",
    "test": "jest --verbose --forceExit --detectOpenHandles --maxWorkers=10",
    "lint": "eslint . **/www --no-fix --ext .js",
    "lint:fix": "eslint . **/www --fix --ext .js",
    "migrate": "sequelize db:migrate",
    "pretest": "npm run lint",
    "posttest": "node ./lcov-fix.js",
    "seed:dev": "sequelize db:seed --seed 20200330000000-dev-users",
    "seed:dev:undo": "sequelize db:seed:undo --seed 20200330000000-dev-users",
    "clean": "rm -rf coverage dist",
    "purge": "rm -rf node_modules",
    "rebuild": "npm run clean && npm run build",
    "reinstall": "npm run purge && npm install",
    "all:build": "npm run build",
    "all:start": "npm run start",
    "all:test": "npm run test && cd frontend && npm run test",
    "all:lint": "npm run lint && cd frontend && npm run lint",
    "all:lint-fix": "npm run lint:fix && cd frontend && npm run lint:fix",
    "all:ci": "npm ci --only=production && cd frontend && npm ci",
    "all:install": "npm install && cd frontend && npm install",
    "all:clean": "npm run clean && cd frontend && npm run clean",
    "all:purge": "npm run purge && cd frontend && npm run purge",
    "all:rebuild": "npm run rebuild && cd frontend && npm run rebuild",
    "all:reinstall": "npm run reinstall && cd frontend && npm run reinstall",
    "all:fresh-start": "npm run all:reinstall && npm run all:rebuild && npm run all:start",
    "frontend:purge": "cd frontend && npm run purge",
    "k8s:migrate:seed": "node ./migrate-seed.js"
  },
  "dependencies": {
    "api-problem": "^7.0.3",
    "axios": "^0.26.0",
    "axios-oauth-client": "^1.4.4",
    "axios-token-interceptor": "^0.2.0",
    "body-parser": "^1.19.2",
    "compression": "^1.7.4",
    "config": "^3.3.7",
    "cryptico-js": "^1.1.0",
    "express": "^4.17.3",
    "express-validator": "^6.14.0",
    "express-winston": "^4.2.0",
    "js-yaml": "^4.1.0",
    "jsonwebtoken": "^8.5.1",
    "keycloak-connect": "^15.0.2",
    "pg": "^8.7.3",
    "sequelize": "^6.16.1",
    "sequelize-cli": "^6.4.1",
    "uuid": "^8.3.2",
    "validator": "^13.7.0",
    "winston": "^3.6.0",
    "winston-transport": "^4.5.0"
  },
  "devDependencies": {
    "axios-mock-adapter": "^1.20.0",
    "eslint": "^8.9.0",
    "eslint-config-recommended": "^4.1.0",
    "eslint-plugin-prettier": "^4.0.0",
    "jest": "^27.5.1",
    "nodemon": "^2.0.15",
    "supertest": "^6.2.2"
  }
}