summaryrefslogtreecommitdiffstats
path: root/tsconfig.json
diff options
context:
space:
mode:
authordevlinjunker <devlin.junker@gmail.com>2022-07-04 01:07:48 -0700
committerGitHub <noreply@github.com>2022-07-04 10:07:48 +0200
commitf1668df03fa137ff809f26b6dd5b52707d6009f1 (patch)
treefc935a40c067c2c3146b00d2073604413774d1c4 /tsconfig.json
parent40d9c352aba5351c7a55a63e5bc0508141f51224 (diff)
[Vue Rewrite] Enable Typescript Vue Components (#1831)
* compiling typescript with webpack Signed-off-by: Devlin Junker <devlin.junker@gmail.com> * working typescript component Signed-off-by: Devlin Junker <devlin.junker@gmail.com> * clean up indentation and linting Signed-off-by: Devlin Junker <devlin.junker@gmail.com> * remove calendar-js Signed-off-by: Devlin Junker <devlin.junker@gmail.com> * revert indentation and remove commented out lines Signed-off-by: Devlin Junker <devlin.junker@gmail.com> * clean up warning Signed-off-by: Devlin Junker <devlin.junker@gmail.com> * cleanup + add comments Signed-off-by: Devlin Junker <devlin.junker@gmail.com> * fix warnings and add more comments Signed-off-by: Devlin Junker <devlin.junker@gmail.com> * cleanup unecessary changes to webpack and add comments Signed-off-by: Devlin Junker <devlin.junker@gmail.com> * fix package Signed-off-by: Devlin Junker <devlin.junker@gmail.com> * update changelog and fix comment Signed-off-by: Devlin Junker <devlin.junker@gmail.com> * cleanup Signed-off-by: Devlin Junker <devlin.junker@gmail.com> * remove unecessary line Signed-off-by: Devlin Junker <devlin.junker@gmail.com> * remove vue-class-component library + others Signed-off-by: Devlin Junker <devlin.junker@gmail.com> * clean up babel-loader Signed-off-by: Devlin Junker <devlin.junker@gmail.com> * remove fork-ts-checker plugin Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
Diffstat (limited to 'tsconfig.json')
-rw-r--r--tsconfig.json48
1 files changed, 48 insertions, 0 deletions
diff --git a/tsconfig.json b/tsconfig.json
new file mode 100644
index 000000000..242c27b7e
--- /dev/null
+++ b/tsconfig.json
@@ -0,0 +1,48 @@
+/**
+ * Initially copied from typescript+vue2 project generated by @vue/cli-plugin v5.0.0
+ */
+{
+ "compilerOptions": {
+ "target": "esnext",
+ "module": "esnext",
+ "strict": true,
+ "jsx": "preserve",
+ "moduleResolution": "node",
+ "experimentalDecorators": true,
+ "skipLibCheck": true,
+ "esModuleInterop": true,
+ "allowSyntheticDefaultImports": true,
+ "forceConsistentCasingInFileNames": true,
+ "useDefineForClassFields": true,
+ "sourceMap": true,
+ "baseUrl": ".",
+ "types": [
+ "webpack-env",
+ // TODO: Add these back when we add unit testing
+ // "mocha",
+ // "chai"
+ ],
+ "paths": {
+ "@/*": [
+ "src/*"
+ ]
+ },
+ "lib": [
+ "esnext",
+ "dom",
+ "dom.iterable",
+ "scripthost"
+ ]
+ },
+ "include": [
+ "src/*.ts",
+ "src/**/*.ts",
+ "src/**/*.tsx",
+ "src/**/*.vue",
+ "tests/**/*.ts",
+ "tests/**/*.tsx"
+ ],
+ "exclude": [
+ "node_modules"
+ ]
+} \ No newline at end of file