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.

73 lines
1.5KB

  1. {
  2. "name": "leaflet",
  3. "version": "1.0.3",
  4. "description": "JavaScript library for mobile-friendly interactive maps",
  5. "devDependencies": {
  6. "eslint": "^3.5.0 <3.6.0",
  7. "eslint-config-mourner": "^2.0.1",
  8. "git-rev": "^0.2.1",
  9. "happen": "~0.3.1",
  10. "jake": "~8.0.12",
  11. "karma": "^1.3.0",
  12. "karma-chrome-launcher": "^2.0.0",
  13. "karma-coverage": "~1.1.1",
  14. "karma-firefox-launcher": "~1.0.0",
  15. "karma-mocha": "^1.2.0",
  16. "karma-phantomjs-launcher": "^1.0.2",
  17. "karma-safari-launcher": "~1.0.0",
  18. "leafdoc": "^1.4.1",
  19. "mocha": "^3.1.0",
  20. "phantomjs-prebuilt": "^2.1.12",
  21. "prosthetic-hand": "^1.3.1",
  22. "source-map": "^0.5.6",
  23. "uglify-js": "~2.7.3"
  24. },
  25. "main": "dist/leaflet-src.js",
  26. "style": "dist/leaflet.css",
  27. "scripts": {
  28. "test": "jake test",
  29. "build": "jake build",
  30. "release": "./build/publish.sh"
  31. },
  32. "eslintConfig": {
  33. "root": true,
  34. "globals": {
  35. "L": true
  36. },
  37. "env": {
  38. "commonjs": true,
  39. "amd": true,
  40. "node": false
  41. },
  42. "extends": "mourner",
  43. "rules": {
  44. "no-mixed-spaces-and-tabs": [
  45. 2,
  46. "smart-tabs"
  47. ],
  48. "indent": [
  49. 2,
  50. "tab",
  51. {
  52. "VariableDeclarator": 0
  53. }
  54. ],
  55. "curly": 2,
  56. "spaced-comment": 2,
  57. "strict": 0,
  58. "wrap-iife": 0,
  59. "key-spacing": 0,
  60. "consistent-return": 0
  61. }
  62. },
  63. "repository": {
  64. "type": "git",
  65. "url": "git://github.com/Leaflet/Leaflet.git"
  66. },
  67. "keywords": [
  68. "gis",
  69. "map"
  70. ],
  71. "license": "BSD-2-Clause"
  72. }