-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
48 lines (48 loc) · 1.27 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
{
"name": "srtparsejs",
"version": "1.0.8",
"description": "A javascript srt text parser and player.",
"keywords": [
"subtitle",
"srt",
"parse",
"srtparse",
"parser",
"player",
"srtplayer"
],
"homepage": "https://github.com/Qiming-Liu/srtparse.js",
"bugs": {
"url": "https://github.com/Qiming-Liu/srtparse.js/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/Qiming-Liu/srtparse.js.git"
},
"license": "MIT",
"author": "Qiming-Liu (https://github.com/Qiming-Liu)",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
"./package.json": "./package.json"
},
"main": "dist/index.js",
"module": "dist/index.mjs",
"devDependencies": {
"@babel/core": "^7.18.6",
"@babel/preset-env": "^7.18.6",
"babel-jest": "^28.1.2",
"jest": "^28.1.2",
"tsup": "^6.1.3"
},
"scripts": {
"build": "tsup src/index.js --format cjs,esm --clean",
"watch": "npm run build -- --watch src",
"test": "npm run build && node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage",
"test:debug": "npm run build && jest --runInBand",
"prepublishOnly": "npm run test",
"in": "npm install srtparsejs && npm uninstall srtparsejs"
}
}