mirror of
https://github.com/cypress-io/cypress.git
synced 2026-02-22 06:59:30 -06:00
set node engines for the CLI
This commit is contained in:
@@ -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}\";',
|
||||
|
||||
Reference in New Issue
Block a user