forked from goatandsheep/node-srt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
92 lines (92 loc) · 2.1 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
{
"name": "node-srt-ts",
"version": "3.0.4",
"description": "Parse SRT files, segments and generates HLS playlists for them with Typescript support.",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"scripts": {
"test": "jest",
"fix": "gts fix",
"lint": "gts lint",
"clean": "gts clean",
"check": "gts check",
"compile": "tsup",
"autopublish": "jsr publish && pnpm publish",
"prepublish": "npm run compile"
},
"keywords": [
"segment",
"hls",
"subtitle",
"closed",
"caption",
"srt",
"subrip"
],
"license": "MIT",
"author": "Kemal Ahmed <[email protected]>, Minsu Kim <[email protected]>",
"repository": {
"type": "git",
"url": "git://github.com/waktaplay/node-srt-ts"
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"@microsoft/api-extractor": "^7.47.7",
"@types/node": "20.12.7",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"gts": "^5.3.1",
"jest": "^29.7.0",
"jsr": "^0.13.1",
"prettier": "^3.3.3",
"terser": "^5.31.6",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"tsup": "^8.2.4",
"typescript": "^5.5.4"
},
"engines": {
"node": ">= 18.0.0"
},
"files": [
"dist"
],
"exports": {
"types": "./dist/index.d.ts",
"import": {
"types": "./dist/index.d.mts",
"import": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js"
}
},
"tsup": {
"dts": true,
"clean": true,
"splitting": true,
"treeshake": true,
"minify": "terser",
"format": [
"cjs",
"esm"
],
"entry": [
"src/index.ts"
],
"terserOptions": {
"mangle": {
"eval": true,
"toplevel": true
},
"compress": {
"ecma": 2020,
"drop_console": true
}
}
},
"packageManager": "[email protected]+sha512.8e4c3550fb500e808dbc30bb0ce4dd1eb614e30b1c55245f211591ec2cdf9c611cabd34e1364b42f564bd54b3945ed0f49d61d1bbf2ec9bd74b866fcdc723276"
}