set node engines for the CLI

This commit is contained in:
Brian Mann
2017-09-02 22:48:38 -04:00
parent 2151c18f84
commit baf20d48a5
2 changed files with 5 additions and 0 deletions

View File

@@ -13,6 +13,7 @@ const {
license,
bugs,
repository,
engines,
} = require('@packages/root')
const packageJsonSrc = path.join('package.json')
@@ -32,6 +33,7 @@ function preparePackageForNpmRelease (json) {
license,
bugs,
repository,
engines,
scripts: {
postinstall: 'node index.js --exec install',
size: 't=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";',