mm
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
registry=https://registry.npmmirror.com
|
||||
shamefully-hoist = true
|
||||
@@ -13,6 +13,7 @@
|
||||
"docs/[^.]*",
|
||||
"doc/[^.]*"
|
||||
],
|
||||
"typings": "index.d.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"import": {
|
||||
@@ -26,6 +27,9 @@
|
||||
},
|
||||
"./index.css": "./dist/index.css"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsc --project tsconfig.build.json"
|
||||
},
|
||||
"dependencies": {
|
||||
"@floating-ui/react": "^0.27.20",
|
||||
"react-hotkeys-hook": "^5.4.0"
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -19,7 +19,7 @@
|
||||
"emitDecoratorMetadata": true,
|
||||
// 转换 jsx 时,使用 17+ 的新语法导入 react 。
|
||||
"jsx": "react-jsx",
|
||||
// 可作为子项目,被其他项目引用,但建议使用 workspace dep 模式,不是写 references 。
|
||||
// 可作被其他项目引用源码,但有潜在的 ts 版本问题,建议使用 workspace dep 模式,而不是写 references 。
|
||||
"composite": false,
|
||||
// 只加载指定类型的声明包,避免加载无用类型,提升编译速度
|
||||
"types": ["node", "vite/client"],
|
||||
|
||||
Reference in New Issue
Block a user