mirror of
https://github.com/visgl/react-map-gl.git
synced 2025-12-08 20:16:02 +00:00
100 lines
3.3 KiB
JSON
100 lines
3.3 KiB
JSON
{
|
|
"name": "react-map-gl",
|
|
"description": "A React wrapper for MapboxGL-js and overlay API.",
|
|
"version": "4.0.15",
|
|
"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/es5/index.js",
|
|
"module": "dist/esm/index.js",
|
|
"esnext": "dist/es6/index.js",
|
|
"browser": {
|
|
"./dist/es5/utils/mapboxgl.js": "./dist/es5/utils/mapboxgl.browser.js",
|
|
"./dist/esm/utils/mapboxgl.js": "./dist/esm/utils/mapboxgl.browser.js",
|
|
"./dist/es6/utils/mapboxgl.js": "./dist/es6/utils/mapboxgl.browser.js"
|
|
},
|
|
"files": [
|
|
"src",
|
|
"dist",
|
|
"README.md"
|
|
],
|
|
"scripts": {
|
|
"start": "(cd examples/main && npm i && npm run start-local)",
|
|
"build": "./scripts/build.sh && ./scripts/collect-metrics.sh",
|
|
"typecheck": "flow check",
|
|
"preversion": "npm run test",
|
|
"postversion": "git push && git push --tags",
|
|
"publish-prod": "npm run build && npm run test && npm publish",
|
|
"publish-beta": "npm run build && npm run test && npm publish --tag beta",
|
|
"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 && npm run typecheck && NODE_ENV=test node test/start.js test",
|
|
"test-dist": "NODE_ENV=test node test/start.js test-dist",
|
|
"test-browser": "webpack-dev-server --config test/webpack.config.js --env.test_in_browser --progress --hot --open",
|
|
"test-analyze-size": "./scripts/build.sh && NODE_ENV=production webpack --config test/webpack.config.js --env.import-nothing --env.es6"
|
|
},
|
|
"dependencies": {
|
|
"@babel/runtime": "^7.0.0",
|
|
"mapbox-gl": "~0.53.0",
|
|
"mjolnir.js": "^2.1.0",
|
|
"prop-types": "^15.5.7",
|
|
"react-virtualized-auto-sizer": "^1.0.2",
|
|
"viewport-mercator-project": "^6.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.0.0",
|
|
"@babel/core": "^7.0.0",
|
|
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
|
"@babel/plugin-transform-runtime": "^7.0.0",
|
|
"@babel/preset-env": "^7.0.0",
|
|
"@babel/preset-flow": "^7.0.0",
|
|
"@babel/register": "^7.0.0",
|
|
"babel-eslint": "^6.0.0",
|
|
"babel-loader": "^8.0.0",
|
|
"babel-plugin-istanbul": "^4.1.1",
|
|
"babel-plugin-version-inline": "^1.0.0",
|
|
"eslint": "^3.0.0",
|
|
"eslint-config-uber-es2015": "^3.0.0",
|
|
"eslint-config-uber-jsx": "^3.0.0",
|
|
"eslint-plugin-flowtype": "^3.2.0",
|
|
"eslint-plugin-react": "~6.7.0",
|
|
"flow-bin": "^0.80.0",
|
|
"html-webpack-plugin": "^3.1.0",
|
|
"immutable": "^3.8.2",
|
|
"jsdom": "~9.9.1",
|
|
"module-alias": "^2.0.0",
|
|
"pre-commit": "^1.2.2",
|
|
"probe.gl": "^1.0.0-alpha.11",
|
|
"puppeteer": "^1.2.0",
|
|
"react": "^16.3.0",
|
|
"react-dom": "^16.3.0",
|
|
"react-test-renderer": "^16.3.0",
|
|
"sinon": "4.1.3",
|
|
"source-map-loader": "^0.2.3",
|
|
"tap-browser-color": "^0.1.2",
|
|
"tape": "^4.5.1",
|
|
"tape-catch": "^1.0.4",
|
|
"webpack": "^4.3.0",
|
|
"webpack-bundle-analyzer": "^2.11.1",
|
|
"webpack-cli": "^2.0.13",
|
|
"webpack-dev-server": "^3.1.1",
|
|
"webworkify-webpack-dropin": "^1.1.9"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=16.3.0"
|
|
},
|
|
"engines": {
|
|
"node": ">= 4",
|
|
"npm": ">= 3"
|
|
}
|
|
}
|