node package improvements (#15748)

* node package improvements

* npm run test-suite does not do anything anymore
This commit is contained in:
Dane Springmeyer
2019-10-08 16:27:04 -07:00
committed by GitHub
parent 563f9d0534
commit d0281e3ca4
5 changed files with 49 additions and 16 deletions

View File

@@ -20,8 +20,8 @@ create_source_groups(mbgl-loop-node)
add_node_module(mbgl-node
INSTALL_PATH "lib/{node_abi}/mbgl.node"
NAN_VERSION "2.10.0"
NAN_VERSION "2.14.0"
# Don't build for Node 4.x, 5.x, 7.x, 9.x, 11.x and 12.x
# See https://nodejs.org/en/download/releases/ for mapping of Node version to ABI number.
# Changes to this property should happen in tandem with updates to the version targets