Revision 7154ffba6aa32447a3e3a63d1c88a5d46ff1b024 authored by Thomas Guillet on 19 April 2020, 15:49:09 UTC, committed by GitHub on 19 April 2020, 15:49:09 UTC
2 parent s 0baf54e + f029071
Raw File
package.json
{
  "name": "sgmap-mes-aides-ui",
  "description": "Simulateur de prestations sociales mes-aides.gouv.fr",
  "license": "AGPL-3.0",
  "version": "12.1.3",
  "dependencies": {
    "@babel/runtime": "^7.7.2",
    "@etalab/decoupage-administratif": "0.6.2",
    "@sentry/integrations": "^5.8.0",
    "@sentry/node": "^5.9.0",
    "axios": "^0.19.0",
    "body-parser": "^1.19.0",
    "consolidate": "^0.15.1",
    "cookie-parser": "^1.4.4",
    "core-js": "^2.6.5",
    "cors": "^2.8.4",
    "currencyformatter.js": "^2.1.0",
    "d3": "^5.14.2",
    "event-stream": "3.3.4",
    "express": "^4.17.1",
    "font-awesome": "^4.7.0",
    "frozen-moment": "^0.4.0",
    "fuse.js": "^3.4.6",
    "iframe-resizer": "^4.2.8",
    "js-yaml": "^3.13.1",
    "jsonwebtoken": "^8.5.1",
    "kerberos": "0.0.23",
    "lodash": "^4.17.14",
    "ludwig-api": "github:betagouv/ludwig-api#v1.3.0",
    "ludwig-ui": "^1.5.4",
    "mingo": "^2.4.0",
    "mjml": "^4.4.0",
    "moment": "^2.24.0",
    "mongoose": "^5.7.5",
    "morgan": "^1.9.0",
    "puppeteer": "1.18.0",
    "raven": "^2.6.4",
    "raven-js": "^3.27.2",
    "request-promise": "^4.2.5",
    "sgmap-mes-aides-api": "github:sgmap/mes-aides-api#v12.0.0",
    "sib-api-v3-sdk": "^7.2.2",
    "smooth-scroll": "^16.1.0",
    "template.data.gouv.fr": "^1.3.1",
    "tmp": "0.1.0",
    "validator": "^11.1.0",
    "vue": "^2.6.10",
    "vue-async-computed": "^3.7.0",
    "vue-matomo": "^3.12.0-5",
    "vue-router": "^3.0.3",
    "vuelidate": "^0.7.4",
    "vuex": "^3.1.2"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/sgmap/mes-aides-ui"
  },
  "devDependencies": {
    "@vue/cli-plugin-babel": "^3.11.0",
    "@vue/cli-plugin-eslint": "^3.11.0",
    "@vue/cli-plugin-unit-jest": "^3.11.0",
    "@vue/cli-service": "^3.11.0",
    "@vue/test-utils": "1.0.0-beta.29",
    "babel-core": "7.0.0-bridge.0",
    "babel-eslint": "^10.0.1",
    "babel-jest": "^23.6.0",
    "cypress": "^3.6.1",
    "eslint": "^5.16.0",
    "eslint-plugin-vue": "^5.0.0",
    "mustache": "^2.3.0",
    "sass": "^1.23.7",
    "sass-loader": "^7.3",
    "vue-template-compiler": "^2.6.10",
    "watai": "^0.7.0",
    "world-countries": "github:mledoze/countries#25ac1083834"
  },
  "scripts": {
    "serve": "vue-cli-service serve",
    "build": "vue-cli-service build --no-clean",
    "lint": "vue-cli-service lint",
    "test:unit": "vue-cli-service test:unit",
    "prestart": "npm run build && npm run stats",
    "start": "NODE_ENV=production node server.js",
    "cypress": "cypress run",
    "dev": "grunt serve",
    "sass": "grunt sass",
    "build_old": "NODE_ENV=production webpack --mode=production",
    "build:dev": "webpack --mode=development",
    "test:openfisca": "mocha test/backend/openfisca/test.js --timeout 10000",
    "test:mocha": "mocha --recursive test/backend",
    "test:karma": "grunt test",
    "test:jest": "jest",
    "test": "npm run test:mocha && npm run test:karma && npm run test:jest",
    "predb": "mkdir -p db",
    "db": "mongod --dbpath db",
    "db-update": "./import-tests.sh",
    "install-openfisca": "pip install --upgrade -r openfisca/requirements.txt",
    "openfisca": "cd openfisca && gunicorn api --config config.py",
    "stats": "node backend/lib/stats",
    "eslint": "eslint .",
    "fast-install": "PUPPETEER_SKIP_DOWNLOAD=1 npm ci",
    "front": "NODE_ENV=front_only npm run serve"
  },
  "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"
    ]
  }
}
back to top