go to  ForumEasy.com   
JavaPro
Home » Archive » Message


[Email To Friend][View in Live Context][prev topic « prev post | next post » next topic]
  Predefined scripts
 
Subject: Predefined scripts
Author: WebSpider
In response to: Installation
Posted on: 04/22/2021 10:07:57 PM

Predefined scripts:

...
npm init
nmp intsall
npm start
...

https://docs.npmjs.com/cli/v7/using-npm/scripts

 

> On 04/22/2021 10:04:49 PM WebSpider wrote:

C:\tmp\npm-scripts\hello>npm init -y  

Wrote to C:\tmp\npm-scripts\hello\package.json:

{
  "name": "hello",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": [],
  "author": "",
  "license": "ISC"
}






References:
  • Next Post: Custom scripts  WebSpider  04/22/2021 10:11:14 PM
  • Previous Post: Installation  WebSpider  04/22/2021 10:04:49 PM
  • Next Topic: Webpack  WebSpider  04/22/2021 10:35:58 PM
  • Previous Topic: JSweet  Alex_Raj  04/01/2021 01:00:04 AM
  • Index: by Date
  • Index: by Topic


 


 
Powered by ForumEasy © 2002-2022, All Rights Reserved. | Privacy Policy | Terms of Use
 
Get your own forum today. It's easy and free.