UNPKG

pelias-leaflet-plugin

Version:

Add Pelias geocoding to your Leaflet map.

93 lines (92 loc) 2.62 kB
{ "name": "pelias-leaflet-plugin", "version": "1.12.0", "description": "Add Pelias geocoding to your Leaflet map.", "main": "src/index.js", "directories": { "example": "examples" }, "scripts": { "build": "npm run build-js && npm run build-css", "build-js": "npm run bundle-js && npm run minify-js", "build-css": "npm run bundle-css && npm run minify-css", "bundle-js": "browserify -t browserify-shim -p browserify-derequire -o dist/leaflet-geocoder-mapzen.js src/index.js", "bundle-css": "cp src/*.css dist/", "minify-js": "uglifyjs dist/leaflet-geocoder-mapzen.js -o dist/leaflet-geocoder-mapzen.min.js", "minify-css": "cleancss -o dist/leaflet-geocoder-mapzen.min.css dist/leaflet-geocoder-mapzen.css", "prepublish": "npm run build", "pretest": "npm run bundle-js && npm run bundle-css", "travis": "npm run test", "test": "jake" }, "repository": { "type": "git", "url": "https://github.com/pelias/leaflet-plugin.git" }, "keywords": [ "leaflet", "plugin", "search", "geocoder", "pelias", "mapzen" ], "author": [ "Harish Krishna", "Lou Huang <lou@mapzen.com>" ], "license": "MIT", "bugs": { "url": "https://github.com/pelias/leaflet-plugin/issues" }, "homepage": "https://github.com/pelias/leaflet-plugin", "peerDependencies": { "leaflet": "^0.7.x || ^1.0.0 || >=1.0.0-beta.1 || >=1.0.0-rc.1" }, "dependencies": { "console-polyfill": "0.2.3", "@mapbox/corslite": "0.0.7" }, "devDependencies": { "browserify": "14.3.0", "browserify-derequire": "0.9.4", "browserify-shim": "3.8.14", "clean-css-cli": "4.0.12", "eslint": "3.19.0", "eslint-config-semistandard": "11.0.0", "eslint-config-standard": "10.2.1", "eslint-plugin-import": "2.2.0", "eslint-plugin-node": "4.2.2", "eslint-plugin-promise": "3.5.0", "eslint-plugin-standard": "3.0.1", "expect.js": "0.3.1", "happen": "0.3.1", "jake": "8.0.15", "karma": "1.6.0", "karma-chrome-launcher": "2.0.0", "karma-coverage": "1.1.1", "karma-coveralls": "1.1.2", "karma-firefox-launcher": "1.0.1", "karma-mocha": "1.3.0", "karma-phantomjs-launcher": "1.0.4", "karma-safari-launcher": "1.0.0", "karma-spec-reporter": "0.0.31", "mocha": "3.3.0", "phantomjs-prebuilt": "2.1.14", "sinon": "2.1.0", "uglify-js": "2.8.22" }, "semistandard": { "globals": [ "define", "XMLHttpRequest" ] }, "browserify-shim": { "leaflet": "global:L" }, "release": { "branch": "master", "success": [] } }