{ "name": "@mapbox/mapbox-gl-draw", "version": "1.4.3", "description": "A drawing component for Mapbox GL JS", "homepage": "https://github.com/mapbox/mapbox-gl-draw", "author": "mapbox", "license": "ISC", "main": "dist/mapbox-gl-draw.js", "browser": "dist/mapbox-gl-draw.js", "style": "dist/mapbox-gl-draw.css", "scripts": { "docs": "run-s docs-modes-life-cycle docs-modes-get-and-set", "docs-modes-get-and-set": "documentation readme --readme-file ./docs/MODES.md -s \"Setters and Getters\" src/modes/mode_interface_accessors.js --shallow", "docs-modes-life-cycle": "documentation readme --readme-file ./docs/MODES.md -s \"Life Cycle Functions\" src/modes/mode_interface.js --shallow", "test": "NODE_ENV=test npm run lint && npm run tape", "lint": "eslint index.js src test bench", "tape": "tape -r @babel/register -r ./test/mock-browser.js test/*.test.js", "coverage": "NODE_ENV=test nyc --reporter html npm run tape && opener coverage/index.html", "build-token": "node build/generate-access-token-script.js", "build": "rollup -c", "build-min": "rollup -c --environment MINIFY:true", "prepublishOnly": "run-s build build-min", "watch": "rollup -c --watch", "watch-bench": "rollup -c bench/rollup.config.js --watch", "start-server": "st --no-cache -H 0.0.0.0 --port 9967 --index index.html .", "start": "run-p build-token watch watch-bench start-server" }, "files": [ "dist/mapbox-gl-draw*" ], "repository": { "type": "git", "url": "git://github.com/mapbox/mapbox-gl-draw.git" }, "keywords": [ "webgl", "mapbox", "draw", "drawing" ], "bugs": { "url": "https://github.com/mapbox/mapbox-gl-draw/issues" }, "nyc": { "sourceMap": false, "instrument": false }, "devDependencies": { "@babel/core": "^7.22.20", "@babel/eslint-parser": "^7.22.15", "@babel/preset-env": "^7.22.20", "@babel/register": "^7.22.15", "@mapbox/cloudfriend": "^6.0.0", "@mapbox/mapbox-gl-draw-static-mode": "^1.0.1", "@rollup/plugin-buble": "^1.0.2", "@rollup/plugin-commonjs": "^24.1.0", "@rollup/plugin-json": "^6.0.0", "@rollup/plugin-node-resolve": "^15.2.1", "@rollup/plugin-replace": "^5.0.2", "@turf/bbox-clip": "^6.5.0", "@turf/centroid": "^6.5.0", "babel-plugin-istanbul": "^6.1.1", "eslint": "8.49.0", "eslint-config-mourner": "3.0.0", "eslint-plugin-import": "^2.28.1", "mock-browser": "^0.92.14", "npm-run-all": "^4.1.5", "nyc": "15.1.0", "opener": "^1.5.2", "rollup": "^2.79.0", "rollup-plugin-terser": "^7.0.2", "sinon": "^15.0.3", "st": "^3.0.0", "synthetic-dom-events": "0.3.0", "tape": "5.6.6" }, "dependencies": { "@mapbox/geojson-area": "^0.2.2", "@mapbox/geojson-extent": "^1.0.1", "@mapbox/geojson-normalize": "^0.0.1", "@mapbox/point-geometry": "^0.1.0", "hat": "0.0.3", "lodash.isequal": "^4.5.0", "xtend": "^4.0.2" } }