Package Exports
- @piccollage/cbjs
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@piccollage/cbjs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Setup (see GitHub project wiki page)
Copied files over
npm install ...npm install --save-dev jestIssues with babel, etc.
- Follow:
- Setup
tsconfig.json:"esModuleInterop": true
- https://jestjs.io/docs/en/getting-started
npm i -D babel-jest @babel/core @babel/preset-env- Create
babel.config.js - https://itnext.io/step-by-step-building-and-publishing-an-npm-typescript-package-44fe7164964c
jestconfig.json
https://itnext.io/step-by-step-building-and-publishing-an-npm-typescript-package-44fe7164964c