This code has been moved to: https://github.com/zapier/zapier-platform/tree/master/packages/core
This is the code that powers our Zapier Platform CLI. You'll want to head to that repo to see how it's used.
npm installfor getting startednpm testfor running unit testsnpm run local-integration-testfor running integration tests locallynpm run build-boilerplate -- --debugfor building abuild-boilerplate/*.zip(if you want to test buildless locally)
Make sure your AWS access key have permission to update and run Lambda functions, and then you can use these commands to run tests on AWS Lambda:
npm run deploy-integration-testbuilds and deploys a zip to a function namedintegration-test-clion Lambdanpm run lambda-integration-testruns the integration test using the live Lambda functionintegration-test-cli
npm version [patch|minor|major]will pull, test, update schema version in dependencies for this package, update docs, increment version in package.json, and push tags, which then will tell Travis to publish to npm