chore: modernize package.json and add utility scripts#1023
Merged
JuanPabloDiaz merged 1 commit intotech-conferences:mainfrom Jul 9, 2025
Merged
Conversation
- Add description, license, and repository metadata - Remove deprecated dependencies: babel-core, babel-preset-env, tslint - Add new scripts: preview (serve built files), clean (cleanup build artifacts) - Update start script for better compatibility - Improve project metadata for better package management
nimzco
approved these changes
Jul 8, 2025
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Package.json Modernization & Utility Scripts
This PR modernizes the package.json by removing deprecated dependencies and adding useful utility scripts.
Breaking down #1021
This pull request introduces several updates to the
package.jsonfile, adds a newpreview.jsscript to enable previewing built files, and modifies thestart.jsscript to use updated WebpackDevServer methods for starting and stopping the development server. The changes improve functionality, remove deprecated dependencies, and enhance maintainability.Updates to
package.json:descriptionandlicensefields to provide metadata about the project.previewfor serving built files andcleanfor removing build artifacts and dependencies.babel-core,@types/react-datepicker, andtslint. Updated thetypescriptdependency to version5.5.4. [1] [2] [3]Addition of
preview.jsscript:scripts/preview.js) that uses Express to serve static files from the build directory and handles client-side routing. Includes graceful shutdown handling for the preview server.Modifications to
start.js:WebpackDevServerinstantiation to use thestart()andstop()methods instead of the deprecatedstartCallback()andclose()methods, ensuring compatibility with newer versions of WebpackDevServer. [1] [2]