UNPKG

versification

Version:

A library for parsing Paratext's vrs files.

22 lines (14 loc) 564 B
# How to build a new package 1. npm login 2. npm version patch 3. npm publish #Troubleshooting. If you get the following type of error, when running tests: TSError: ⨯ Unable to compile TypeScript: Left side of comma operator is unused and has no side effects. (0, chai_1.expect)(wrapper.find(MyListItem)).to.have.length(3); Then run : "npm run fix-ts-mocha" which does the following: 1. cd node_modules 2. cd ts-mocha 3. npm install --force This install ts-mocha optional dependencies (tsconfig-paths), and fixes the error.