代码拉取完成,页面将自动刷新
"use strict"
module.exports = (grunt) ->
# Load all grunt tasks
require("matchdep").filterDev("grunt-*").forEach grunt.loadNpmTasks
# Project configurations
grunt.initConfig
config:
pkg: grunt.file.readJSON("package.json")
"npm-contributors":
options:
commitMessage: "feat(package): update contributors"
conventionalChangelog:
options:
changelogOpts:
preset: "angular"
dist:
src: "CHANGELOG.md"
bump:
options:
files: ["package.json"]
commitMessage: 'chore: release v%VERSION%'
commitFiles: ["-a"]
tagMessage: 'chore: create tag %VERSION%'
push: false
grunt.registerTask "default", "Default task aka. build task", (type) ->
grunt.task.run [
"npm-contributors"
"bump-only:#{type or 'patch'}"
"conventionalChangelog"
"bump-commit"
]
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。