116 lines
2.7 KiB
JSON
116 lines
2.7 KiB
JSON
{
|
|
"name": "front",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"description": "Funkwhale front-end",
|
|
"author": "Funkwhale Collective <contact@funkwhale.audio>",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"build:deployment": "vite build --base /front/",
|
|
"serve": "vite preview",
|
|
"test:unit": "vitest run --dom --coverage",
|
|
"lint": "eslint --ext .js,.vue src tests",
|
|
"fix-fomantic-css": "scripts/fix-fomantic-css.sh",
|
|
"i18n-compile": "scripts/i18n-compile.sh",
|
|
"i18n-extract": "scripts/i18n-extract.sh",
|
|
"postinstall": "yarn run fix-fomantic-css"
|
|
},
|
|
"dependencies": {
|
|
"axios": "0.26.0",
|
|
"axios-auth-refresh": "3.2.2",
|
|
"diff": "5.0.0",
|
|
"django-channels": "2.1.3",
|
|
"focus-trap": "6.7.3",
|
|
"fomantic-ui-css": "2.8.8",
|
|
"howler": "2.2.3",
|
|
"js-logger": "1.6.1",
|
|
"lodash": "4.17.21",
|
|
"moment": "2.29.1",
|
|
"qs": "6.10.3",
|
|
"register-service-worker": "1.7.2",
|
|
"sanitize-html": "2.7.0",
|
|
"sass": "1.49.8",
|
|
"showdown": "2.0.0",
|
|
"text-clipper": "2.2.0",
|
|
"vue": "2.6.14",
|
|
"vue-gettext": "2.1.12",
|
|
"vue-lazyload": "1.3.3",
|
|
"vue-plyr": "7.0.0",
|
|
"vue-router": "3.5.3",
|
|
"vue-upload-component": "2.8.22",
|
|
"vuedraggable": "2.24.3",
|
|
"vuex": "3.6.2",
|
|
"vuex-persistedstate": "4.1.0",
|
|
"vuex-router-sync": "5.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@vue/test-utils": "1",
|
|
"autoprefixer": "10.4.2",
|
|
"c8": "^7.11.0",
|
|
"easygettext": "2.17.0",
|
|
"eslint": "8.9.0",
|
|
"eslint-config-standard": "16.0.3",
|
|
"eslint-plugin-html": "6.2.0",
|
|
"eslint-plugin-import": "2.25.4",
|
|
"eslint-plugin-node": "11.1.0",
|
|
"eslint-plugin-promise": "6.0.0",
|
|
"eslint-plugin-vue": "7.20.0",
|
|
"glob-all": "3.2.1",
|
|
"happy-dom": "^2.41.0",
|
|
"moxios": "^0.4.0",
|
|
"vite": "2.8.4",
|
|
"vite-plugin-vue2": "1.9.3",
|
|
"vitest": "^0.5.9",
|
|
"vue-template-compiler": "2.6.14"
|
|
},
|
|
"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"
|
|
]
|
|
}
|