custom-app-event
Version:
基于typescript, 实现一个简单的event库,快速集成发布订阅模式
17 lines (16 loc) • 891 B
JSON
{
"compilerOptions": {
"target": "es6" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
"lib": ["es6", "dom"],
"outDir": "dist",
"module": "commonjs" /* Specify what module code is generated. */,
"declaration": true /* Generate .d.ts files from TypeScript and JavaScript files in your project. */,
"esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility. */,
"forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */,
"strict": true /* Enable all strict type-checking options. */,
"skipLibCheck": true /* Skip type checking all .d.ts files. */,
"noImplicitAny": false
},
"include": ["src"],
"exclude": ["dist", "node_modules", "test"]
}