1.0.1 • Published 4 years ago

@puncsky/pipeline v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

CircleCI

Pipeline: publishing posts to social networks and chatbots

Purposes:

  • User Acquisition
  • SEO

A simplistic typescript boilerplate using babel, tslint, ava, and CircleCI.

nvm use 10.15.1
npm install

# test
# run all tests
npm run test
# run a single test file
npm run ava ./path/to/test-file.js

Twitter

Get your credentials from Twitter Developer.

consumerKey TODO,
consumerSecret: TODO,
accessTokenKey: TODO,
accessTokenSecret: TODO

Telegram

Get your bot token from BotFather.

botToken: TODO,
channelId: TODO

Pinterest

Get your access token from Pinterest Developers

access_token: TODO

Scripts

To run a single test case, follow instructions here.

  • npm run build: build source code from src to dist
  • npm publish: publish code to npm
  • npm run changelog-patch bump version patch (bug fixes)
  • npm run changelog-minor bump version minor (new features)
  • npm run changelog-major bump version major (breaking change)