awslabs / amplify-video

An open source Category Plugin for the AWS Amplify-CLI that makes it easy to deploy live and file based streaming video services and integrate them into your Amplify applications.
https://www.npmjs.com/package/amplify-category-video
Apache License 2.0
267 stars 56 forks source link

Add husky and pinst #182

Closed nathanagez closed 3 years ago

nathanagez commented 3 years ago

Issue #179

Description of changes:

Adding husky and pinst libraries to create pre-commit hook. pinst library is used to disable postinstall script in the case we are publish amplify-video on a registry like npm. Otherwise, postinstall will run when someone will install our package and result in an error.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

wizage commented 3 years ago

Closing in favor of other testing pull requests