libxmljs-wrapper
v1.0.0-beta.1
Published
libxmljs-wrapper
Readme
libxmljs-wrapper
Setup
- Install Yarn
- Make sure you can access Chain.io private NPM Packages. Either:
- authenticate to your npm account:
npm adduserOR - Add a valid
NPM_TOKENto your ENV variables OR - Add a valid
NPM_TOKENto your user .npmrc file
- authenticate to your npm account:
yarnto install dependencies
Testing
- Run terraform to deploy the red environment (you only have to do this if there have been infrastructure changes)
cd./ terraform / environments / redterraform getterraform planterraform apply
yarn testoryarn run jestfor any specific optionsyarn lintto lint
Deploying
- Dev:
yarn deploy - Other environments are deployed via CD upon successful build of master
Git Hooks
This repo employs a pre-commit hook that does the following:
- Runs
yarn lintto reject commits if StandardJS detects errors. - Runs
yalc checkto reject commits if any packages were added to this repo using yalc. If you do not haveyalcinstalled, this check will skip.
:exclamation: On MacOS, some Git UI tools may not play well with git hooks. Please launch those tools from the command line (
$ open /Applications/Sourcetree.app) or add/usr/local/binto your $PATH.
