1.0.1 • Published 4 years ago
conditionbuilder v1.0.1
Condition Builder User Guide
Commands
npm start # or yarn start
This builds to /dist
and runs the project in watch mode so any edits you save inside src
causes a rebuild to /dist
.
Then run the example inside another:
cd demo
npm i # or yarn to install dependencies
npm start # or yarn start
The default example imports and live reloads whatever is in /dist
, so if you are seeing an out of date component, make sure TSDX is running in watch mode like we recommend above. No symlinking required, we use Parcel's aliasing.
To do a one-off build, use npm run build
or yarn build
.
To run tests, use npm test
or yarn test
.
Testing
Jest tests are set up to run with npm test
or yarn test
.
To take coverage report: npm test:coverage
or yarn test:coverage
Publishing to NPM
We recommend using np.