Colorado Openerr v1.0.0
If you run
npm test, you'll run the test suite built with Mocha. Additionally, if you want to see the twitter output without actually hitting the Twitter API, you can run
npm run local and instead of tweeting, the script will
console.log() each tweet status.
This won't be helpful in troubleshooting Twitter API issues, but it might be useful to troubleshoot any issues with the Open States API.
Deploying to AWS Lambda
This script is meant to be packaged up and deployed to AWS Lambda. If you want to create the
.zip file for deployment, run
npm run zip. Current builds are larger than 10mb and should be uploaded to an S3 bucket for lambda deployment.
We use the
.editorconfig and a modified
.eslintrc from the Node.js Style Guide. The modified
.estlinrc is only different in that it uses ES6. ESLint has been added to
npm run pretest, so will fire before testing, or can be run on its own if you like.
You can run
npm run prettier to run Prettier with the correct settings to meet our ESLint config.
We use semantic versioning. Check out
changelog.md for notes about new versions as they're released.
MIT Licensed. Check
LICENSE for details.