dev-to-git

v1.4.7
A CLI to keep your dev.to posts in sync from a GIT project, using the CI provider of your choice
dev.to

copy-index

cp ./src/index.js ./bin

prettier:base

yarn run prettier "./{src,test}/**/*.ts" "./**/*.{yml,md,json}"

prettier:fix

yarn run prettier:base --write

prettier:check

yarn run prettier:base --check

lint

tslint --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'

prebuild

rimraf bin

build

tsc --module commonjs && rollup -c rollup.config.ts && typedoc --out docs --target es6 --theme minimal --mode file src && yarn run copy-index

start

rollup -c rollup.config.ts -w

test

jest --coverage

test:watch

jest --coverage --watch

test:prod

npm run lint && npm run test -- --no-cache

report-coverage

cat ./coverage/lcov.info | coveralls

commit

git-cz

semantic-release

semantic-release

precommit

lint-staged

Metadata

  • MIT
  • >=6.0.0
  • Maxime Robert
  • released 8/16/2021

Downloads

Maintainers