OWASP/SSO_Project

View on GitHub
vue-ui/package.json

Summary

Maintainability
Test Coverage
{
  "name": "OWASP-SSO-Frontend",
  "version": "1.0.0",
  "description": "VueJS frontend for the OWASP Single Sign-On project",
  "author": "JamesCullum (https://github.com/JamesCullum)",
  "scripts": {
    "serve": "vue-cli-service serve",
    "build": "vue-cli-service build",
    "test:unit": "vue-cli-service test:unit",
    "lint": "vue-cli-service lint",
    "i18n:report": "vue-cli-service i18n:report --src './src/**/*.?(js|vue)' --locales './src/locales/**/*.json'",
    "lint:fix": "vue-cli-service lint --fix src --ext .js,.vue src"
  },
  "dependencies": {
    "@vue/cli-plugin-router": "^4.4.5",
    "@vue/cli-service": "^4.5.13",
    "axios": "^0.21.3",
    "babel-eslint": "^10.1.0",
    "base64-arraybuffer": "^0.2.0",
    "bootstrap": "^4.5.0",
    "md5": "^2.2.1",
    "portal-vue": "^2.1.6",
    "sass": "^1.26.9",
    "sass-loader": "^8.0.0",
    "vee-validate": "^3.3.5",
    "vue": "^2.6.10",
    "vue-cli-plugin-i18n": "^1.0.0",
    "vue-country-flag": "^1.3.1",
    "vue-i18n": "^8.18.2",
    "vue-router": "^3.3.4",
    "vue-template-compiler": "^2.6.10"
  },
  "devDependencies": {
    "@vue/cli-plugin-eslint": "^4.4.5",
    "@vue/cli-plugin-unit-mocha": "^4.4.5",
    "@vue/test-utils": "1.0.0-beta.31",
    "chai": "^4.1.2",
    "eslint": "^5.16.0",
    "eslint-plugin-vue": "^5.0.0",
    "sinon": "^9.0.2",
    "vue-eslint-parser": "^7.1.0"
  },
  "eslintConfig": {
    "root": true,
    "env": {
      "node": true
    },
    "extends": [
      "plugin:vue/recommended"
    ],
    "rules": {
      "no-mixed-spaces-and-tabs": "error",
      "quotes": [
        "error",
        "double",
        {
          "avoidEscape": true
        }
      ],
      "comma-dangle": [
        "error",
        {
          "arrays": "always-multiline",
          "objects": "always-multiline",
          "imports": "never",
          "exports": "never",
          "functions": "ignore"
        }
      ],
      "indent": [
        "error",
        "tab",
        {
          "SwitchCase": 1
        }
      ],
      "no-console": [
        "error",
        {
          "allow": [
            "warn",
            "error"
          ]
        }
      ],
      "semi": [
        "error",
        "always"
      ],
      "no-multiple-empty-lines": [
        "error",
        {
          "max": 2,
          "maxEOF": 1
        }
      ],
      "vue/html-indent": "tab",
      "useTabs": true,
      "vue/html-self-closing": [
        2,
        {
          "html": {
            "void": "never",
            "normal": "never",
            "component": "never"
          },
          "svg": "always",
          "math": "always"
        }
      ]
    },
    "parserOptions": {
      "parser": "babel-eslint"
    },
    "overrides": [
      {
        "files": [
          "**/__tests__/*.{j,t}s?(x)"
        ],
        "env": {
          "mocha": true
        }
      },
      {
        "files": [
          "**/__tests__/*.{j,t}s?(x)",
          "**/tests/unit/**/*.spec.{j,t}s?(x)"
        ],
        "env": {
          "mocha": true
        }
      }
    ]
  },
  "browserslist": [
    "> 1%",
    "last 2 versions"
  ],
  "license": "GPL-3.0-or-later",
  "repository": {
    "type": "git",
    "url": "https://github.com/OWASP/SSO_Project.git",
    "directory": "vue-ui"
  }
}