Skip to content

Commit

Permalink
chore: Add typescript config
Browse files Browse the repository at this point in the history
Signed-off-by: Jonas <[email protected]>
  • Loading branch information
mejo- committed Mar 19, 2024
1 parent c0f39bc commit 33a3b1d
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
13 changes: 13 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@
"@nextcloud/webpack-vue-config": "^6.0.1",
"@vitejs/plugin-vue2": "^2.3.1",
"@vue/test-utils": "^1.3.0 <2",
"@vue/tsconfig": "^0.5.1",
"@vue/vue2-jest": "^29.2.6",
"@vueuse/core": "^10.9.0",
"cypress": "^13.6.2",
Expand Down
24 changes: 24 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"extends": "@vue/tsconfig",
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"declaration": true,
"esModuleInterop": true,
"lib": ["DOM", "ESNext"],
"noEmit": true,
"outDir": "./js",
"plugins": [
{ "name": "typescript-plugin-css-modules" }
],
"sourceMap": true
},
"exclude": [
"js",
"lib",
"node_modules",
"vendor"
],
"vueCompilerOptions": {
"target": 2.7
}
}

0 comments on commit 33a3b1d

Please sign in to comment.