libxmljs-wrapper
v1.0.0-beta.1
Published
libxmljs-wrapper
Downloads
4
Readme
libxmljs-wrapper
Setup
- Install Yarn
- Make sure you can access Chain.io private NPM Packages. Either:
- authenticate to your npm account:
npm adduser
OR - Add a valid
NPM_TOKEN
to your ENV variables OR - Add a valid
NPM_TOKEN
to your user .npmrc file
- authenticate to your npm account:
yarn
to 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 / red
terraform get
terraform plan
terraform apply
yarn test
oryarn run jest
for any specific optionsyarn lint
to 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 lint
to reject commits if StandardJS detects errors. - Runs
yalc check
to reject commits if any packages were added to this repo using yalc. If you do not haveyalc
installed, 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/bin
to your $PATH.