UNPKG

@luomus/leaflet.vector-markers

Version:

Vector SVG markers for Leaflet, with an option for Font Awesome/Twitter Bootstrap icons.

79 lines (78 loc) 2.62 kB
{ "name": "@luomus/leaflet.vector-markers", "version": "0.0.6", "description": "Vector SVG markers for Leaflet, with an option for Font Awesome/Twitter Bootstrap icons.", "main": "dist/leaflet-vector-markers.js", "repository": { "type": "git", "url": "git+https://github.com/luomus/Leaflet.vector-markers.git" }, "scripts": { "clean:lib": "rimraf lib", "compile:lib": "babel src --out-dir lib", "build:lib": "npm run clean:lib && npm run compile:lib", "build:dist": "webpack src/index.js dist/leaflet-vector-markers.js && webpack -p src/index.js dist/leaflet-vector-markers.min.js && webpack src/leaflet-vector-markers.scss dist/leaflet-vector-markers.css", "build:all": "npm run build:lib && npm run build:dist", "watch": "babel src --watch --out-dir lib", "start": "npm run lint && npm run test && npm run build", "test": "jest --coverage", "test:watch": "jest --watch", "onchange": "onchange 'src/*.js' 'src/**/*.js' -- npm run lintAndTest", "dev": "npm run watch & npm run onchange", "prepublish": "npm ls && npm start", "examples": "webpack-dev-server --config ./examples/webpack.config.js", "lint": "eslint ./src", "lintAndTest": "npm run lint && jest" }, "peerDependencies": { "leaflet": "> 0.7.0" }, "devDependencies": { "autoprefixer": "^6.3.7", "babel-cli": "^6.9.0", "babel-core": "^6.9.1", "babel-eslint": "^6.0.4", "babel-jest": "^12.1.0", "babel-loader": "^6.2.4", "babel-preset-es2015": "^6.9.0", "babel-preset-stage-0": "^6.5.0", "css-loader": "^0.23.1", "eslint": "^2.11.1", "extract-text-webpack-plugin": "^3.0.2", "jest-cli": "^12.1.1", "leaflet": "> 0.7.0", "node-sass": "^6.0.1", "onchange": "^2.4.0", "postcss-loader": "^0.9.1", "rimraf": "^5.0.5", "sass-loader": "^5.0.1", "style-loader": "^0.13.1", "webpack": "^3.12.0", "webpack-dev-server": "^1.14.1" }, "keywords": [ "Leaflet", "Markers", "Map", "SVG", "Vector", "Icon" ], "author": "Mathias Maisberger <mathias@hiasinho.com>", "license": "MIT", "bugs": { "url": "https://github.com/luomus/Leaflet.vector-markers/issues" }, "homepage": "https://github.com/luomus/Leaflet.vector-markers", "jest": { "scriptPreprocessor": "<rootDir>/node_modules/babel-jest", "unmockedModulePathPatterns": [ "<rootDir>/node_modules/fbjs", "<rootDir>/node_modules/jest-cli", "<rootDir>/node_modules/leaflet", "<rootDir>/src/index", "<rootDir>/src/Icon", "<rootDir>/src/VectorMarkers" ] } }