UNPKG

xfyun-sdk

Version:

科大讯飞语音识别 SDK,支持浏览器中实时语音听写功能

89 lines 2.21 kB
{ "name": "xfyun-sdk", "version": "1.5.1", "type": "module", "description": "科大讯飞语音识别 SDK,支持浏览器中实时语音听写功能", "main": "dist/index.js", "module": "dist/index.esm.js", "browser": "dist/index.umd.js", "types": "dist/index.d.ts", "files": [ "dist" ], "publishConfig": { "access": "public" }, "keywords": [ "xfyun", "speech", "asr", "recognition", "voice", "科大讯飞", "语音识别", "语音听写", "实时语音", "中文语音识别", "react", "typescript" ], "author": { "name": "Agions", "email": "1051736049@qq.com", "url": "https://github.com/agions" }, "repository": { "type": "git", "url": "git+https://github.com/agions/xfyun-sdk.git" }, "bugs": { "url": "https://github.com/agions/xfyun-sdk/issues" }, "homepage": "https://github.com/agions/xfyun-sdk#readme", "license": "MIT", "dependencies": { "crypto-js": "^4.2.0" }, "peerDependencies": { "react": ">=16.8.0" }, "peerDependenciesMeta": { "react": { "optional": true } }, "devDependencies": { "@rollup/plugin-commonjs": "^28.0.0", "@rollup/plugin-node-resolve": "^16.0.0", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^12.0.0", "@testing-library/jest-dom": "^6.6.0", "@testing-library/react": "^16.0.0", "@types/crypto-js": "^4.2.2", "@types/node": "^22.0.0", "@types/react": "^18.3.0", "@typescript-eslint/eslint-plugin": "^8.0.0", "@typescript-eslint/parser": "^8.0.0", "@vitest/coverage-v8": "^2.0.0", "@vitest/ui": "^2.0.0", "eslint": "^9.0.0", "jsdom": "^25.0.0", "react": "^18.3.1", "react-dom": "^18.3.1", "rimraf": "^6.0.0", "rollup": "^4.24.0", "tslib": "^2.7.0", "typescript": "^5.9.3", "vitest": "^2.0.0" }, "scripts": { "clean": "rimraf dist", "build": "npm run clean && rollup -c", "test": "vitest", "test:run": "vitest run", "test:coverage": "vitest run --coverage", "lint": "eslint src --ext .ts,.tsx", "lint:fix": "eslint src --ext .ts,.tsx --fix", "type-check": "tsc --noEmit" } }