@finadvise/questionnaire
v0.1.23
Published
Questionnaire Model and React Components with CSS for bulma and Salesforce Lightning.
Downloads
36
Readme
@finadvise/questionnaire
Questionnaire Model and React Components with CSS for bulma and Salesforce Lightning.
Building
This repo is a plain npm Typescript package (built with the tsc compiler).
embedded
: this project 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/questionnaire.
Steps:
npm adduser --scope=@finadvise
npm publish --access public