@messageflow/send-as

v0.1.1
Utility library for Facebook Messenger's Send API in Node.js
facebook-messenger messenger messenger-api messenger-bot messenger-send-api node send-api send-as send-as-button-template and 8 more...

build

npm run build:cjs && npm run build:esm && rm -rf dist/ && echo "> [build] Done!"

build:cjs

npm run lint && rm -rf dist/ && tsc -p tsconfig.json && mv dist/index.js dist/index.d.ts . && echo "> [cjs] Done!"

build:esm

npm run lint && rm -rf dist/ && tsc -p tsconfig.esm.json && mv dist/index.js ./index.mjs && echo "> [esm] Done!"

clean

rm -rf ./*.js ./*.d.ts

lint

tslint --project tsconfig.json --config tslint.prod.json --format stylish 'src/**/*.ts*'

lint:debug

tslint --project tsconfig.json --config tslint.json --format stylish 'src/**/*.ts*'

prepublishOnly

npm run lint && npm run build

test

env-cmd ./.jest.env jest --config ./.jestrc.json
npm i @messageflow/send-as

Metadata

  • MIT
  • >= 8.9.0
  • Rong Sen Ng
  • released 8/28/2018

Downloads

Maintainers