-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpackage.json
More file actions
118 lines (118 loc) · 3.77 KB
/
Copy pathpackage.json
File metadata and controls
118 lines (118 loc) · 3.77 KB
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
{
"name": "@catlair/bilitools",
"version": "9.9.9",
"description": "this is BiliTools",
"main": "dist/main.js",
"types": "dist/main.d.ts",
"bin": {
"bilitools": "./dist/bin.js"
},
"scripts": {
"prebuild": "rm -rf dist/",
"build": "babel ./src --out-dir ./dist --extensions \".ts\"",
"postbuild": "cp src/main.d.ts dist/main.d.ts && cd ./dist && rm -rf ./dto/ ./types/ *.d.js ./__test__",
"build:baidu": "babel --config-file ./build/.baidu.babelrc.mjs ./src --out-dir ./dist --extensions \".ts\"",
"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 -c rollup.config.ts --configPlugin typescript && patch-package --reverse",
"dev": "ts-node -r tsconfig-paths/register -r dotenv/config ./src/index.ts",
"dev:bin": "ts-node -r tsconfig-paths/register -r dotenv/config ./src/bin.ts -c ./config/config.json5",
"start": "node -r dotenv/config ./dist/index.js",
"autoclear": "yarn autoclean -F && node tools/pkgclean.js",
"lint:eslint": "eslint --max-warnings 0 \"**/*.{js,ts}\" --fix",
"lint:prettier": "prettier --write \"**/*.{js,json,ts,md}\"",
"gitee": "ts-node -r dotenv/config tools/download.ts && ts-node -r dotenv/config tools/giteeRelease.ts",
"build:all": "yarn build && yarn build:baidu && yarn build:rollup",
"pkg": "pkg -C Gzip .",
"test": "jest"
},
"repository": "catlair/BiliOutils",
"keywords": [
"BiliTools",
"bilibili",
"BiliOutils"
],
"bugs": {
"url": "https://github.com/catlair/BiliOutils/issues"
},
"engines": {
"node": ">= 12.2.0"
},
"homepage": "https://btdocs.vercel.app/",
"author": "catlair",
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.19.3",
"@babel/core": "^7.19.3",
"@babel/preset-env": "^7.19.3",
"@babel/preset-typescript": "^7.18.6",
"@rollup/plugin-babel": "^6.0.2",
"@rollup/plugin-commonjs": "^23.0.2",
"@rollup/plugin-json": "^5.0.1",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-replace": "^5.0.1",
"@rollup/plugin-typescript": "^9.0.2",
"@rollup/plugin-wasm": "^6.0.1",
"@types/jest": "^29.2.2",
"@types/node": "^18.11.9",
"@types/node-cron": "^3.0.5",
"@types/nodemailer": "^6.4.6",
"@types/tunnel": "^0.0.3",
"@types/ws": "^8.5.3",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"babel-jest": "^29.3.1",
"babel-plugin-module-resolver": "^4.1.0",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.4.0",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^29.3.1",
"patch-package": "^6.5.0",
"prettier": "^2.7.1",
"rollup": "^2.79.1",
"rollup-plugin-sizes": "^1.0.4",
"rollup-plugin-terser": "^7.0.2",
"ts-jest": "^29.0.3",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.1.0",
"typescript": "^4.8.4"
},
"dependencies": {
"@catlair/bilicomic-dataflow": "^0.0.4",
"@catlair/node-got": "^0.0.9",
"core-js": "^3.26.1",
"json5": "^2.2.1",
"node-cron": "^3.0.2",
"nodemailer": "^6.8.0",
"tunnel": "^0.0.6",
"uuid": "^9.0.0",
"ws": "^8.11.0"
},
"optionalDependencies": {
"@alicloud/fc2": "^2.6.3",
"@catlair/blogin": "^0.0.8",
"dotenv": "^16.0.3",
"puppeteer": "^15.4.0",
"tencentcloud-sdk-nodejs": "^4.0.455"
},
"files": [
"dist",
"package*.json",
"yarn.lock"
],
"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"
}
}