np-nodev
v0.0.1
Published
npm publish without "devDependencies" in package.json
Downloads
2
Maintainers
Readme
np-nodev
npm publish without "devDependencies" in package.json
If you npm install
without --production
flag or NODE_ENV
not be set production
, the dependencies in devDependencies
will be installed. I think this is unnecessary by default. So if you publish your package without "devDependencies" in package.json, that's resolved.
Usage
npx np-nodev
with npm publish arguments(np-nodev
equivalent npm publish
):
npx np-nodev --dry-run
params.tmp
Specify the temporary directory for publishing.
Default: .tmp_pu
example:
np-nodev --tmp