26
rated 0 times
[
32]
[
6]
/ answers: 1 / hits: 5560
/ 3 Years ago, sat, march 20, 2021, 12:00:00
I want to make a script in package.json file where I can run a file which is not present in the same directory as the package.json file but it is present in parent folder of package.json file.
I want to do it like:
scripts: {
server: nodemon ../../ServerStarter.js,
}
Here I want to run the ServerStarter.js
file but I don't know how to put the file path in there. Please Help.
More From » node.js