Skip to content

fix: add prepublishOnly script to package.json#865

Open
Pcmhacker-piro wants to merge 1 commit into
SAPTARSHI-coder:mainfrom
Pcmhacker-piro:fix/add-npm-metadata-843
Open

fix: add prepublishOnly script to package.json#865
Pcmhacker-piro wants to merge 1 commit into
SAPTARSHI-coder:mainfrom
Pcmhacker-piro:fix/add-npm-metadata-843

Conversation

@Pcmhacker-piro
Copy link
Copy Markdown

  • Added prepublishOnly: npm run build to ensure the minified production bundle is always rebuilt before publish
  • package.json already exists with full npm metadata (name, version, description, license, files, repository, etc.)
    Closes [BUG] ### Missing package.json in Repository Root #843
    Pull Request Description
    Adds the missing prepublishOnly npm script so the minified production bundle is automatically regenerated before every npm publish.
    Type of Change
  • ✨ New animation / hover effect
  • 🧩 New component
  • 📝 Documentation improvement
  • 🐛 Bug fix in an existing submission
  • Other (describe below)
    Build tooling — adds prepublishOnly script to package.json.
    Submission Checklist
    N/A — this PR fixes core framework files, not a user submission.
    Notes for Maintainer
    The build script at scripts/build-minified-css.mjs handles import inlining and minification with zero dependencies (Node.js built-ins only). Run npm run build locally to regenerate easemotion.min.css.

- Added 'prepublishOnly': 'npm run build' to ensure the
  minified production bundle is always rebuilt before publish
- package.json already exists with full npm metadata (name,
  version, description, license, files, repository, etc.)

Closes SAPTARSHI-coder#843
@Pcmhacker-piro
Copy link
Copy Markdown
Author

heyy @SAPTARSHI-coder i fixed your assign issue so please check it

@SAPTARSHI-coder SAPTARSHI-coder added accepted Contribution approved for integration into EaseMotion CSS animation Animation effects, hover interactions, motion ideas, transitions component New UI components (buttons, cards, modals, tooltips, badges) enhancement New feature or request good first issue Good for newcomers GSSoC-26 Official GSSoC 2026 issue gssoc:approved Approved for GSSoC contributions integrated Successfully merged and included in the framework level:intermediate Requires moderate project understanding type:feature New functionality or enhancement labels Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accepted Contribution approved for integration into EaseMotion CSS animation Animation effects, hover interactions, motion ideas, transitions component New UI components (buttons, cards, modals, tooltips, badges) enhancement New feature or request good first issue Good for newcomers gssoc:approved Approved for GSSoC contributions GSSoC-26 Official GSSoC 2026 issue integrated Successfully merged and included in the framework level:intermediate Requires moderate project understanding type:feature New functionality or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] ### Missing package.json in Repository Root

2 participants