50 lines
1.2 KiB
JSON
50 lines
1.2 KiB
JSON
{
|
|
"name": "@coze-common/coze-mitt",
|
|
"version": "0.0.1",
|
|
"description": "coze 平台级事件总线,目的是有一个统一的地方定义事件,以供各 pkg 引入",
|
|
"license": "Apache-2.0",
|
|
"author": "zhanghaochen.z@bytedance.com",
|
|
"maintainers": [],
|
|
"exports": {
|
|
".": "./src/index.ts"
|
|
},
|
|
"main": "src/index.ts",
|
|
"typesVersions": {
|
|
"*": {
|
|
".": [
|
|
"./src/index.ts"
|
|
]
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "exit 0",
|
|
"lint": "eslint ./ --cache",
|
|
"test": "vitest --run --passWithNoTests",
|
|
"test:cov": "npm run test -- --coverage"
|
|
},
|
|
"dependencies": {
|
|
"classnames": "^2.3.2",
|
|
"mitt": "^3.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@coze-arch/bot-typings": "workspace:*",
|
|
"@coze-arch/eslint-config": "workspace:*",
|
|
"@coze-arch/stylelint-config": "workspace:*",
|
|
"@coze-arch/ts-config": "workspace:*",
|
|
"@coze-arch/vitest-config": "workspace:*",
|
|
"@types/react": "18.2.37",
|
|
"@types/react-dom": "18.2.15",
|
|
"@vitest/coverage-v8": "~3.0.5",
|
|
"react": "~18.2.0",
|
|
"react-dom": "~18.2.0",
|
|
"stylelint": "^15.11.0",
|
|
"vite-plugin-svgr": "~3.3.0",
|
|
"vitest": "~3.0.5"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=18.2.0",
|
|
"react-dom": ">=18.2.0"
|
|
}
|
|
}
|
|
|