package.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. {
  2. "name": "leaflet-clipper",
  3. "version": "1.1.0",
  4. "description": "Allows Union, Difference, Xor, and Intersection operations on two polygons.",
  5. "keywords": [
  6. "leaflet",
  7. "polygon",
  8. "clipper",
  9. "union",
  10. "difference",
  11. "intersection"
  12. ],
  13. "homepage":"https://willfarrell.github.io/Leaflet.Clipper",
  14. "bugs": {
  15. "url": "https://github.com/willfarrell/Leaflet.Clipper/issues"
  16. },
  17. "license": "MIT",
  18. "author": "will Farrell <iam@willfarrell.ca>",
  19. "files":["dist","svg"],
  20. "main": "dist/L.Clipper.min.js",
  21. "repository": {
  22. "type": "git",
  23. "url": "git@github.com:willfarrell/Leaflet.Clipper.git"
  24. },
  25. "scripts": {
  26. "example-setup":"cp src/Leaflet.Clipper.js example/js/L.Clipper.js",
  27. "lint": "eslint ./src/",
  28. "build-setup":"rm -rf dist && mkdir -p dist",
  29. "build-js": "cp src/Leaflet.Clipper.js dist/L.Clipper.js",
  30. "compress": "uglifyjs ./dist/L.Clipper.js -o ./dist/L.Clipper.min.js -m --comments",
  31. "build": "npm run lint && npm run build-setup && npm run build-js && npm run compress && npm run example-setup",
  32. "release": "git push origin master && git checkout gh-pages && git merge master && git push origin gh-pages && git checkout master && npm publish"
  33. },
  34. "dependencies": {
  35. "clipper-lib": "^6.2.1"
  36. },
  37. "devDependencies": {
  38. "eslint": "^4.3.0",
  39. "leaflet": "^1.1.0",
  40. "uglify-js": "^3.0.25"
  41. }
  42. }