修复tsconfig

This commit is contained in:
undefined committed 2020-08-06 17:51:09 +08:00
1 parent a5886ecb99
commit e8ba53e8ec
17 files changed
+85 -66

No files matched your search

+1
View File
@@ -3,6 +3,7 @@
"version": "2.12.3",
"bin": "bin/hydrooj.js",
"main": "dist/loader.js",
"typings": "dist/loader.d.ts",
"repository": "https://github.com/hydro-dev/Hydro.git",
"author": "masnn",
"license": "GPL-3.0-only",
-1
View File
@@ -1,7 +1,6 @@
// TODO check more
import os from 'os';
import superagent from 'superagent';
import { Dictionary } from 'lodash';
import * as system from './model/system';
import * as db from './service/db';
+13 -5
View File
@@ -1,14 +1,22 @@
{
"extends": "../../tsconfig.base",
"compilerOptions": {
"target": "es2019",
"module": "commonjs",
"esModuleInterop": true,
"moduleResolution": "node",
"declaration": true,
"sourceMap": true,
"composite": true,
"strictBindCallApply": true,
"experimentalDecorators": true,
"outDir": "dist",
"rootDir": "src",
"rootDir": "src"
},
"include": [
"src",
"src"
],
"exclude": [
"dist",
"bin"
"bin",
"dist"
]
}