-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
74 lines (74 loc) · 1.65 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
{
"name": "@ironkinoko/danmaku",
"version": "1.4.1",
"description": "Display danmaku (flying comments) on HTML5 video.",
"main": "dist/danmaku.umd.js",
"module": "dist/danmaku.es.js",
"sideEffects": false,
"files": [
"dist",
"src",
"types"
],
"types": "dist/index.d.ts",
"scripts": {
"prepare": "husky install",
"dev": "vite",
"build": "vite build && npm run dts",
"dts": "tsc -p tsconfig.build.json",
"test": "jest",
"lint": "tsc --noEmit",
"test:watch": "jest --watch",
"coverage": "jest --coverage",
"prettier": "prettier -c -w {src,types}/**/*",
"version": "npm run build",
"postversion": "git push && git push --tags && npm publish --access public"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/IronKinoko/danmaku.git"
},
"keywords": [
"danmaku",
"comment",
"弹幕",
"video",
"audio",
"live"
],
"author": "IroKinoko<[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/IronKinoko/danmaku/issues"
},
"devDependencies": {
"@types/jest": "^27.4.1",
"husky": "^7.0.4",
"jest": "^27.5.1",
"lint-staged": "^12.3.4",
"prettier": "^2.5.1",
"ts-jest": "^27.1.3",
"typescript": "^4.6.2",
"vite": "^2.8.6"
},
"lint-staged": {
"{src,types,examples}/**/*": [
"prettier -c -w"
]
},
"prettier": {
"singleQuote": true,
"semi": false,
"tabWidth": 2,
"trailingComma": "es5"
},
"browserslist": [
">0.5%",
"not op_mini all",
"not dead"
]
}