UNPKG

react-mapbox-gl

Version:
111 lines (110 loc) 3.06 kB
{ "name": "react-mapbox-gl", "version": "5.1.1", "description": "A React binding of mapbox-gl-js", "main": "lib/index.js", "module": "lib-esm/index.js", "typings": "lib/index.d.ts", "scripts": { "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", "prepare": "echo \"preparing\" && npm run build" }, "jest": { "transform": { ".(ts|tsx)": "ts-jest" }, "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$", "moduleFileExtensions": [ "ts", "tsx", "js" ], "setupFiles": [ "<rootDir>/src/jest/setupFile.ts" ], "setupFilesAfterEnv": [ "<rootDir>/src/jest/setupTestFrameworkScriptFile.ts" ], "browser": true, "verbose": true }, "files": [ "lib", "lib-esm", "src" ], "repository": { "type": "git", "url": "git+https://github.com/alex3165/react-mapbox-gl.git" }, "keywords": [ "mapbox", "react", "map", "webgl", "mapbox-gl", "react-component" ], "author": "Alexandre Rieux", "license": "MIT", "bugs": { "url": "https://github.com/alex3165/react-mapbox-gl/issues" }, "homepage": "https://github.com/alex3165/react-mapbox-gl#readme", "dependencies": { "@turf/bbox": "4.7.3", "@turf/helpers": "4.7.3", "@types/supercluster": "^5.0.1", "deep-equal": "1.0.1", "supercluster": "^7.0.0" }, "peerDependencies": { "mapbox-gl": "^1.12.0", "prop-types": "^15.6.2", "react": "^16.11.0", "react-dom": "^16.11.0" }, "devDependencies": { "@types/core-js": "0.9.43", "@types/deep-equal": "1.0.1", "@types/enzyme": "3.1.14", "@types/enzyme-adapter-react-16": "^1.0.3", "@types/geojson": "7946.0.4", "@types/jest": "24.0.19", "@types/mapbox-gl": "^1.12.8", "@types/node": "8.0.29", "@types/prettier": "1.10.0", "@types/prop-types": "15.5.6", "@types/react": "^16.9.11", "@types/react-dom": "^16.9.3", "@types/recompose": "0.27.0", "enzyme": "3.7.0", "enzyme-adapter-react-16": "1.6.0", "husky": "^0.14.3", "jest": "24.9.0", "mapbox-gl": "^1.12.0", "prettier": "1.10.2", "prop-types": "15.6.2", "react": "^16.11.0", "react-dom": "^16.11.0", "react-test-renderer": "16.5.2", "recompose": "0.26.0", "ts-jest": "24.1.0", "tslint": "5.7.0", "tslint-react": "3.2.0", "typescript": "3.1.6" } }