mirror of
https://github.com/visgl/react-map-gl.git
synced 2025-12-08 20:16:02 +00:00
* Add map prop/option `transformRequest`. * Upgrade sinon package to webpack-compatible version. * Fix test for map onLoad prop. * Add test for new Map prop `transformRequest`. * Document and cleanup new `tranformRequest` prop on Map component.
82 lines
2.5 KiB
JSON
82 lines
2.5 KiB
JSON
{
|
|
"name": "react-map-gl",
|
|
"description": "A React wrapper for MapboxGL-js and overlay API.",
|
|
"version": "3.1.1",
|
|
"keywords": [
|
|
"mapbox",
|
|
"mapbox-gl",
|
|
"react",
|
|
"react-mapbox-gl",
|
|
"react mapbox"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/uber/react-map-gl.git"
|
|
},
|
|
"license": "MIT",
|
|
"main": "dist/index.js",
|
|
"module": "dist-es6/index.js",
|
|
"files": [
|
|
"src",
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"start": "(cd examples/main && (path-exists node_modules || npm i) && npm run start-local)",
|
|
"build": "npm run clean && npm run build-es5 && npm run build-es6",
|
|
"build-es5": "mkdir -p dist && babel src --out-dir dist --plugins=transform-es2015-modules-commonjs,transform-runtime --source-maps inline",
|
|
"build-es6": "mkdir -p dist-es6 && babel src --out-dir dist-es6 --source-maps inline",
|
|
"clean": "rm -fr dist/* dist-es6/*",
|
|
"lint": "eslint src test && npm run lint-yarn",
|
|
"lint-yarn": "!(grep -q unpm.u yarn.lock) || (echo 'Please rebuild yarn file using public npmrc' && false)",
|
|
"test": "npm run lint && node test/node.js",
|
|
"test-browser": "webpack-dev-server --env.browser --progress --hot --open",
|
|
"publish-prod": "npm run build && npm run test && npm publish",
|
|
"publish-beta": "npm run build && npm run test && npm publish --tag beta"
|
|
},
|
|
"dependencies": {
|
|
"babel-runtime": "^6.23.0",
|
|
"bowser": "^1.2.0",
|
|
"immutable": "*",
|
|
"mapbox-gl": "0.42.2",
|
|
"math.gl": ">= 1.0.0-alpha.8",
|
|
"mjolnir.js": ">=1.0.0-alpha.1",
|
|
"prop-types": "^15.5.7",
|
|
"viewport-mercator-project": "^5.0.0-alpha.1"
|
|
},
|
|
"devDependencies": {
|
|
"babel-cli": "^6.22.2",
|
|
"babel-core": "^6.22.1",
|
|
"babel-eslint": "^6.0.0",
|
|
"babel-plugin-transform-es2015-modules-commonjs": "^6.24.0",
|
|
"babel-plugin-transform-runtime": "^6.23.0",
|
|
"babel-preset-es2015": "^6.18",
|
|
"eslint": "^3.0.0",
|
|
"eslint-config-uber-es2015": "^3.0.0",
|
|
"eslint-config-uber-jsx": "^3.0.0",
|
|
"eslint-plugin-react": "~6.7.0",
|
|
"gl": "^4.0.3",
|
|
"jsdom": "~9.9.1",
|
|
"module-alias": "^2.0.0",
|
|
"path-exists": "^3.0.0",
|
|
"pre-commit": "^1.2.2",
|
|
"react": "^16.0.0",
|
|
"react-dom": "^16.0.0",
|
|
"react-test-renderer": "^16.0.0",
|
|
"reify": "^0.4.4",
|
|
"sinon": "4.1.3",
|
|
"tap-browser-color": "^0.1.2",
|
|
"tape": "^4.5.1",
|
|
"tape-catch": "^1.0.4",
|
|
"webpack": "^2.4.0",
|
|
"webpack-dev-server": "^2.4.0",
|
|
"webworkify-webpack-dropin": "^1.1.9"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=15.4.x"
|
|
},
|
|
"engines": {
|
|
"node": ">= 4",
|
|
"npm": ">= 3"
|
|
}
|
|
}
|