Closed pinheadmz closed 3 years ago
I wonder if we can get around having to do that long node
command by adding a bin
similar to the way bcoin works for example (or even w/ webpack, you can see it has a much simpler command to run from command line ./node_modules/.bin/webpack
You mean the command to start bpanel?
Yep, instead of node --max_old_space_size=4096 node_modules/@bpanel/bpanel/server/index.js --dev --watch-poll
. if we have a ./bin/bpanel
it could consolidate all of that.
and if running from an npm script, if we had the bin
, you could just do something like:
"bpanel": "bpanel [...args for bpanel]"
in your package.json scripts
object, or even run from command line if installed globally.
This is the branch I'm using to test the easy-installer script.
Closes #173
node_modules
is installed in different places by git vs npmnode_modules
dir as bpanel's dependenciesnode_modules
problems - caching inwebpack.config.js
or testing inkarma.conf.js
?devDependencies
To test:
GIT
NPM
option 1:
option 2 (ensure no weird relative paths from
cwd
):