package.json 2.83 KB
Newer Older
1 2
{
  "name": "front",
3
  "version": "0.1.0",
4
  "private": true,
5 6
  "description": "Funkwhale front-end",
  "author": "Eliot Berriot <contact@eliotberriot.com>",
7
  "scripts": {
8
    "serve": "vue-cli-service serve --port ${VUE_PORT:-8000} --host ${VUE_HOST:-0.0.0.0}",
9
    "build": "scripts/i18n-compile.sh && vue-cli-service build",
10
    "test:unit": "vue-cli-service test:unit",
11
    "lint": "vue-cli-service lint",
12
    "i18n-compile": "scripts/i18n-compile.sh",
13
    "i18n-extract": "scripts/i18n-extract.sh"
14 15
  },
  "dependencies": {
16
    "axios": "^0.18.0",
Eliot Berriot's avatar
Eliot Berriot committed
17
    "core-js": "^3.6.4",
18
    "diff": "^4.0.1",
Eliot Berriot's avatar
Eliot Berriot committed
19
    "django-channels": "^1.1.6",
20
    "fomantic-ui-css": "^2.8.3",
21
    "howler": "^2.0.14",
22
    "js-logger": "^1.4.1",
23
    "jwt-decode": "^2.2.0",
24 25 26
    "lodash": "^4.17.10",
    "masonry-layout": "^4.2.2",
    "moment": "^2.22.2",
27
    "qs": "^6.7.0",
28
    "register-service-worker": "^1.6.2",
Eliot Berriot's avatar
Eliot Berriot committed
29
    "sanitize-html": "^1.20.1",
30
    "showdown": "^1.8.6",
31
    "text-clipper": "^1.3.0",
32
    "vue": "^2.6.10",
Eliot Berriot's avatar
Eliot Berriot committed
33
    "vue-gettext": "^2.1.0",
34 35
    "vue-lazyload": "^1.2.6",
    "vue-masonry": "^0.11.5",
36
    "vue-plyr": "^5.0.4",
37 38 39
    "vue-router": "^3.0.1",
    "vue-upload-component": "^2.8.11",
    "vuedraggable": "^2.16.0",
40
    "vuex": "^3.0.1",
41
    "vuex-persistedstate": "^2.5.4",
Eliot Berriot's avatar
Eliot Berriot committed
42
    "vuex-router-sync": "^5.0.0"
43 44
  },
  "devDependencies": {
Eliot Berriot's avatar
Eliot Berriot committed
45 46 47 48 49
    "@vue/cli-plugin-babel": "~4.2.2",
    "@vue/cli-plugin-eslint": "~4.2.2",
    "@vue/cli-plugin-pwa": "~4.2.2",
    "@vue/cli-plugin-unit-mocha": "~4.2.2",
    "@vue/cli-service": "~4.2.2",
50
    "@vue/test-utils": "^1.0.0-beta.20",
Eliot Berriot's avatar
Eliot Berriot committed
51
    "babel-eslint": "^10.0.3",
52
    "chai": "^4.1.2",
53
    "easygettext": "^2.6.3",
Eliot Berriot's avatar
Eliot Berriot committed
54
    "eslint": "^5.16.0",
55
    "eslint-plugin-html": "^4.0.5",
Eliot Berriot's avatar
Eliot Berriot committed
56
    "eslint-plugin-vue": "^6.1.2",
57
    "glob-all": "^3.1.0",
58 59
    "mocha": "^5.2.0",
    "moxios": "^0.4.0",
60
    "node-sass": "^4.9.3",
61
    "preload-webpack-plugin": "^3.0.0-beta.4",
62
    "purgecss-webpack-plugin": "^1.6.0",
Eliot Berriot's avatar
Eliot Berriot committed
63
    "sass-loader": "^8.0.2",
64
    "sinon": "^6.1.5",
65 66
    "vue-template-compiler": "^2.5.17",
    "webpack-bundle-size-analyzer": "^3.0.0"
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
  },
  "eslintConfig": {
    "root": true,
    "env": {
      "browser": true,
      "node": true
    },
    "plugins": [
      "html"
    ],
    "rules": {
      "no-console": 0,
      "no-unused-vars": [
        2,
        {
          "vars": "all",
          "args": "none"
        }
      ]
    },
    "extends": [
      "plugin:vue/essential",
      "eslint:recommended"
    ],
    "parserOptions": {
      "parser": "babel-eslint"
    }
94
  },
95 96 97 98
  "postcss": {
    "plugins": {
      "autoprefixer": {}
    }
99 100
  },
  "browserslist": [
101 102 103 104 105 106 107 108 109 110 111 112 113 114
    "IE >= 11",
    "Firefox >= 52",
    "ChromeAndroid >= 70",
    "Chrome >= 49",
    "Safari >= 9",
    "Edge >= 16",
    "Opera >= 57",
    "OperaMini >= 57",
    "Samsung >= 7",
    "FirefoxAndroid >= 63",
    "UCAndroid >= 11",
    "iOS >= 9",
    "Android >= 4",
    "not dead"
115
  ]
116
}