-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
178 lines (178 loc) · 5.63 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
{
"name": "assemblyai",
"version": "4.8.0",
"description": "The AssemblyAI JavaScript SDK provides an easy-to-use interface for interacting with the AssemblyAI API, which supports async and real-time transcription, as well as the latest LeMUR models.",
"engines": {
"node": ">=18"
},
"exports": {
".": {
"types": "./dist/exports/index.d.ts",
"bun": {
"types": "./dist/exports/index.d.ts",
"default": "./dist/bun.mjs"
},
"deno": {
"types": "./dist/exports/index.d.ts",
"default": "./dist/deno.mjs"
},
"workerd": "./dist/workerd.mjs",
"browser": "./dist/browser.mjs",
"react-native": "./dist/browser.mjs",
"node": {
"types": "./dist/exports/index.d.ts",
"import": "./dist/node.mjs",
"require": "./dist/node.cjs"
},
"import": "./dist/index.mjs",
"require": "./dist/index.cjs",
"default": "./dist/index.cjs"
},
"./streaming": {
"types": "./dist/exports/streaming.d.ts",
"browser": "./dist/streaming.browser.mjs",
"import": "./dist/streaming.mjs",
"require": "./dist/streaming.cjs",
"default": "./dist/streaming.cjs"
},
"./package.json": "./package.json"
},
"imports": {
"#fetch": {
"workerd": "./src/polyfills/fetch/workerd.ts",
"default": "./src/polyfills/fetch/default.ts"
},
"#fs": {
"node": "./src/polyfills/fs/node.ts",
"bun": "./src/polyfills/fs/bun.ts",
"deno": "./src/polyfills/fs/deno.ts",
"default": "./src/polyfills/fs/index.ts"
},
"#streams": {
"node": "./src/polyfills/streams/node.ts",
"default": "./src/polyfills/streams/index.ts"
},
"#websocket": {
"browser": "./src/polyfills/websocket/browser.ts",
"node": "./src/polyfills/websocket/default.ts",
"default": "./src/polyfills/websocket/default.ts"
},
"#conditions": {
"bun": "./src/utils/conditions/bun.ts",
"deno": "./src/utils/conditions/deno.ts",
"workerd": "./src/utils/conditions/workerd.ts",
"react-native": "./src/utils/conditions/react-native.ts",
"browser": "./src/utils/conditions/browser.ts",
"node": "./src/utils/conditions/node.ts",
"default": "./src/utils/conditions/default.ts"
}
},
"type": "commonjs",
"react-native": "./dist/browser.mjs",
"browser": "./dist/browser.mjs",
"main": "./dist/index.cjs",
"require": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"typings": "./dist/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/AssemblyAI/assemblyai-node-sdk.git"
},
"publishConfig": {
"tag": "latest",
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"build": "pnpm clean && pnpm rollup -c",
"clean": "rimraf dist/* && rimraf temp/* && rimraf temp-docs/*",
"lint": "pnpm lint:eslint && pnpm lint:tsc && pnpm lint:format && pnpm lint:publint",
"lint:eslint": "eslint -c .eslintrc.json '{src,tests}/**/*.{js,ts}'",
"lint:tsc": "tsc --noEmit -p tsconfig.json",
"lint:format": "prettier --check --no-error-on-unmatched-pattern {*,**/*}",
"lint:publint": "publint",
"test": "pnpm test:unit && pnpm test:integration",
"test:unit": "jest --config jest.unit.config.js --testTimeout 1000",
"test:integration": "jest --config jest.integration.config.js --testTimeout 360000",
"format": "prettier --write --no-error-on-unmatched-pattern {*,**/*}",
"generate:types": "tsx ./scripts/generate-types.ts && prettier 'src/types/*.generated.ts' --write",
"generate:reference": "typedoc",
"copybara:dry-run": "./copybara.sh dry_run --init-history",
"copybara:pr": "./copybara.sh sync_out --init-history",
"copybara:dry-run-in": "./copybara.sh dry_run_in --init-history",
"copybara:pr-in": "./copybara.sh sync_in --init-history"
},
"keywords": [
"AssemblyAI",
"Speech-to-text",
"Transcription",
"Audio",
"LLM"
],
"author": "AssemblyAI (https://www.assemblyai.com)",
"license": "MIT",
"homepage": "https://www.assemblyai.com/docs",
"bugs": {
"url": "https://github.com/AssemblyAI/assemblyai-node-sdk/issues",
"email": "support@assemblyai.com"
},
"files": [
"dist",
"src",
"package.json",
"README.md",
"CHANGELOG.md",
"docs"
],
"devDependencies": {
"@babel/preset-env": "^7.25.4",
"@babel/preset-typescript": "^7.24.7",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-replace": "^6.0.1",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.0",
"@types/jest": "^29.5.13",
"@types/node": "^18.19.53",
"@types/websocket": "^1.0.10",
"@types/ws": "^8.5.12",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"dotenv": "^16.4.5",
"eslint": "^8.57.1",
"eslint-plugin-tsdoc": "^0.3.0",
"jest": "^29.7.0",
"jest-cli": "^29.7.0",
"jest-fetch-mock": "^3.0.3",
"jest-junit": "^16.0.0",
"jest-websocket-mock": "^2.5.0",
"mock-socket": "^9.3.1",
"openapi-typescript": "^6.7.6",
"prettier": "^3.3.3",
"publint": "^0.2.11",
"rimraf": "^6.0.1",
"rollup": "^4.22.4",
"ts-jest": "^29.2.5",
"tslib": "^2.7.0",
"typedoc": "^0.26.7",
"typedoc-plugin-extras": "^3.1.0",
"typescript": "^5.4.5"
},
"dependencies": {
"ws": "^8.18.0"
},
"pnpm": {
"packageExtensions": {
"ws": {
"peerDependencies": {
"@types/ws": "^8.5.12"
}
}
},
"overrides": {
"undici@<5.28.4": ">=5.28.4",
"braces@<3.0.3": ">=3.0.3",
"micromatch@<4.0.8": ">=4.0.8",
"rollup@<2.79.2": ">=2.79.2"
}
}
}