@25sprout/pug-starter

0.1.3 • Public • Published

Pug Starter

Commitizen friendly Standard Version

新芽網路前端開發架構

簡介

提供 command line tool 快速建立 pug 專案,專案內容主要在 template 資料夾底下。

如何開始

Starter 有上 npm ,因此有兩種方法可以安裝 command line tool

  1. npm install -g @25sprout/pug-starter
  2. yarn global add @25sprout/pug-starter

踏出第一步

安裝完之後就可以使用 pug-starter 指令

  • pug-starter -h: 看目前指令支援哪些參數
  • pug-starter -V: 目前指令版本
  • pug-starter -n pug-new-project: 產生一個 pug-new-project 專案,裡面內建 pug-starter 環境

Contribution

此專案 commit message 使用 angular format ,並使用 commitizen 輔助產生 commit message

  • 加入修改的檔案 git add .
  • 產生 commit message npm run commit

Release

此專案使用 standard-version 輔助 release 流程,自動產生 CHANGELOG.md 和 提升版本號(提升 major version 依據是否有 feat 來判斷)

  • npm run release

可以自己決定 提升 patch, minor or major

  • npm run release -- --release-as minor

Warning: 第一次 release 請下

  • npm run release -- --first-release

Readme

Keywords

Package Sidebar

Install

npm i @25sprout/pug-starter

Weekly Downloads

1

Version

0.1.3

License

MIT

Unpacked Size

562 kB

Total Files

56

Last publish

Collaborators

  • jessy1092