Skip to content

YMC-GitHub/js-lib-git-test-commit

Repository files navigation

GitHub commit activity GitHub followers GitHub language count GitHub language top GitHub last commit (branch) GitHub package.json version (branch) GitHub repo size Gitter Travis (.com) branch Twitter Follow

git-test-commit

desc

create a dummy commit for testing

how to use for production?

install

#npm install git-test-commit --save-dev
npm install https://github.com/YMC-GitHub/js-lib-git-test-commit.git --save-dev

usage

const gitDummyCommit = require('git-test-commit');

gitDummyCommit('unicorns');
//=> created a commit with message "unicorns"

how to use for developer?

install

#npm install git-test-commit --save-dev
npm install https://github.com/YMC-GitHub/js-lib-git-test-commit.git --save-dev

config

01.set the dir to save the source code ? config

02.set the dir to save the build ouput code by rollup ? config

03.set the lib name ? config

04.set the banner start year ? config

05.set npm package 's main,module,unpkg key?

{
  //...
  "main": "lib/git-test-commit.common.js",
  "module": "lib/git-test-commit.esm.js",
  "unpkg": "lib/git-test-commit.min.js",
   //...
}

...

usage

#dev
npm run dev

#build
npm run build

#release
npm run release

#lint
npm run lint
npm run lint:no-fix

#format
npm run beautify

#test
npm run test
npm run test:unit
npm run test:coverage

#changelog
npm run changelog

Author

yemiancheng ymc.github@gmail.com

License

MIT

About

create a dummy commit for testing

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors