docs: 调整了项目基本说明信息
This commit is contained in:
parent
7098b0e59d
commit
0f32965dd3
@ -1,7 +1,6 @@
|
|||||||
import vue from "@vitejs/plugin-vue";
|
import vue from "@vitejs/plugin-vue";
|
||||||
import path from "path";
|
import path from "path";
|
||||||
import { PluginOption } from "vite";
|
import { PluginOption } from "vite";
|
||||||
import eslintPlugin from "vite-plugin-eslint";
|
|
||||||
import { vitePluginForArco } from "@arco-plugins/vite-vue";
|
import { vitePluginForArco } from "@arco-plugins/vite-vue";
|
||||||
import { createHtmlPlugin } from "vite-plugin-html";
|
import { createHtmlPlugin } from "vite-plugin-html";
|
||||||
import { createSvgIconsPlugin } from "vite-plugin-svg-icons";
|
import { createSvgIconsPlugin } from "vite-plugin-svg-icons";
|
||||||
@ -9,6 +8,9 @@ import AutoImport from "unplugin-auto-import/vite";
|
|||||||
import { ArcoResolver } from "unplugin-vue-components/resolvers";
|
import { ArcoResolver } from "unplugin-vue-components/resolvers";
|
||||||
import Components from "unplugin-vue-components/vite";
|
import Components from "unplugin-vue-components/vite";
|
||||||
import { viteMockServe } from "vite-plugin-mock";
|
import { viteMockServe } from "vite-plugin-mock";
|
||||||
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||||
|
// @ts-expect-error
|
||||||
|
import eslintPlugin from "vite-plugin-eslint";
|
||||||
/**
|
/**
|
||||||
* 创建 vite 插件
|
* 创建 vite 插件
|
||||||
* @param viteEnv
|
* @param viteEnv
|
||||||
|
|||||||
15
package.json
15
package.json
@ -3,6 +3,21 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
"description": "snow-admin open source management system",
|
||||||
|
"author": {
|
||||||
|
"name": "WANGFan",
|
||||||
|
"email": "2547096351@qq.com",
|
||||||
|
"url": "https://gitee.com/wang_fan_w"
|
||||||
|
},
|
||||||
|
"license": "MIT",
|
||||||
|
"homepage": "https://gitee.com/wang_fan_w/SnowAdmin",
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://gitee.com/wang_fan_w/SnowAdmin.git"
|
||||||
|
},
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://gitee.com/wang_fan_w/SnowAdmin/issues"
|
||||||
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"build:dev": "vue-tsc && vite build --mode development",
|
"build:dev": "vue-tsc && vite build --mode development",
|
||||||
|
|||||||
@ -41,5 +41,4 @@
|
|||||||
], // 指定被编译文件所在的目录
|
], // 指定被编译文件所在的目录
|
||||||
// exclude表示要排除的、不编译的文件,它也可以指定一个列表,规则和include一样,可以是文件或文件夹,可以是相对路径或绝对路径,可以使用通配符
|
// exclude表示要排除的、不编译的文件,它也可以指定一个列表,规则和include一样,可以是文件或文件夹,可以是相对路径或绝对路径,可以使用通配符
|
||||||
"exclude": ["node_modules", "dist", "**/*.js"] // 指定不需要被编译的目录
|
"exclude": ["node_modules", "dist", "**/*.js"] // 指定不需要被编译的目录
|
||||||
// "references": [{ "path": "./tsconfig.node.json" }]
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,11 +0,0 @@
|
|||||||
{
|
|
||||||
"compilerOptions": {
|
|
||||||
"composite": true,
|
|
||||||
"skipLibCheck": true,
|
|
||||||
"module": "ESNext",
|
|
||||||
"moduleResolution": "bundler",
|
|
||||||
"allowSyntheticDefaultImports": true,
|
|
||||||
"strict": true
|
|
||||||
},
|
|
||||||
"include": ["vite.config.ts"]
|
|
||||||
}
|
|
||||||
Loading…
x
Reference in New Issue
Block a user