forked from deepgram/deepgram-js-captions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
89 lines (89 loc) · 2.52 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
{
"name": "@deepgram/captions",
"version": "0.0.0-automated",
"description": "Node implementation of Deepgram's WebVTT and SRT formatting. Given a transcription, this package can return a valid string to store as WebVTT or SRT caption files.",
"keywords": [
"audio",
"javascript",
"youtube",
"typescript",
"sdk",
"ffmpeg",
"speech",
"subtitles",
"srt",
"webvtt",
"speech-to-text",
"transcription",
"stt",
"asr",
"closed-captions",
"deepgram"
],
"homepage": "https://github.com/deepgram/deepgram-node-captions",
"bugs": "https://github.com/deepgram/deepgram-node-captions/issues",
"license": "MIT",
"author": {
"name": "Deepgram DevRel Team",
"email": "[email protected]"
},
"contributors": [
"Luke Oliff <[email protected]> (https://lukeocodes.dev)"
],
"files": [
"dist",
"src"
],
"engines": {
"node": ">=18.0.0"
},
"main": "dist/main/index.js",
"module": "dist/module/index.js",
"types": "dist/module/index.d.ts",
"sideEffects": false,
"repository": "deepgram/deepgram-node-captions",
"scripts": {
"clean": "rimraf dist",
"format": "prettier --write \"{src,test}/**/*.ts\"",
"build": "run-s clean format build:*",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"build:umd": "webpack --mode=production",
"watch": "nodemon -e ts --watch src --exec \"npm run build\"",
"test": "mocha -r ts-node/register test/*test.ts test/**/*test.ts --insect --timeout 5000 || :",
"test:coverage": "nyc --reporter=lcovonly --reporter=text --reporter=text-summary npm run test"
},
"dependencies": {
"dayjs": "^1.11.10"
},
"devDependencies": {
"@commitlint/cli": "^17.6.7",
"@commitlint/config-conventional": "^17.6.7",
"@types/chai": "^4.3.5",
"@types/mocha": "^9.1.1",
"chai": "^4.3.7",
"husky": "^4.3.0",
"mocha": "^9.2.2",
"nodemon": "^3.0.1",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"prettier": "^2.5.1",
"pretty-quick": "^3.1.3",
"rimraf": "^3.0.2",
"semantic-release-plugin-update-version-in-files": "^1.1.0",
"srt-validator": "^6.0.4",
"ts-loader": "^8.0.11",
"ts-node": "^10.9.1",
"typescript": "^4.5.5",
"webpack-cli": "^4.9.2",
"webpack": "^5.69.1"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"jsdelivr": "dist/umd/deepgram-captions.js",
"unpkg": "dist/umd/deepgram-captions.js"
}