加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
package.json 3.09 KB
一键复制 编辑 原始数据 按行查看 历史
工藤兰 提交于 2022-05-24 23:44 . fix: gitee CodeCheck
{
"name": "@catlair/bilitools",
"version": "0.4.12",
"description": "this is BiliTools",
"main": "dist/main.js",
"bin": {
"bilitools": "./dist/bin.js"
},
"scripts": {
"build": "babel ./src --out-dir ./dist --extensions \".ts\"",
"build:baidu": "babel --config-file ./build/.baidu.babelrc.mjs ./src --out-dir ./dist --extensions \".ts\"",
"build:rollup": "rollup -c rollup.config.ts --configPlugin typescript",
"build:vm": "rollup -c ./build/rollup.config.ts --configPlugin typescript",
"deploy": "sls deploy --debug",
"deploy:multi": "node tools/bootstrap.js --scf",
"start:multi": "node tools/bootstrap.js --start",
"dev": "ts-node -r tsconfig-paths/register ./src/index.ts",
"start": "node ./dist/index.js",
"autoclear": "yarn autoclean -F && node tools/pkgclean.js",
"prebuild": "rm -rf dist/",
"predeploy:multi": "cp -rf ./tools/ ./package*.json ./build/.yarnclean ./dist && cd ./dist && yarn install --production && npm run autoclear && rm -rf tools package*.json yarn.lock .yarnclean && cd ../",
"postbuild": "cd ./dist && rm -rf ./dto/ ./types/ *.d.js ./vm/",
"postbuild:baidu": "npm run postbuild && sed -i '6a global.BILITOOLS_CONFIG = null;' dist/index.cfc.js",
"lint:eslint": "eslint --max-warnings 0 \"**/*.{js,ts}\" --fix",
"lint:prettier": "prettier --write \"**/*.{js,json,ts,md}\"",
"gitee": "ts-node tools/download.ts && ts-node tools/giteeRelease.ts"
},
"repository": "catlair/BiliTools",
"keywords": [
"BiliTools",
"bilibili"
],
"bugs": {
"url": "https://github.com/catlair/BiliTools/issues"
},
"homepage": "https://gitee.com/catlair/BiliTools#readme",
"author": "catlair",
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.17.12",
"@babel/preset-env": "^7.17.12",
"@babel/preset-typescript": "^7.17.12",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^22.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.1.3",
"@rollup/plugin-replace": "^4.0.0",
"@rollup/plugin-typescript": "^8.3.1",
"@types/node": "^17.0.34",
"@types/nodemailer": "^6.4.4",
"@types/pako": "^1.0.3",
"@typescript-eslint/eslint-plugin": "^5.24.0",
"@typescript-eslint/parser": "^5.24.0",
"babel-plugin-module-resolver": "^4.1.0",
"eslint": "^8.10.0",
"eslint-config-prettier": "^8.4.0",
"eslint-plugin-prettier": "^4.0.0",
"prettier": "^2.5.1",
"rollup": "^2.74.0",
"rollup-plugin-sizes": "^1.0.4",
"rollup-plugin-terser": "^7.0.2",
"tsconfig-paths": "^4.0.0",
"typescript": "^4.5.5"
},
"dependencies": {
"axios": "^0.27.2",
"core-js": "3.22.6",
"json5": "^2.2.1",
"nodemailer": "^6.7.2",
"pako": "1.0.11",
"tunnel": "^0.0.6"
},
"optionalDependencies": {
"@alicloud/fc2": "^2.5.4",
"dotenv": "^16.0.0",
"puppeteer": "^13.1.1",
"tencentcloud-sdk-nodejs": "^4.0.297"
},
"files": [
"dist",
"package*.json",
"yarn.lock"
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化