Skip to content

Commit

Permalink
Update package.json and tsup.config.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
divyam234 committed Apr 4, 2024
1 parent 1bc9038 commit f013e61
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "feaxios",
"version": "0.0.14",
"version": "0.0.17",
"description": "Tiny Fetch wrapper that provides a similar API to Axios",
"main": "dist/index.js",
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"types": "./dist/index.d.ts",
"default": "./dist/index.mjs"
},
"require": {
Expand All @@ -16,7 +16,7 @@
},
"./retry": {
"import": {
"types": "./dist/retry.d.mts",
"types": "./dist/retry.d.ts",
"default": "./dist/retry.mjs"
},
"require": {
Expand All @@ -28,15 +28,15 @@
"typesVersions": {
"*": {
"retry": [
"./dist/retry.d.mts"
"./dist/retry.d.ts"
]
}
},
"scripts": {
"build": "tsup",
"typecheck": "tsc --noEmit",
"test": "vitest",
"publish": "pnpm publish --access public",
"publish": "pnpm publish --access public --no-git-checks",
"test-ui": "vitest --ui",
"format": "prettier --write './**/*.{ts,md}'",
"format:check": "prettier --check './**/*.{ts,md}'"
Expand Down
2 changes: 1 addition & 1 deletion tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { defineConfig } from 'tsup'
export default defineConfig({
entry: ['src/index.ts', 'src/retry.ts'],
format: ['esm', 'cjs'],
dts: true,
dts: true,
clean: true,
treeshake: true,
target: 'es2022',
Expand Down

0 comments on commit f013e61

Please sign in to comment.