npm.io
1.0.1 • Published 6 years ago

@puncsky/pipeline

Licence
MIT
Version
1.0.1
Deps
16
Size
103 kB
Vulns
38
Weekly
0

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)