F
F
frontmaker2016-11-14 17:17:27
JavaScript
frontmaker, 2016-11-14 17:17:27

How to correctly specify the path in package.json?

Good afternoon!
I noticed that many people specify the absolute path in package.json.
For example:

"scripts": {
    "start": "./node_modules/.bin/webpack-dashboard"
}

Instead of a simple
"scripts": {
    "start": "webpack-dashboard"
}

For what? Is it something to do with the file system?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question