{
"compilerOptions": {
/* Basic Options */
"target": "es5", /* target用于指定编译之后的版本目标 version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */
"module": "commonjs", /* 用来指定要使用的模块标准: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
"lib": [
"es6",
"dom"
], /* lib用于指定要包含在编译中的库文件,这个我们在前面的课程中讲过一点,如果你要使用一些ES6的新语法,你需要引入ES6这个库,或者也可以写ES2015。 */
// "allowJs": true, /* allowJs设置的值为true或false,用来指定是否允许编译JS文件,默认是false,即不编译JS文件。 */
// "checkJs": true, /* checkJs的值为true或false,用来指定是否检查和报告JS文件中的错误,默认是false。 */
// "jsx": "preserve", /* 指定jsx代码用于的开发环境: 'preserve', 'react-native', or 'react'. */
// "declaration": true, /* declaration的值为true或false,用来指定是否在编译的时候生成相应的".d.ts"声明文件。如果设为true,编译每个ts文件之后会生成一个js文件和一个声明文件。但是declaration和allowJs不能同时设为true。 */
// "declarationMap": true, /* 值为true或false,指定是否为声明文件.d.ts生成map文件 */
// "sourceMap": true, /* sourceMap的值为true或false,用来指定编译时是否生成.map文件。 */
// "outFile": "./", /* outFile用于指定将输出文件合并为一个文件,他的值为一个文件路径名,比如设置为"./dist/ma