tsconfig.json 1.1 KB
Newer Older
1
{
2 3 4 5 6 7 8 9
    "include": [
        "src",
        "test",
        "types"
    ],
    "exclude": [
        "node_modules"
    ],
10
    "compilerOptions": {
11 12 13 14
        "module": "ESNext",
        "target": "ESNext",
        "moduleResolution": "node",
        "jsx": "preserve",
15 16
        "baseUrl": "./",
        "isolatedModules": true,
17 18 19 20 21 22 23 24 25 26 27 28
        "noEmit": true,
        "strict": true,
        "skipLibCheck": true,
        "types": [
            "mocha",
            "snowpack-env"
        ],
        "forceConsistentCasingInFileNames": true,
        "resolveJsonModule": true,
        "allowSyntheticDefaultImports": true,
        "importsNotUsedAsValues": "error",
        "esModuleInterop": true,
29 30
        "paths": {
            "~/*": [
31
                "./src/*"
32
            ]
P
Peter Pan 已提交
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
        },
        "lib": [
            "DOM",
            "DOM.Iterable",
            "ESNext",
            "ESNext.Array",
            "ESNext.AsyncIterable",
            "ESNext.BigInt",
            "ESNext.Intl",
            "ESNext.Promise",
            "ESNext.String",
            "ESNext.Symbol",
            "ScriptHost",
            "WebWorker"
        ]
48
    }
49
}