Skip to content

Commit

Permalink
update package.json file and some documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
rubaldoch committed Aug 18, 2021
1 parent 7b32d69 commit 058f5d8
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ To embed interactive maps into a native application using a platform-specific la

[Mapbox GL JS](https://github.com/mapbox/mapbox-gl-js) is the WebGL-based counterpart to Mapbox GL Native that is designed for use on the Web.

## [Developing](DEVELOPING.md)
## [Developing](./platform/node/DEVELOPING.md)

We use [CMake](https://cmake.org/cmake/help/latest/) to build Mapbox GL Native
for various platforms, including Linux, Android, iOS, macOS and Windows. The
Expand Down
17 changes: 13 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@
"main": "platform/node/index.js",
"repository": {
"type": "git",
"url": "https://github.com/amigocloud/mapbox-gl-native.git"
"url": "git+https://github.com/amigocloud/mapbox-gl-native.git"
},
"license": "BSD-2-Clause",
"dependencies": {
"@mapbox/cmake-node-module": "^1.2.0",
"@mapbox/mapbox-gl-styles": "^2.1.1",
"@mapbox/node-pre-gyp": "^1.0.5",
"minimatch": "^3.0.4",
"node-pre-gyp-github": "^1.4.3",
Expand All @@ -35,7 +36,6 @@
"jsonwebtoken": "^8.3.0",
"lodash": "^4.16.4",
"lodash.template": "4.5.0",
"mapbox-gl-styles": "2.0.2",
"pixelmatch": "^4.0.2",
"pngjs": "^3.4.0",
"pretty-bytes": "^5.1.0",
Expand Down Expand Up @@ -64,5 +64,14 @@
"host": "https://github.com/amigocloud/mapbox-gl-native/releases/download/",
"remote_path": "{version}",
"package_name": "{node_abi}-{platform}-{arch}-{configuration}.tar.gz"
}
}
},
"bugs": {
"url": "https://github.com/amigocloud/mapbox-gl-native/issues"
},
"homepage": "https://github.com/amigocloud/mapbox-gl-native#readme",
"directories": {
"lib": "lib",
"test": "test"
},
"author": ""
}
2 changes: 1 addition & 1 deletion platform/node/DEVELOPING.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ If you want to publish you own version of the node package to NPM, you must need
./node_modules/.bin/node-pre-gyp package

# Publish the release package to GitHub
set NODE_PRE_GYP_GITHUB_TOKEN=${GITHUB_TOKEN}
export NODE_PRE_GYP_GITHUB_TOKEN=${GITHUB_TOKEN}
./node_modules/.bin/node-pre-gyp-github publish

# Publish the Node package to NPM
Expand Down

0 comments on commit 058f5d8

Please sign in to comment.