@megabytelabs/gitr

v1.0.4
Creates a GitLab and GitHub repository and then sets up push updating from GitLab to GitHub.

build

run-s clean && run-p build:*

build:main

tsc -p tsconfig.json

build:module

tsc -p tsconfig.module.json

clean

trash build test

commit

git-cz

cov

run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html

cov:check

nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100

cov:html

nyc report --reporter=html

cov:lcov

nyc report --reporter=lcov

cov:send

run-s cov:lcov && codecov

describe

npm-scripts-info

doc

run-s doc:html && open-cli build/docs/index.html

doc:html

typedoc src/ --exclude "**/*.spec.ts" --out build/docs

doc:json

typedoc src/ --exclude "**/*.spec.ts" --json build/docs/typedoc.json

fix

run-s fix:*

fix:eslint

eslint src --ext .ts --fix

fix:prettier

prettier "src/**/*.ts" --write

info

npm-scripts-info

_postinstall

husky install && run-s update

prepare-release

run-s reset test doc:html version

postpublish

pinst --enable

prepublishOnly

pinst --disable

reset

git clean -dfx && git reset --hard && npm i --ignore-scripts

test

run-s build test:*

test:eslint

eslint src --ext .ts

test:prettier

prettier "src/**/*.ts" --list-different

test:unit

nyc --silent ava

update

bash .start.sh && cp ./.modules/npm/.start.sh .start.sh

version

standard-version --no-verify

watch

run-s clean && run-p watch:build

watch:build

tsc -p tsconfig.json -w

watch:test

nyc --silent ava --watch
npm i @megabytelabs/gitr

Metadata

  • MIT
  • >=10
  • Brian Zalewski
  • released 5/24/2021

Downloads

Maintainers