view client/package.json @ 5168:a74390e92c3c

client: raise nodejs requirement to v12.16.1 * Raise nodejs requirement to v12.16.1, because v8 is unmaintained now. And even if nodejs is just used for building the single page web application it should be security maintained, e.g. for being able to get the right modules when downloading. * Add check of node version to packages.json in engines section. This can be easily circumvented if someone really wants to try building with a different version, e.g. v10, but most tests will be done with v12 from now on, so it is better to have this check in there. And v12.16.1. is the current stable version, so it should be the minimum.
author Bernhard Reiter <bernhard@intevation.de>
date Tue, 07 Apr 2020 16:34:35 +0200
parents e513afec49d4
children 11587540e341
line wrap: on
line source

{
  "name": "gemmajs",
  "version": "5.0.0-dev",
  "license": "AGPL-3.0-or-later",
  "repository": {
    "type": "hg",
    "url": "https://hg.intevation.de/gemma"
  },
  "private": true,
  "engines": {
       "node": "^12.16.1"
  },
  "scripts": {
    "serve": "make translations && VUE_APP_HGREV=$(hg log -r . --template \"{data|shortdate}-{node|short}\") vue-cli-service serve",
    "build": "make translations && VUE_APP_HGREV=$(hg log -r . --template \"{data|shortdate}-{node|short}\") vue-cli-service build",
    "analyze": "ANALYZE=true vue-cli-service serve",
    "lint": "vue-cli-service lint",
    "test:unit": "vue-cli-service test:unit",
    "test:e2e": "vue-cli-service test:e2e"
  },
  "dependencies": {
    "@fortawesome/fontawesome-svg-core": "^1.2.8",
    "@fortawesome/free-brands-svg-icons": "^5.5.0",
    "@fortawesome/free-regular-svg-icons": "^5.5.0",
    "@fortawesome/free-solid-svg-icons": "^5.5.0",
    "@fortawesome/vue-fontawesome": "^0.1.2",
    "@turf/bbox": "^6.0.1",
    "@turf/boolean-contains": "^6.0.1",
    "@turf/boolean-within": "^6.0.1",
    "@turf/center": "^6.0.1",
    "@turf/distance": "^6.0.1",
    "@turf/helpers": "^6.1.4",
    "@turf/line-intersect": "^6.0.2",
    "@turf/line-slice": "^5.1.5",
    "@turf/line-split": "^5.1.5",
    "animate.css": "^3.7.0",
    "axios": "^0.18.0",
    "bootstrap": "^4.1.1",
    "d3": "^5.7.0",
    "d3-line-chunked": "^1.4.1",
    "date-fns": "^1.30.1",
    "debounce": "^1.2.0",
    "file-saver": "^2.0.2",
    "glob-all": "^3.1.0",
    "locale2": "^2.2.0",
    "ol": "^5.3.0",
    "path": "^0.12.7",
    "prettier": "^1.15.3",
    "purgecss-webpack-plugin": "^1.4.0",
    "sanitize-filename": "^1.6.3",
    "svg2pdf.js": "https://github.com/Intevation/svg2pdf.js.git#production",
    "v-tooltip": "^2.0.0-rc.33",
    "vue": "^2.5.16",
    "vue-clipboard2": "^0.2.1",
    "vue-color": "^2.6.0",
    "vue-highlightjs": "^1.3.3",
    "vue-js-toggle-button": "^1.3.0",
    "vue-router": "^3.0.2",
    "vue-snotify": "^3.2.1",
    "vue-virtual-scroll-list": "^1.3.9",
    "vuex": "^3.0.1",
    "webpack-cli": "^3.1.2"
  },
  "devDependencies": {
    "@vue/cli-plugin-babel": "^3.2.0",
    "@vue/cli-plugin-e2e-nightwatch": "^3.2.0",
    "@vue/cli-plugin-eslint": "^3.2.1",
    "@vue/cli-plugin-unit-jest": "^3.2.0",
    "@vue/cli-service": "^3.2.0",
    "@vue/eslint-config-prettier": "^4.0.1",
    "@vue/test-utils": "^1.0.0-beta.26",
    "babel-core": "7.0.0-bridge.0",
    "babel-jest": "^23.0.1",
    "concurrently": "^4.1.0",
    "copy-webpack-plugin": "^4.6.0",
    "easygettext": "^2.7.0",
    "node-sass": "^4.10.0",
    "pretty-quick": "^1.8.0",
    "sass-loader": "^7.0.1",
    "vue-gettext": "^2.1.2",
    "vue-template-compiler": "^2.5.17",
    "webpack-bundle-analyzer": "^3.0.3"
  },
  "browserslist": [
    "> 1%",
    "last 2 versions",
    "not ie <= 8"
  ]
}