infly-libs
Version:
工具组件库
87 lines (86 loc) • 3.3 kB
JSON
{
"name": "infly-libs",
"version": "2.0.24",
"description": "工具组件库",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"postinstall": "node index.js",
"publishPkg": "npm version patch && npm publish --registry=https://registry.npmjs.org/"
},
"bin": {
"infly-libs": "bin/cli.js"
},
"exports": {
"./module/*": "./module/*",
"./dataInit/*": "./dataInit/*",
"./tools/*": "./tools/*",
"./store/*": "./store/*",
"./build/*": "./build/*"
},
"repository": {
"type": "git",
"url": "https://gitee.com/kahal/npm-package"
},
"keywords": [
"infly",
"infly-libs",
"libs"
],
"types-为了直接点击进入引用文件所以去掉": "types/index.d.ts",
"author": "Kahal",
"license": "ISC",
"dependencies": {},
"devDependencies-仅在需要webpack时候删除": {
"@babel/core": "^7.27.3",
"@babel/preset-env": "^7.27.2",
"babel-loader": "^10.0.0",
"webpack": "^5.99.9",
"webpack-cli": "^6.0.1",
"webpack-node-externals": "^3.0.0"
},
"peerDependencies": {
"axios": "^0.27.2",
"html-webpack-plugin": "^5.5.3"
},
"optionalDependencies": {
"axios": "^0.27.2",
"html-webpack-plugin": "^5.5.3"
},
"infly": {
"zipOptions": {
"buildFoldName": "[构建后目录名] 可选, 默认取值vue.config.js的outputDir, 配置化 eg: postal-benefits-level-pc",
"outputPath": "[输出文件目录链接] eg: ./ ",
"enabled": "[是否启用压缩] eg: true",
"gitAuto": "[是否自动提交git] eg: true",
"gitAutoPushRepos": "[自动提交推送git构建仓库] eg: frontend",
"gitAutoPushReposBranchMap": {
"release-eg": "develop-eg [自动提交推送项目构建分支和构建仓库推送分支对应配置,必须]"
},
"gitAutoCommitText": "[自动提交文案] eg: build: 更新版本为v{version}, 推送构建文件与zip压缩包 --build by infly-libs",
"enablePreview": "[是否启用项目预览] eg: true",
"enableClipboard": "[是否启用粘贴板粘贴git信息] eg: true",
"openExplorer": "[是否自动打开资源管理器] eg: true",
"webhookUrl": "[消息推送机器人链接配置] eg: https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=2417edd3-8f74-4c30-a7a8-5a72826d40d2",
"webhookAtUser": [
"@人手机号"
],
"webhookExtraText": "[消息推送额外文案] eg: 麻烦发下版",
"compressionLevel": 9
},
"versionConfig": {
"mainVersion": "[主版本号] 可选, 默认取值项目package version, eg: 1",
"links": {
"master": "[master分支构建文件推送地址] eg: e.sutpay.com",
"release": "[release分支构建文件推送地址] eg: http://114.132.55.214:8081/"
},
"platformName": "[用以split的项目平台名称] eg: 邮惠权益平台-运营端",
"baseName": "v{version}-{timestamp}.zip",
"versionList": [],
"disableUpdateVersionEnv": [
"development",
"staging [禁用更新版本号的环境, 比如测试环境构建不需要更新version, 不配置默认禁用stage测试环境]"
]
}
}
}