Skip to content

priteymehta/postinstall-script-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Postinstall Script Demo using React JS Application

This project demonstrated a post-installation script example.

Available Scripts

In the project directory, you can run:

npm install

It will look for the config file and its required parameters and file; if the file does not exist, it will ask for all details; otherwise, it will only ask for non-existing parameters.

Script file path is defined on the package.json file with "postinstall" script command.

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

About

A sample demo of postinstall script.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published