Improve chunking and added typecheck to lint
This commit is contained in:
parent
a9cb85d060
commit
242226e7fc
@ -12,8 +12,9 @@
|
||||
"rules": {
|
||||
"vue/multi-word-component-names": "off",
|
||||
"vue/no-reserved-component-names": "warn",
|
||||
"vue/no-mutating-props": "warn",
|
||||
"no-undef": "off"
|
||||
"vue/no-mutating-props": "warn"
|
||||
// no-undef is already included in
|
||||
// @vue/eslint-config-typescript
|
||||
},
|
||||
"parserOptions": {
|
||||
"ecmaVersion": "latest",
|
||||
|
||||
4
frontend/package-lock.json
generated
4
frontend/package-lock.json
generated
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "filebrowser-frontend",
|
||||
"version": "2.0.0",
|
||||
"version": "3.0.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "filebrowser-frontend",
|
||||
"version": "2.0.0",
|
||||
"version": "3.0.0",
|
||||
"dependencies": {
|
||||
"@vue/eslint-config-typescript": "^11.0.3",
|
||||
"@vueuse/core": "^10.4.1",
|
||||
|
||||
@ -1,15 +1,14 @@
|
||||
{
|
||||
"name": "filebrowser-frontend",
|
||||
"version": "2.0.0",
|
||||
"version": "3.0.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite dev",
|
||||
"serve": "vite serve",
|
||||
"build": "vue-tsc -p ./tsconfig.json --noEmit && vite build",
|
||||
"watch": "vite build --watch",
|
||||
"build": "npm run typecheck && vite build",
|
||||
"clean": "find ./dist -maxdepth 1 -mindepth 1 ! -name '.gitkeep' -exec rm -r {} +",
|
||||
"lint": "eslint --ext .vue,.ts src/",
|
||||
"typecheck": "vue-tsc -p ./tsconfig.json --noEmit",
|
||||
"lint": "npm run typecheck && eslint --ext .vue,.ts src/",
|
||||
"lint:fix": "eslint --ext .vue,.ts --fix src/",
|
||||
"format": "prettier --write ."
|
||||
},
|
||||
|
||||
@ -9,7 +9,7 @@ import pluginRewriteAll from "vite-plugin-rewrite-all";
|
||||
const plugins = [
|
||||
vue(),
|
||||
VueI18nPlugin({
|
||||
include: [path.resolve(__dirname, "./src/i18n/**.json")],
|
||||
include: [path.resolve(__dirname, "./src/i18n/**/*.json")],
|
||||
}),
|
||||
legacy({
|
||||
// defaults already drop IE support
|
||||
|
||||
Loading…
Reference in New Issue
Block a user