-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
125 lines (125 loc) · 4.28 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "bilioutils",
"version": "1.5.4",
"description": "this is BiliOutils",
"main": "main.js",
"types": "main.d.ts",
"bin": {
"bilioutils": "bin.js",
"bou": "bin.js"
},
"scripts": {
"prebuild": "rm -rf dist/",
"build": "npm run prebuild && babel --config-file ./babel.config.mjs ./src --out-dir ./dist --extensions \".ts\" && npm run postbuild",
"postbuild": "cp src/main.d.ts dist/main.d.ts && rm -rf dist/dto/ dist/types/ dist/__test__ && find dist -name \"*.dto.js\" -delete && find dist -name \"*.d.js\" -delete && cp LICENSE README.md package.json ./dist",
"build:baidu": "babel --config-file ./build/.baidu.babelrc.mjs ./src --out-dir ./dist --extensions \".ts\" && npm run postbuild:baidu",
"postbuild:baidu": "npm run postbuild && sed -i '6a global.BILITOOLS_CONFIG = null;' dist/index.cfc.js && sed -i '1a global.IS_CFC = true;' dist/index.cfc.js",
"build:rollup": "patch-package && rollup --bundleConfigAsCjs -c rollup.config.ts --configPlugin typescript && patch-package --reverse",
"dev": "npm run tsx ./src/index.ts",
"dev:bin": "npm run tsx ./src/bin.ts --",
"start": "node -r dotenv/config ./dist/index.js",
"autoclear": "node tools/pkgclean.js",
"lint:eslint": "eslint --max-warnings 0 \"**/*.{js,ts}\" --fix",
"lint:prettier": "prettier --write \"**/*.{js,json,ts,md}\"",
"gitee": "tsx -r dotenv/config tools/download.ts && tsx -r dotenv/config tools/giteeRelease.ts",
"build:all": "npm run build && npm run build:baidu && npm run build:rollup",
"pkg": "pkg -C Gzip .",
"test": "jest",
"tsx": "tsx -r tsconfig-paths/register -r dotenv/config",
"pm2start": "npm run dev:bin -c ./config/config.json5",
"pm2link": "npm run tsx ./src/task/blink/blink.service.ts",
"pm2s": "npm run tsx ./src/task/lotteryScan",
"pm2r": "npm run tsx ./src/task/liveReservation/reservation.service"
},
"repository": {
"url": "git+https://github.com/catlair/BiliOutils.git"
},
"keywords": [
"BiliTools",
"bilibili",
"BiliOutils"
],
"bugs": {
"url": "https://github.com/catlair/BiliOutils/issues"
},
"engines": {
"node": ">= 14.12.1"
},
"homepage": "https://bilioutils.js.org",
"author": "catlair",
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.22.6",
"@babel/core": "^7.22.6",
"@babel/helper-plugin-utils": "^7.22.5",
"@babel/preset-env": "^7.22.6",
"@babel/preset-typescript": "^7.22.5",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^25.0.2",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-replace": "^5.0.2",
"@rollup/plugin-terser": "^0.4.3",
"@rollup/plugin-typescript": "^11.1.2",
"@rollup/plugin-wasm": "^6.1.3",
"@swc/core": "^1.3.92",
"@swc/jest": "^0.2.29",
"@types/big.js": "^6.2.2",
"@types/jest": "^29.5.2",
"@types/node": "^20.0.0",
"@types/node-schedule": "^2.1.0",
"@types/nodemailer": "^6.4.8",
"@types/tunnel": "^0.0.7",
"@types/ws": "^8.5.5",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"babel-plugin-module-resolver": "^5.0.0",
"eslint": "^8.44.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"jest": "^29.7.0",
"patch-package": "^8.0.0",
"prettier": "^3.0.0",
"rollup": "^3.26.0",
"rollup-plugin-sizes": "^1.0.5",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.1.6"
},
"dependencies": {
"@catlair/bilicomic-dataflow": "^0.0.4",
"@catlair/blogin": "^0.2.3",
"@catlair/node-got": "^0.0.10",
"big.js": "^6.2.1",
"commander": "^11.1.0",
"core-js": "^3.35.1",
"dayjs": "^1.11.10",
"json5": "^2.2.3",
"node-schedule": "^2.1.1",
"nodemailer": "^6.9.8",
"tunnel": "^0.0.6",
"winston": "^3.11.0",
"ws": "^8.16.0"
},
"optionalDependencies": {
"@alicloud/fc2": "^2.6.3",
"dotenv": "^16.3.1",
"pm2": "^5.3.0",
"tencentcloud-sdk-nodejs": "^4.0.634"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"pkg": {
"scripts": "./dist/bin.js",
"targets": [
"node16-win-x64",
"node16-linux-x64",
"node16-macos-x64"
],
"assets": [
"./dist/**/*.js"
],
"outputPath": "bin"
}
}