-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into guillaume/chore/downgrade-axios
- Loading branch information
Showing
4 changed files
with
895 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,10 +2,19 @@ | |
"name": "@meetsmore/nittei-client", | ||
"version": "0.0.1", | ||
"description": "The Nittei Javascript library provides convenient access to the Nittei API from server-side JavaScript applications or web applications", | ||
"main": "dist/index.js", | ||
"main": "./dist/index.js", | ||
"module": "./dist/index.mjs", | ||
"types": "./dist/index.d.ts", | ||
"exports": { | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"require": "./dist/index.js", | ||
"import": "./dist/index.mjs" | ||
} | ||
}, | ||
"packageManager": "[email protected]", | ||
"scripts": { | ||
"build": "tsc --p ./tsconfig.release.json", | ||
"build": "tsup", | ||
"deploy": "pnpm run build && pnpm publish --no-git-checks", | ||
"format": "biome format --write ./lib ./tests", | ||
"lint": "biome lint --write ./lib ./tests", | ||
|
@@ -41,6 +50,7 @@ | |
"jest": "29.7.0", | ||
"jsonwebtoken": "9.0.2", | ||
"ts-jest": "29.2.5", | ||
"tsup": "8.3.0", | ||
"typescript": "5.6.3", | ||
"uuid": "10.0.0" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import type { Options } from 'tsup' | ||
|
||
export const tsup: Options = { | ||
splitting: true, | ||
clean: true, // clean up the dist folder | ||
dts: true, // generate dts files | ||
format: ['cjs', 'esm'], // generate cjs and esm files | ||
minify: true, | ||
bundle: true, | ||
sourcemap: true, | ||
skipNodeModulesBundle: true, | ||
entryPoints: ['lib/index.ts'], | ||
target: 'es2020', | ||
outDir: 'dist', | ||
entry: ['lib/**/*.ts'], //include all files under lib | ||
tsconfig: 'tsconfig.release.json', | ||
} |
Oops, something went wrong.