-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathpackage.json
96 lines (96 loc) · 2.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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"name": "danmu",
"version": "0.14.1",
"description": "Flexible, cross-platform, powerful danmu library.",
"main": "./dist/danmu.cjs.js",
"unpkg": "./dist/danmu.umd.js",
"module": "./dist/danmu.esm-bundler.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"node": "./dist/danmu.esm-bundler.mjs",
"default": "./dist/danmu.esm-bundler.js"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/danmu.cjs.js"
}
}
},
"files": [
"dist"
],
"scripts": {
"test": "jest",
"prepare": "husky",
"release": "tsx ./release.ts",
"preview:docs": "cd docs && pnpm run preview",
"dev:docs": "cd docs && pnpm run dev",
"dev:demo": "cd demo && pnpm run dev",
"dev:core": "rollup --config --environment BUILD:development",
"build:docs": "rimraf ./docs/.vitepress/dist && cd docs && pnpm run build",
"build:demo": "rimraf ./demo/dist && cd demo && pnpm run build",
"build:core": "rimraf ./dist && rollup --config && rimraf ./dist/__tests__ && pnpm run format:es",
"format": "pnpm run format:es && pnpm run format:docs",
"format:docs": "prettier --write ./docs",
"format:es": "prettier --write --ignore-path=.prettierignore --parser typescript \"(src|demo|dist)/**/*.((m)?js|ts?(x))\""
},
"lint-staged": {
"*.js": [
"prettier --write"
],
"*.ts?(x)": [
"prettier --parser=typescript --write"
]
},
"author": "imtaotao",
"keywords": [
"danmu",
"danmaku",
"danmuku",
"弹幕",
"弹幕库"
],
"license": "MIT",
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"repository": {
"type": "git",
"url": "git+https://github.com/imtaotao/danmu.git"
},
"bugs": {
"url": "https://github.com/imtaotao/danmu/issues"
},
"packageManager": "pnpm@9.1.3",
"devDependencies": {
"@jsdevtools/version-bump-prompt": "^6.1.0",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.7",
"@types/jest": "^29.5.12",
"@types/node": "^22.5.0",
"chalk": "^5.3.0",
"execa": "^9.3.1",
"husky": "^9.0.11",
"jest": "^29.7.0",
"lint-staged": "^15.2.5",
"minimist": "^1.2.8",
"prettier": "^3.3.3",
"rimraf": "^5.0.7",
"rollup": "^4.18.0",
"rollup-plugin-cleanup": "^3.2.1",
"rollup-plugin-typescript2": "^0.36.0",
"semver": "^7.6.3",
"ts-jest": "^29.1.4",
"tsx": "^4.17.0",
"typescript": "^4.5.5"
},
"dependencies": {
"aidly": "^1.9.0",
"hooks-plugin": "^1.3.0"
}
}