material.font.features
Version:
Material UI component for displaying opentype font features.
21 lines (14 loc) • 562 B
Plain Text
# 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.