UNPKG

1.55 kBJSONView Raw
1{
2 "name": "danmaku",
3 "version": "2.0.2",
4 "description": "Display danmaku (flying comments) on HTML5 video.",
5 "main": "dist/danmaku.js",
6 "module": "dist/esm/danmaku.js",
7 "sideEffects": false,
8 "files": [
9 "dist",
10 "src",
11 "types"
12 ],
13 "types": "types/index.d.ts",
14 "scripts": {
15 "dev": "npm run bundle -- -w",
16 "lint": "eslint src test",
17 "unit": "karma start",
18 "sauce": "karma start karma.sauce.js",
19 "test": "npm run lint && npm run unit",
20 "bundle": "rollup -c",
21 "build": "npm run bundle",
22 "preversion": "npm test",
23 "version": "npm run build && git add -A dist",
24 "postversion": "git push && git push --tags && npm publish"
25 },
26 "repository": {
27 "type": "git",
28 "url": "git+https://github.com/weizhenye/Danmaku.git"
29 },
30 "keywords": [
31 "danmaku",
32 "comment",
33 "弹幕",
34 "video",
35 "audio",
36 "live"
37 ],
38 "author": "Zhenye Wei",
39 "license": "MIT",
40 "bugs": {
41 "url": "https://github.com/weizhenye/Danmaku/issues"
42 },
43 "homepage": "https://danmaku.js.org/",
44 "devDependencies": {
45 "@rollup/plugin-replace": "^2.3.3",
46 "chai": "^4.2.0",
47 "es6-promise": "^4.2.8",
48 "eslint": "^7.6.0",
49 "karma": "^5.1.1",
50 "karma-chai": "^0.1.0",
51 "karma-chrome-launcher": "^3.1.0",
52 "karma-coverage": "^2.0.3",
53 "karma-mocha": "^2.0.1",
54 "karma-rollup-preprocessor": "^7.0.5",
55 "karma-sauce-launcher": "^1.2.0",
56 "mocha": "^4.1.0",
57 "rollup": "^2.23.0",
58 "rollup-plugin-istanbul": "^2.0.1",
59 "rollup-plugin-terser": "^6.1.0"
60 }
61}