Fix minor issues
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
},
|
||||
"author": "Bartłomiej Pluta <noreply.git@mx.bartlomiejpluta.com>",
|
||||
"license": "ISC",
|
||||
"type": "module",
|
||||
"bin": {
|
||||
"actual-importer": "./dist/index.js"
|
||||
},
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const { mkdir } = require('node:fs/promises');
|
||||
import { mkdir } from 'node:fs/promises';
|
||||
import * as api from "@actual-app/api";
|
||||
import { ServerConfig } from "@/types/config";
|
||||
import { Transaction } from "@/types/transaction";
|
||||
|
||||
@@ -1,24 +1,32 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "ES2023",
|
||||
"module": "commonjs",
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "Node",
|
||||
"outDir": "./dist",
|
||||
"rootDir": "./src",
|
||||
"allowJs": true,
|
||||
"strict": true,
|
||||
"esModuleInterop": true,
|
||||
"skipLibCheck": true,
|
||||
|
||||
"typeRoots": [
|
||||
"./src/types",
|
||||
"./node_modules/@types"
|
||||
],
|
||||
|
||||
"paths": {
|
||||
"@/*": ["./src/*"],
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
"include": ["src/**/*"],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"src/types"
|
||||
]
|
||||
],
|
||||
|
||||
"ts-node": {
|
||||
"esm": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user