Closed knownasilya closed 8 years ago
If you want denode to use the main
property of a package, you could just do denode ./
You are right about the title, it should be fixed, maybe by adding a virtual file system layer and then visiting the main file there instead of file://
, should be pretty easy
Might be nice to document denode .
.
I would be happy to accept a PR for this :)
It looks like this now, it scans ./package.json for a name and fallback to DeNode
Released in v1.2.0
Nice 👍
Would love to see
denode start
be a thing, kind of likenpm start
but it would just use themain
property in the package.json.This could also fix the issue where it's almost indistinguishable which app is being run, since all of the devtools windows say something like:
So the
name
property from the package.json and the file name frommain
property could be used together:my-project: index.js