You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

package.json 1.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {
  2. "name": "leaflet-side-by-side",
  3. "version": "1.0.2",
  4. "description": "Compare two Leaflet layers side by side",
  5. "main": "leaflet-side-by-side.js",
  6. "files": [
  7. "leaflet-side-by-side.js"
  8. ],
  9. "browserify": {
  10. "transform": [
  11. "css-img-datauri-stream",
  12. "cssify",
  13. "browserify-shim"
  14. ]
  15. },
  16. "browserify-shim": {
  17. "leaflet": "global:L"
  18. },
  19. "scripts": {
  20. "build": "browserify index.js > leaflet-side-by-side.js",
  21. "postbuild": "uglifyjs leaflet-side-by-side.js -cm -o leaflet-side-by-side.min.js",
  22. "preversion": "npm test && npm run build",
  23. "lint": "standard index.js",
  24. "start": "budo index.js:leaflet-side-by-side.js --live",
  25. "test": "npm run lint"
  26. },
  27. "keywords": [
  28. "leaflet"
  29. ],
  30. "author": "Gregor MacLennan / Digital Democracy",
  31. "license": "MIT",
  32. "devDependencies": {
  33. "browserify": "^12.0.1",
  34. "browserify-shim": "^3.8.11",
  35. "budo": "^7.0.0",
  36. "css-img-datauri-stream": "^0.1.5",
  37. "cssify": "^0.8.0",
  38. "standard": "^5.4.1",
  39. "uglify-js": "^2.6.1"
  40. },
  41. "dependencies": {
  42. "leaflet": "^0.7.7"
  43. },
  44. "repository": {
  45. "type": "git",
  46. "url": "git+https://github.com/digidem/leaflet-side-by-side.git"
  47. },
  48. "bugs": {
  49. "url": "https://github.com/digidem/leaflet-side-by-side/issues"
  50. },
  51. "homepage": "https://github.com/digidem/leaflet-side-by-side#readme"
  52. }