117 lines
2.9 KiB
JSON
117 lines
2.9 KiB
JSON
{
|
|
"name": "front",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"description": "Funkwhale front-end",
|
|
"author": "Eliot Berriot <contact@eliotberriot.com>",
|
|
"scripts": {
|
|
"serve": "[ ! -d src/translations ] && npm run i18n-compile; vue-cli-service serve --port ${VUE_PORT:-8080} --host ${VUE_HOST:-0.0.0.0}",
|
|
"build": "scripts/i18n-compile.sh && vue-cli-service build",
|
|
"test:unit": "vue-cli-service test:unit --reporter mocha-junit-reporter",
|
|
"lint": "vue-cli-service lint",
|
|
"i18n-compile": "scripts/i18n-compile.sh",
|
|
"i18n-extract": "scripts/i18n-extract.sh",
|
|
"fix-fomantic-css": "scripts/fix-fomantic-css.sh",
|
|
"postinstall": "yarn run fix-fomantic-css"
|
|
},
|
|
"dependencies": {
|
|
"axios": "^0.21.1",
|
|
"axios-auth-refresh": "^3.1.0",
|
|
"core-js": "^3.12.1",
|
|
"diff": "^5.0.0",
|
|
"focus-trap": "^6.4.0",
|
|
"fomantic-ui-css": "^2.8.7",
|
|
"howler": "^2.2.1",
|
|
"js-logger": "^1.6.1",
|
|
"lodash": "^4.17.21",
|
|
"moment": "^2.29.1",
|
|
"qs": "^6.10.1",
|
|
"register-service-worker": "^1.7.2",
|
|
"sanitize-html": "^2.3.3",
|
|
"sass": "^1.32.12",
|
|
"showdown": "^1.8.6",
|
|
"text-clipper": "^2.1.0",
|
|
"vue": "^2.6.12",
|
|
"vue-gettext": "^2.1.12",
|
|
"vue-lazyload": "^1.2.6",
|
|
"vue-plyr": "^7.0.0",
|
|
"vue-router": "^3.5.1",
|
|
"vue-upload-component": "^2.8.22",
|
|
"vuedraggable": "^2.24.3",
|
|
"vuex": "^3.6.2",
|
|
"vuex-persistedstate": "^3.2.0",
|
|
"vuex-router-sync": "^5.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@vue/cli-plugin-babel": "^4.5.13",
|
|
"@vue/cli-plugin-eslint": "^4.5.13",
|
|
"@vue/cli-plugin-pwa": "^4.5.13",
|
|
"@vue/cli-plugin-unit-mocha": "^4.5.13",
|
|
"@vue/cli-service": "^4.5.13",
|
|
"@vue/test-utils": "^1.2.0",
|
|
"babel-eslint": "^10.0.3",
|
|
"chai": "^4.3.4",
|
|
"easygettext": "^2.17.0",
|
|
"eslint": "^7.26.0",
|
|
"eslint-plugin-html": "^6.1.2",
|
|
"eslint-plugin-vue": "^7.9.0",
|
|
"glob-all": "^3.1.0",
|
|
"mocha": "^8.4.0",
|
|
"mocha-junit-reporter": "^2.0.0",
|
|
"moxios": "^0.4.0",
|
|
"preload-webpack-plugin": "^3.0.0-beta.4",
|
|
"sass-loader": "^10.1.1",
|
|
"sinon": "^10.0.1",
|
|
"vue-template-compiler": "^2.6.12",
|
|
"webpack-bundle-size-analyzer": "^3.0.0"
|
|
},
|
|
"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"
|
|
}
|
|
},
|
|
"postcss": {
|
|
"plugins": {
|
|
"autoprefixer": {}
|
|
}
|
|
},
|
|
"browserslist": [
|
|
"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"
|
|
]
|
|
}
|