https://github.com/sgmap/mes-aides-ui
Revision d7cb83fd82cc26f5dd64b04ffe24b9f4cff97cf6 authored by Thomas Guillet on 11 March 2021, 10:42:49 UTC, committed by Thomas Guillet on 11 March 2021, 16:10:30 UTC
1 parent 2548faf
Raw File
Tip revision: d7cb83fd82cc26f5dd64b04ffe24b9f4cff97cf6 authored by Thomas Guillet on 11 March 2021, 10:42:49 UTC
Stabilise la section des questions
Tip revision: d7cb83f
package.json
{
  "name": "sgmap-mes-aides-ui",
  "version": "12.1.3",
  "description": "Simulateur de prestations sociales mes-aides.gouv.fr",
  "scripts": {
    "serve": "vue-cli-service serve",
    "build": "vue-cli-service build --no-clean",
    "test:unit": "vue-cli-service test:unit",
    "lint": "vue-cli-service lint",
    "build:dev": "webpack --mode=development",
    "build:netlify": "npm run build && cp netlify_redirects dist/_redirects",
    "build_old": "NODE_ENV=production webpack --mode=production",
    "cypress": "cypress run",
    "db": "mongod --dbpath db",
    "db-update": "./import-tests.sh",
    "eslint": "eslint .",
    "fast-install": "PUPPETEER_SKIP_DOWNLOAD=1 npm ci",
    "front": "NODE_ENV=front_only npm run serve",
    "install-openfisca": "pip install --upgrade -r openfisca/requirements.txt",
    "openfisca": "cd openfisca && gunicorn api --config config.py",
    "predb": "mkdir -p db",
    "prestart": "npm run build && npm run stats",
    "start": "NODE_ENV=production node server.js",
    "stats": "node backend/lib/stats",
    "test": "npm run test:mocha && npm run test:karma && npm run test:jest",
    "test:jest": "jest",
    "test:mocha": "mocha --recursive test/backend",
    "test:openfisca": "mocha test/backend/openfisca/test.js --timeout 10000"
  },
  "dependencies": {
    "@babel/runtime": "^7.9.6",
    "@etalab/decoupage-administratif": "^0.8.0",
    "@sentry/integrations": "^5.15.5",
    "@sentry/node": "^5.15.5",
    "axios": "^0.21.1",
    "body-parser": "^1.19.0",
    "consolidate": "^0.16.0",
    "cookie-parser": "^1.4.5",
    "core-js": "^3.8.2",
    "cors": "^2.8.4",
    "currency.js": "^2.0.3",
    "currencyformatter.js": "^2.1.0",
    "errorhandler": "^1.5.1",
    "event-stream": "3.3.4",
    "express": "^4.17.1",
    "font-awesome": "^4.7.0",
    "frozen-moment": "^0.4.0",
    "iframe-resizer": "^4.3.0",
    "jamstack-loader": "0.0.8",
    "js-yaml": "^4.0.0",
    "jsonwebtoken": "^8.5.1",
    "kerberos": "^1.1.4",
    "lodash": "^4.17.20",
    "mingo": "^2.5.3",
    "mjml": "^4.8.1",
    "mkdirp": "^1.0.4",
    "moment": "^2.29.1",
    "mongodb": "^3.6.3",
    "mongoose": "^5.11.10",
    "morgan": "^1.10.0",
    "puppeteer": "1.18.0",
    "raven": "^2.6.4",
    "raven-js": "^3.27.2",
    "require-from-string": "^2.0.2",
    "sib-api-v3-sdk": "^8.1.0",
    "smooth-scroll": "^16.1.3",
    "template.data.gouv.fr": "^1.3.2",
    "tmp": "^0.2.1",
    "validator": "^13.5.2",
    "vue": "^2.6.11",
    "vue-async-computed": "^3.8.2",
    "vue-matomo": "^3.14.0-0",
    "vue-router": "^3.1.6",
    "vuelidate": "^0.7.5",
    "vuex": "^3.4.0"
  },
  "devDependencies": {
    "@vue/cli-plugin-babel": "^4.5.10",
    "@vue/cli-plugin-eslint": "^4.5.10",
    "@vue/cli-plugin-unit-jest": "^4.5.10",
    "@vue/cli-service": "^4.5.10",
    "@vue/test-utils": "1.0.0-beta.29",
    "babel-core": "7.0.0-bridge.0",
    "babel-eslint": "^10.1.0",
    "babel-jest": "^26.6.3",
    "cypress": "^6.2.1",
    "eslint": "^6.7.2",
    "eslint-plugin-vue": "^7.4.1",
    "mustache": "^4.1.0",
    "sass": "^1.26.5",
    "sass-loader": "^10.1.1",
    "vue-template-compiler": "^2.6.12"
  },
  "eslintConfig": {
    "root": true,
    "env": {
      "node": true
    },
    "extends": [
      "plugin:vue/essential",
      "eslint:recommended"
    ],
    "rules": {
      "eol-last": "error",
      "no-irregular-whitespace": "off"
    },
    "parserOptions": {
      "parser": "babel-eslint"
    },
    "overrides": [
      {
        "files": [
          "**/__tests__/*.{j,t}s?(x)"
        ],
        "env": {
          "jest": true
        }
      }
    ]
  },
  "postcss": {
    "plugins": {
      "autoprefixer": {}
    }
  },
  "browserslist": [
    "> 5%",
    "ie >= 11"
  ],
  "jest": {
    "moduleFileExtensions": [
      "js",
      "jsx",
      "json",
      "vue"
    ],
    "transform": {
      "^.+\\.vue$": "vue-jest",
      ".+\\.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$": "jest-transform-stub",
      "^.+\\.jsx?$": "babel-jest",
      "^.+\\.js$": "babel-jest"
    },
    "transformIgnorePatterns": [
      "/node_modules/"
    ],
    "moduleNameMapper": {
      "^@/(.*)$": "<rootDir>/src/$1"
    },
    "snapshotSerializers": [
      "jest-serializer-vue"
    ],
    "testMatch": [
      "**/tests/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)"
    ],
    "testURL": "http://localhost/",
    "watchPlugins": [
      "jest-watch-typeahead/filename",
      "jest-watch-typeahead/testname"
    ]
  },
  "license": "AGPL-3.0",
  "repository": {
    "type": "git",
    "url": "https://github.com/sgmap/mes-aides-ui"
  }
}
back to top