@vivaxy/github-pages-scripts
v0.5.2
Published
Created by create-n
Downloads
3
Readme
@vivaxy/github-pages-scripts
Usage
Run in standalone
npx @vivaxy/github-pages-scripts
Install and run with pre-commit hook
npm install @vivaxy/github-pages-scripts husky --save-dev
- Edit
package.json
{
+ "husky": {
+ "hooks": {
+ "pre-commit": "gps toc && gps sitemap && git add ."
+ }
+ }
}
Config
readme-prefix
Readme prefix string.
readme-suffix
Readme suffix string.
link-prefix
Site root path. As the link prefix.
Project created by create-n.