Crypt node launch by one team
-
I'm sorry about the stupidest question, the problem, but I don't understand.
Now I'm launching the violin next.
node script.js
I want to start a team, put the name of the program out of any place like
script
And that's it.
How do you do that?
-
In package.json I added
"preferGlobal": true, "bin": { "script": "script.js" },
At the beginning of the script.js file
#!/usr/bin/env node
Further created a reference by
npm link
And after that, we can launch our violin script.
script