repo-tools

v0.1.0
Useful commands to work with remote repositories
tools git

build

npm run clean && npm run build:ts && chmod +x lib/cli.js

build:ts

tsc --outDir lib

watch

npm run build:ts -- -w

clean

rimraf lib

lint

tslint 'src/**/*.ts'

test

jest

test:coverage

jest --coverage

test:watch

jest --watch

format

prettier "**/*.{js,jsx,json,yml,yaml,css,less,scss,ts,tsx,md,graphql,mdx}" --write

validate

npm run lint && npm run build && npm run test:coverage

prepublishOnly

npm run validate

Metadata

  • MIT
  • Whatever
  • Gil Barbara
  • released 8/18/2019

Downloads

Maintainers