@chatie/git-scripts
Git Hooks Integration for Chatie Projects
Last updated a month ago by zixia .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @chatie/git-scripts 
SYNC missed versions from official npm registry.

@chatie/git-scripts

NPM Version npm (tag) Build Status

Git Hooks

Source: Git Hooks - Git

Git Hooks Integration for Chatie Projects

USAGE

This module is a wrapper of the NPM module git-scripts, it provide following additional features:

  1. pre-push hook had been set to run npm run lint and then npm verion patch before git push for better code quality and version management.

Learn more about the original git-scripts from its GitHub homepage: git-scripts

DISABLE THE HOOK

You can skip git hook for pre-push if you want.

1. Temporary

To temporary disable the pre-push git hook, you can set NO_HOOK=1 before do git push:

# for Linux & Mac
NO_HOOK=1 git push

# for Windows

set NO_HOOK=1 git push

2. Permanent

To permanent disable the pre-push git hook, you can delete the related settings in package.json:

-  "git": {
-    "scripts": {
-      "pre-push": "npx git-scripts-pre-push"
-    }
-  }

CHANGELOG

master

v0.2 (10 Jun 2019)

  1. Install hook to package.json automatically

v0.0.1 (08 Jun 2019)

  1. Wrap git-scripts

AUTHOR

Huan LI (李卓桓) zixia@zixia.net

Profile of Huan LI (李卓桓) on StackOverflow

COPYRIGHT & LICENSE

  • Code & Docs © 2019 - now Huan LI zixia@zixia.net
  • Code released under the Apache-2.0 License
  • Docs released under Creative Commons

Current Tags

  • 0.6.2                                ...           latest (a month ago)
  • 0.5.2                                ...           next (3 months ago)

15 Versions

  • 0.6.2                                ...           a month ago
  • 0.6.1                                ...           3 months ago
  • 0.5.2                                ...           3 months ago
  • 0.5.1                                ...           3 months ago
  • 0.3.3                                ...           3 months ago
  • 0.2.5                                ...           a year ago
  • 0.2.4                                ...           a year ago
  • 0.2.3                                ...           a year ago
  • 0.2.2                                ...           a year ago
  • 0.2.1                                ...           a year ago
  • 0.1.8                                ...           a year ago
  • 0.1.7                                ...           a year ago
  • 0.1.6                                ...           a year ago
  • 0.1.1                                ...           a year ago
  • 0.0.2                                ...           a year ago
Maintainers (2)
Downloads
Today 3
This Week 70
This Month 12
Last Day 9
Last Week 55
Last Month 231
Dependencies (3)
Dev Dependencies (5)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |