UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
package.json 3.05 KiB
Newer Older
Graham Smith's avatar
Graham Smith committed
{
  "name": "platform1-site",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "serve": "vue-cli-service serve",
    "build": "vue-cli-service build",
Graham Smith's avatar
Graham Smith committed
    "build-staging": "NODE_ENV=production vue-cli-service build --mode=test",
Graham Smith's avatar
Graham Smith committed
    "test:unit": "vue-cli-service test:unit",
Graham Smith's avatar
Graham Smith committed
    "test:e2e": "vue-cli-service test:e2e --mode=test",
Graham Smith's avatar
Graham Smith committed
    "lint": "vue-cli-service lint",
    "preinstall": "npx npm-force-resolutions",
    "test": "npm run test:unit && npx vue-cli-service test:e2e --headless",
    "test:e2e-ci": "npx vue-cli-service test:e2e --headless"
  },
  "dependencies": {
    "bootstrap": "^4.5.0",
    "bootstrap-vue": "^2.14.0",
    "core-js": "^3.6.4",
Graham Smith's avatar
Graham Smith committed
    "vue": "^2.6.11",
Graham Smith's avatar
Graham Smith committed
    "@vue/cli-plugin-babel": "~4.3.0",
    "@vue/cli-plugin-e2e-cypress": "~4.3.0",
    "@vue/cli-plugin-eslint": "~4.3.0",
    "@vue/cli-plugin-router": "~4.3.0",
    "@vue/cli-plugin-unit-jest": "^4.4.1",
    "@vue/cli-service": "~4.3.0",
    "@vue/eslint-config-prettier": "^6.0.0",
    "@vue/test-utils": "^1.0.3",
    "babel-eslint": "^10.1.0",
    "eslint": "^6.7.2",
    "eslint-plugin-prettier": "^3.1.1",
    "eslint-plugin-vue": "^6.2.2",
    "node-sass": "^4.12.0",
    "prettier": "^1.19.1",
    "sass-loader": "^8.0.2",
    "vue-svg-loader": "^0.16.0",
    "vue-template-compiler": "^2.6.11"
  },
  "eslintConfig": {
    "root": true,
    "env": {
      "node": true
    },
    "extends": [
      "plugin:vue/essential",
      "eslint:recommended",
      "@vue/prettier"
    ],
    "parserOptions": {
      "parser": "babel-eslint"
    },
    "rules": {},
    "overrides": [
      {
        "files": [
          "**/__tests__/*.{j,t}s?(x)",
          "**/tests/unit/**/*.spec.{j,t}s?(x)"
        ],
        "env": {
          "jest": true
        }
      },
      {
        "files": [
          "**/__tests__/*.{j,t}s?(x)",
          "**/tests/unit/**/*.spec.{j,t}s?(x)"
        ],
        "env": {
          "jest": true
        }
      }
    ]
  },
  "browserslist": [
    "> 1%",
    "last 2 versions",
    "not dead"
  ],
  "jest": {
    "preset": "@vue/cli-plugin-unit-jest",
    "collectCoverage": true,
    "collectCoverageFrom": [
      "**/*.{js,vue}",
      "!**/node_modules/**",
      "!coverage/**",
      "!dist/**",
      "!tests/**",
      "!babel.config.js",
      "!vue.config.js",
      "!public/static/js/**"
Graham Smith's avatar
Graham Smith committed
    ],
    "coverageReporters": [
      "html",
      "text-summary",
      "lcov"
    ],
    "coverageDirectory": "coverage",
    "coverageThreshold": {
      "global": {
        "branches": 50,
        "functions": 50,
        "lines": 50,
        "statements": -10
      }
    },
    "transform": {
      "^.+\\.svg$": "<rootDir>/tests/unit/__mocks__/svgTransform.js"
Graham Smith's avatar
Graham Smith committed
    }
  },
  "resolutions": {
    "http-proxy": "^1.18.1",
    "minimist": "^1.2.5",
    "yargs-parser": "^18.1.3"
  }
graham.smith's avatar
graham.smith committed
}