Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to get debugging/verbose information while running package.json scripts?

I have the following scripts in my package.json file

  "scripts": {
    "start": "watchify -o js/bundle.js -v -d .",
    "build": "browserify . | uglifyjs -cm > js/bundle.min.js"
  },

when i run npm build, the command executes and moves to a fresh new line in the terminal and the script has'nt been built.

To figure out the problem, how can i get more verbose/debugging info from running this command?

like image 613
wolfgang Avatar asked Oct 19 '22 09:10

wolfgang


1 Answers

Have you tried the following command?

npm build --verbose

like image 59
Pierre Espenan Avatar answered Oct 22 '22 03:10

Pierre Espenan