0.2.1 • Published 10 months ago
@fern-api/dopt-blocks-demo v0.2.1
Publish ESM + CJS clients with Fern
- NPM: https://www.npmjs.com/package/@fern-api/dopt-blocks-demo
- StackBlitz: https://stackblitz.com/edit/typescript-example-using-sdk-built-with-fern-wxuqvy?file=app.ts&view=editor
Step 1: Output source files
We have configured the TypeScript Generator to output source files to the lib
directory.
- name: fernapi/fern-typescript-node-sdk
config:
outputSourceFiles: true
namespaceExport: DoptBlocks
Step 2: Setup rollup and remaining package files
We have setup the tsconfig.json
, package.json
, rollup.config.js
.
How to run yourself
yarn install
yarn build
npm publish