加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Gruntfile.coffee 899 Bytes
一键复制 编辑 原始数据 按行查看 历史
sparanoid 提交于 2018-10-14 16:02 . fix(grunt): duplicated default task
"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"
]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化