您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

package.json 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. {
  2. "name": "leaflet-side-by-side",
  3. "version": "1.0.0",
  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. "prepublish": "npm test && npm run build",
  23. "preversion": "npm run prepublish",
  24. "lint": "standard index.js",
  25. "start": "budo index.js:leaflet-side-by-side.js --live",
  26. "test": "npm run lint"
  27. },
  28. "keywords": [
  29. "leaflet"
  30. ],
  31. "author": "Gregor MacLennan / Digital Democracy",
  32. "license": "MIT",
  33. "devDependencies": {
  34. "browserify": "^12.0.1",
  35. "browserify-shim": "^3.8.11",
  36. "budo": "^7.0.0",
  37. "css-img-datauri-stream": "^0.1.5",
  38. "cssify": "^0.8.0",
  39. "standard": "^5.4.1",
  40. "uglify-js": "^2.6.1"
  41. },
  42. "dependencies": {
  43. "leaflet": "^0.7.7"
  44. },
  45. "repository": {
  46. "type": "git",
  47. "url": "git+https://github.com/digidem/leaflet-side-by-side.git"
  48. },
  49. "bugs": {
  50. "url": "https://github.com/digidem/leaflet-side-by-side/issues"
  51. },
  52. "homepage": "https://github.com/digidem/leaflet-side-by-side#readme"
  53. }