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
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
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 fromsrc
todist
-
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)