Node-Red configuration
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

package.json 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "name": "d3-drag",
  3. "version": "3.0.0",
  4. "description": "Drag and drop SVG, HTML or Canvas using mouse or touch input.",
  5. "homepage": "https://d3js.org/d3-drag/",
  6. "repository": {
  7. "type": "git",
  8. "url": "https://github.com/d3/d3-drag.git"
  9. },
  10. "keywords": [
  11. "d3",
  12. "d3-module",
  13. "drag",
  14. "behavior",
  15. "interaction"
  16. ],
  17. "license": "ISC",
  18. "author": {
  19. "name": "Mike Bostock",
  20. "url": "https://bost.ocks.org/mike"
  21. },
  22. "type": "module",
  23. "files": [
  24. "dist/**/*.js",
  25. "src/**/*.js"
  26. ],
  27. "module": "src/index.js",
  28. "main": "src/index.js",
  29. "jsdelivr": "dist/d3-drag.min.js",
  30. "unpkg": "dist/d3-drag.min.js",
  31. "exports": {
  32. "umd": "./dist/d3-drag.min.js",
  33. "default": "./src/index.js"
  34. },
  35. "sideEffects": false,
  36. "dependencies": {
  37. "d3-dispatch": "1 - 3",
  38. "d3-selection": "3"
  39. },
  40. "devDependencies": {
  41. "eslint": "7",
  42. "mocha": "9",
  43. "rollup": "2",
  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 && git push",
  49. "postpublish": "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. }