@finadvise/calculators
v0.0.10
Published
Finadvise Calculators
Downloads
10
Readme
@finadvise/calculators
Calculators.
Building
This repo is a plain npm Typescript package (built with the tsc compiler).
In order to test it, there are 2 subdirectories in the demo
folder:
embedded
: this one embeds the component library source code via a symbolic link lib in the src directory (see README of embedded).
In order that the Webpack loader compiles the files under the symlink, it needs setting of the parameterresolve.symlinks
in the webpack configuration (see this comment).
This is done with react-app-rewired and a correspondingconfig-overrides.js
in the embedded project.
The embedded version allows editing and live reload via CRA of both the demo app and the framework in the src/lib folder. Only hack is the import of the partial SCSS files in theindex.scss
file of the demo application (such that the file watcher reacts to changes).
Publishing
The package is publicly published on npm as @finadvise/calculators.
Steps:
npm adduser --scope=@finadvise
npm publish --access public