Node-Red configuration
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

package.json 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. "name": "d3-polygon",
  3. "version": "3.0.1",
  4. "description": "Operations for two-dimensional polygons.",
  5. "homepage": "https://d3js.org/d3-polygon/",
  6. "repository": {
  7. "type": "git",
  8. "url": "https://github.com/d3/d3-polygon.git"
  9. },
  10. "keywords": [
  11. "d3",
  12. "d3-module",
  13. "polygon",
  14. "hull",
  15. "geometry",
  16. "graphics"
  17. ],
  18. "license": "ISC",
  19. "author": {
  20. "name": "Mike Bostock",
  21. "url": "http://bost.ocks.org/mike"
  22. },
  23. "type": "module",
  24. "files": [
  25. "dist/**/*.js",
  26. "src/**/*.js"
  27. ],
  28. "module": "src/index.js",
  29. "main": "src/index.js",
  30. "jsdelivr": "dist/d3-polygon.min.js",
  31. "unpkg": "dist/d3-polygon.min.js",
  32. "exports": {
  33. "umd": "./dist/d3-polygon.min.js",
  34. "default": "./src/index.js"
  35. },
  36. "sideEffects": false,
  37. "devDependencies": {
  38. "eslint": "7",
  39. "mocha": "8",
  40. "rollup": "2",
  41. "rollup-plugin-terser": "7"
  42. },
  43. "scripts": {
  44. "test": "mocha 'test/**/*-test.js' && eslint src test",
  45. "prepublishOnly": "rm -rf dist && yarn test && rollup -c",
  46. "postpublish": "git push && git push --tags && cd ../d3.github.com && git pull && cp ../${npm_package_name}/dist/${npm_package_name}.js ${npm_package_name}.v${npm_package_version%%.*}.js && cp ../${npm_package_name}/dist/${npm_package_name}.min.js ${npm_package_name}.v${npm_package_version%%.*}.min.js && git add ${npm_package_name}.v${npm_package_version%%.*}.js ${npm_package_name}.v${npm_package_version%%.*}.min.js && git commit -m \"${npm_package_name} ${npm_package_version}\" && git push && cd -"
  47. },
  48. "engines": {
  49. "node": ">=12"
  50. }
  51. }