diff --git a/package.json b/package.json index 7ee325f..33432de 100644 --- a/package.json +++ b/package.json @@ -1,18 +1,17 @@ { "name": "repod", "license": "AGPL-3.0-or-later", - "type": "module", "scripts": { "build": "vue-tsc && vite build", "dev": "vite --mode development build", - "dev:watch": "vite --mode development build --watch", - "watch": "npm run dev:watch", + "watch": "vite --mode development build --watch", "lint": "vue-tsc && eslint src", - "lint:fix": "vue-tsc && eslint src --fix", - "stylelint": "stylelint src/**/*.vue src/**/*.scss src/**/*.css", - "stylelint:fix": "stylelint src/**/*.vue src/**/*.scss src/**/*.css --fix" + "stylelint": "stylelint src/**/*.vue src/**/*.scss src/**/*.css" }, - "prettier": "@nextcloud/prettier-config", + "type": "module", + "browserslist": [ + "extends @nextcloud/browserslist-config" + ], "dependencies": { "@formatjs/intl-segmenter": "^11.7.3", "@nextcloud/axios": "^2.5.1", @@ -46,7 +45,5 @@ "vue-eslint-parser": "^9.4.3", "vue-tsc": "^2.1.10" }, - "browserslist": [ - "extends @nextcloud/browserslist-config" - ] + "prettier": "@nextcloud/prettier-config" } diff --git a/tsconfig.json b/tsconfig.json index 2369a8a..5c772ca 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,15 +2,14 @@ "extends": "@vue/tsconfig", "include": ["./src/**/*.ts", "./src/**/*.vue", "**/*.ts"], "compilerOptions": { + "allowImportingTsExtensions": true, "allowSyntheticDefaultImports": true, + "target": "ESNext", + "module": "ESNext", "moduleResolution": "Bundler", - "target": "es6", - "module": "es6", - "declaration": true, - "strict": true, "noImplicitAny": false, "rootDir": ".", + "strict": true, "noEmit": true, - "allowImportingTsExtensions": true, } }