react-mapbox-gl

v4.6.2
A React binding of mapbox-gl-js
mapbox react map webgl mapbox-gl react-component

clean

rm -rf dist

test

jest

test:watch

jest --watch

lint

tslint --project tsconfig.json

build

npm run lint && npm run test && npm run build:commonjs && npm run build:esm

build:commonjs

tsc -p tsconfig.json

build:esm

tsc -p tsconfig-esm.json

build:watch

tsc --watch

prepublishOnly

npm run clean && npm run build

version

npm run build

postversion

git push && git push --tags

prettify

prettier --write src/*.ts src/*.tsx src/**/*.ts src/**/*.tsx example/src/**/*.ts example/src/**/*.tsx

precommit

npm run prettify && cd example && node generateRaws.js

prepush

npm run build

Metadata

  • MIT
  • Whatever
  • Alexandre Rieux
  • released 10/19/2019

Downloads