-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.json
executable file
·56 lines (56 loc) · 1.58 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
{
"name": "ass-compiler",
"version": "0.1.14",
"type": "module",
"description": "Parses and compiles ASS subtitle format to easy-to-use data structure.",
"main": "dist/esm/ass-compiler.js",
"module": "dist/esm/ass-compiler.js",
"sideEffects": false,
"files": [
"dist",
"src",
"types"
],
"types": "types/index.d.ts",
"scripts": {
"lint": "eslint src test",
"unit": "vitest run",
"cover": "vitest run --coverage",
"test": "npm run lint && npm run unit",
"dev": "rollup -c -w",
"bundle": "rollup -c",
"minify": "uglifyjs dist/ass-compiler.js -m -o dist/ass-compiler.min.js && uglifyjs dist/esm/ass-compiler.js -m -o dist/esm/ass-compiler.min.js",
"build": "npm run bundle && npm run minify",
"preversion": "npm test",
"version": "npm run build && git add -A ./dist",
"postversion": "git push && git push --tags && npm publish"
},
"repository": {
"type": "git",
"url": "git+https://github.com/weizhenye/ass-compiler.git"
},
"keywords": [
"ass",
"ssa",
"subtitle",
"compiler",
"parser"
],
"author": "Zhenye Wei",
"license": "MIT",
"bugs": {
"url": "https://github.com/weizhenye/ass-compiler/issues"
},
"homepage": "https://ass.js.org/ass-compiler/",
"devDependencies": {
"@vitest/coverage-v8": "^2.0.4",
"eslint": "^8.57.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "npm:eslint-plugin-i@^2.29.1",
"rollup": "^4.19.0",
"rollup-plugin-buble": "^0.19.8",
"rollup-plugin-replace": "^2.2.0",
"uglify-js": "^3.19.0",
"vitest": "^2.0.4"
}
}