- 新增文章添加页面,支持文章基本信息、设置、高级设置和图片上传 - 新增经销商申请页面,支持申请信息填写和审核状态显示 - 新增用户地址添加页面,支持地址信息填写和地址识别功能 - 新增礼物添加页面,功能与文章添加类似 - 统一使用 .tsx 文件格式 - 添加 .editorconfig、.eslintrc 和 .gitignore 文件,规范代码风格和项目结构
43 lines
1.1 KiB
JSON
43 lines
1.1 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"target": "es2018",
|
|
"module": "esnext",
|
|
"lib": ["es2018", "dom", "dom.iterable"],
|
|
"removeComments": false,
|
|
"preserveConstEnums": true,
|
|
"moduleResolution": "node",
|
|
"experimentalDecorators": true,
|
|
"strict": true,
|
|
"noImplicitAny": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"esModuleInterop": true,
|
|
"outDir": "lib",
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"strictNullChecks": true,
|
|
"sourceMap": true,
|
|
"baseUrl": ".",
|
|
"rootDir": ".",
|
|
"jsx": "react-jsx",
|
|
"allowJs": true,
|
|
"resolveJsonModule": true,
|
|
"typeRoots": [
|
|
"node_modules/@types",
|
|
"types"
|
|
],
|
|
"paths": {
|
|
"@/*": ["./src/*"],
|
|
"@/components/*": ["./src/components/*"],
|
|
"@/utils/*": ["./src/utils/*"],
|
|
"@/assets/*": ["./src/assets/*"],
|
|
"@/api/*": ["./src/api/*"],
|
|
"@/hooks/*": ["./src/hooks/*"],
|
|
"@/config/*": ["./config/*"],
|
|
"@/types/*": ["./types/*"]
|
|
},
|
|
"skipLibCheck": true
|
|
},
|
|
"include": ["./src", "./types"],
|
|
"compileOnSave": false
|
|
}
|