-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #691 from thebuilder/feat/remove-dist-copy
feat: remove script to publish dist dir
- Loading branch information
Showing
5 changed files
with
17 additions
and
93 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 |
---|---|---|
|
@@ -3,10 +3,10 @@ | |
"version": "8.26.1", | ||
"description": "Monitor if a component is inside the viewport, using IntersectionObserver API", | ||
"type": "commonjs", | ||
"source": "./src/index.tsx", | ||
"main": "./dist/index.js", | ||
"module": "./dist/esm/index.js", | ||
"types": "./dist/index.d.ts", | ||
"source": "src/index.tsx", | ||
"main": "dist/index.js", | ||
"module": "dist/esm/index.js", | ||
"types": "dist/index.d.ts", | ||
"exports": { | ||
"./test-utils": { | ||
"types": "./dist/test-utils.d.mts", | ||
|
@@ -19,30 +19,26 @@ | |
"default": "./dist/index.mjs" | ||
} | ||
}, | ||
"files": ["dist"], | ||
"author": "Daniel Schmidt", | ||
"license": "MIT", | ||
"sideEffects": false, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/thebuilder/react-intersection-observer.git" | ||
}, | ||
"engines": { | ||
"pnpm": ">=9" | ||
}, | ||
"packageManager": "[email protected]+sha256.dbdf5961c32909fb030595a9daa1dae720162e658609a8f92f2fa99835510ca5", | ||
"scripts": { | ||
"prebuild": "rm -rf dist lib", | ||
"build": "run-s build:*", | ||
"build:bundle": "tsup src/index.tsx", | ||
"build:legacy": "tsup src/index.tsx --format esm --legacy-output --no-clean --no-dts", | ||
"build:utils": "tsup src/test-utils.ts --no-clean --no-sourcemap", | ||
"build:copy": "node scripts/build-copy.cjs", | ||
"postbuild": "size-limit", | ||
"dev": "run-p dev:*", | ||
"dev:package": "tsup src/index.tsx --watch", | ||
"dev:storybook": "pnpm --filter storybook dev", | ||
"lint": "biome check .", | ||
"release": "np --contents dist", | ||
"version": "pnpm build", | ||
"storybook:build": "pnpm build:bundle && pnpm --filter storybook build", | ||
"test": "vitest" | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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