0.3.0 • Published 6 years ago

safepay-aws v0.3.0

Weekly downloads
3
License
MIT
Repository
-
Last release
6 years ago

safepay-aws

NPM

Get started quickly with safepay aws lambdas, the distribution helps take the complexity out of coding by providing JavaScript functions for safepay lambdas including pay, refund or cancel transaction. The single, downloadable package includes the safepay JavaScript Library and documentation.

npm version

Highlights

  • AWS Lambda: AWS Lambda allows developers to deploy packages of executable JavaScript code to the AWS infrastructure and make it executable without having to worry about managing servers.

  • webpack: webpack is used to create optimized bundles from JavaScript code that leverage ES6 modules.

  • babel: babel transpiles JavaScript code to JavaScript code that is compatible with various runtimes.

  • TypeScript: TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.

  • bunyan: bunyan provides structured JSON logging.

  • ava: ava is a test runner.

  • tslint: tslint is a TypeScript linter.

  • yarn: yarn is a dependency manager that is an alternative to npm.

  • nyc: nyc provides a command-line interface for calculating test code coverage with istanbul.

  • chalk: chalk is used to add color to console output.

  • proxyquire: proxyquire is used to substitute mock modules at runtime when running tests.

Scripts

  • yarn test: Use this command to lint, compile test/**/* files with TypeScript, and run tests with ava and nyc. We use the following glob pattern for unit tests: test/**/*.test.js.

  • yarn build: Use this command to compile the lambda functions and then create distribution folder work/dist/.

  • yarn bundle: Use this command to build the lambda functions and then create zip files at work/dist/zip/*.zip.

  • yarn lint: Use this command to lint the src/**/* and test/**/* files with tslint (does not require compilation).

change logs for this project