-
-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e2f634a
commit 947bd21
Showing
15 changed files
with
36 additions
and
58 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,5 @@ | ||
import { defineConfig } from 'father'; | ||
|
||
export default defineConfig({ | ||
esm: { | ||
output: 'dist', | ||
overrides: { | ||
'src/core': { | ||
output: 'core', | ||
}, | ||
'src/react': { | ||
output: 'react', | ||
}, | ||
'src/server': { | ||
output: 'server', | ||
}, | ||
}, | ||
}, | ||
esm: { output: 'es' }, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,5 +57,6 @@ public/*.js | |
bun.lockb | ||
react/** | ||
server/** | ||
|
||
core/** | ||
react.d.ts | ||
server.d.ts |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@lobehub/tts", | ||
"version": "1.25.7", | ||
"version": "beta", | ||
"description": "A high-quality & reliable TTS React Hooks library", | ||
"homepage": "https://github.com/lobehub/lobe-tts", | ||
"bugs": { | ||
|
@@ -13,36 +13,18 @@ | |
"license": "MIT", | ||
"author": "LobeHub <[email protected]>", | ||
"sideEffects": false, | ||
"type": "module", | ||
"exports": { | ||
"./package.json": "./package.json", | ||
".": { | ||
"types": "./core/index.d.ts", | ||
"import": "./core/index.js", | ||
"module": "./core/index.js" | ||
}, | ||
"./server": { | ||
"types": "./server/index.d.ts", | ||
"import": "./server/index.js", | ||
"module": "./server/index.js" | ||
}, | ||
"./react": { | ||
"types": "./react/index.d.ts", | ||
"import": "./react/index.js", | ||
"module": "./react/index.js" | ||
} | ||
}, | ||
"main": "./core/index.js", | ||
"module": "./core/index.js", | ||
"types": "./core/index.d.ts", | ||
"main": "es/index.js", | ||
"module": "es/index.js", | ||
"types": "es/index.d.ts", | ||
"files": [ | ||
"dist", | ||
"core", | ||
"react", | ||
"server" | ||
"es", | ||
"server.d.ts", | ||
"server.js", | ||
"react.d.ts", | ||
"react.js" | ||
], | ||
"scripts": { | ||
"build": "father build", | ||
"build": "father build && cp react.js react.d.ts && cp server.js server.d.ts", | ||
"ci": "npm run lint && npm run type-check && npm run doctor", | ||
"dev": "father dev", | ||
"docs:build": "npm run build && dumi build", | ||
|
@@ -83,11 +65,6 @@ | |
"eslint --fix" | ||
] | ||
}, | ||
"browserslist": [ | ||
"> 1%", | ||
"last 2 versions", | ||
"not ie <= 10" | ||
], | ||
"dependencies": { | ||
"@babel/runtime": "^7.26.0", | ||
"lodash-es": "^4.17.21", | ||
|
@@ -105,18 +82,18 @@ | |
"@commitlint/cli": "^19.6.0", | ||
"@lobehub/i18n-cli": "^1.20.0", | ||
"@lobehub/lint": "^1.24.4", | ||
"@lobehub/ui": "^1.153.1", | ||
"@types/lodash-es": "^4.17.12", | ||
"@types/node": "^20.17.7", | ||
"@types/react": "^18.3.12", | ||
"@types/react": "18.2.40", | ||
"@types/react-dom": "^18.3.1", | ||
"@types/uuid": "^9.0.8", | ||
"@vercel/node": "^3.2.26", | ||
"@vitest/coverage-v8": "~1.2.2", | ||
"babel-plugin-antd-style": "^1.0.4", | ||
"commitlint": "^19.6.0", | ||
"concurrently": "^9.1.0", | ||
"dumi": "^2.4.14", | ||
"dumi-theme-lobehub": "^1.10.4", | ||
"dumi-theme-lobehub": "^1.10.6", | ||
"eslint": "^8.57.1", | ||
"father": "^4.5.1", | ||
"husky": "^9.1.7", | ||
|
@@ -128,7 +105,8 @@ | |
"stylelint": "^15.11.0", | ||
"tsx": "^4.19.2", | ||
"typescript": "^5.7.2", | ||
"vercel": "^28.20.0" | ||
"vercel": "^28.20.0", | ||
"vitest": "~1.2.2" | ||
}, | ||
"peerDependencies": { | ||
"@lobehub/ui": ">=1", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from './es/react'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from './es/server'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters