npm-start-command
creates a file you can double click to launch npm start
Usage
Assumptions:
- You are a (or work with a) designer who want to launch a server to develop cool webapps.
- You have Node.js installed.
- Your working folder contains a package.json. If there is no package.json yet, you can create it with
npm init -y
. - Your package.json contains a
start
script
Install command with
npm install npm-start-command --save-dev
This will create two files:
- _MacOS.npm-start.command
- _Windows.npm-start.bat
MacOS
Click on file _MacOS.npm-start.command , your development server will be launched.
Windows
Click on file _Windows.npm-start.bat , your development server will be launched.
License
OS icons provided by icons8.