Node-Red configuration
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.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "name": "d3-path",
  3. "version": "3.1.0",
  4. "description": "Serialize Canvas path commands to SVG.",
  5. "homepage": "https://d3js.org/d3-path/",
  6. "repository": {
  7. "type": "git",
  8. "url": "https://github.com/d3/d3-path.git"
  9. },
  10. "keywords": [
  11. "d3",
  12. "d3-module",
  13. "canvas",
  14. "path",
  15. "svg",
  16. "graphics",
  17. "CanvasRenderingContext2D",
  18. "CanvasPathMethods",
  19. "Path2D"
  20. ],
  21. "license": "ISC",
  22. "author": {
  23. "name": "Mike Bostock",
  24. "url": "http://bost.ocks.org/mike"
  25. },
  26. "type": "module",
  27. "files": [
  28. "dist/**/*.js",
  29. "src/**/*.js"
  30. ],
  31. "module": "src/index.js",
  32. "main": "src/index.js",
  33. "jsdelivr": "dist/d3-path.min.js",
  34. "unpkg": "dist/d3-path.min.js",
  35. "exports": {
  36. "umd": "./dist/d3-path.min.js",
  37. "default": "./src/index.js"
  38. },
  39. "sideEffects": false,
  40. "devDependencies": {
  41. "eslint": "8",
  42. "mocha": "10",
  43. "rollup": "3",
  44. "rollup-plugin-terser": "7"
  45. },
  46. "scripts": {
  47. "test": "mocha 'test/**/*-test.js' && eslint src test",
  48. "prepublishOnly": "rm -rf dist && yarn test && rollup -c",
  49. "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 -"
  50. },
  51. "engines": {
  52. "node": ">=12"
  53. }
  54. }