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.

package.json 1.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. {
  2. "name": "d3-brush",
  3. "version": "3.0.0",
  4. "description": "Select a one- or two-dimensional region using the mouse or touch.",
  5. "homepage": "https://d3js.org/d3-brush/",
  6. "repository": {
  7. "type": "git",
  8. "url": "https://github.com/d3/d3-brush.git"
  9. },
  10. "keywords": [
  11. "d3",
  12. "d3-module",
  13. "brush",
  14. "interaction"
  15. ],
  16. "license": "ISC",
  17. "author": {
  18. "name": "Mike Bostock",
  19. "url": "https://bost.ocks.org/mike"
  20. },
  21. "type": "module",
  22. "files": [
  23. "dist/**/*.js",
  24. "src/**/*.js"
  25. ],
  26. "module": "src/index.js",
  27. "main": "src/index.js",
  28. "jsdelivr": "dist/d3-brush.min.js",
  29. "unpkg": "dist/d3-brush.min.js",
  30. "exports": {
  31. "umd": "./dist/d3-brush.min.js",
  32. "default": "./src/index.js"
  33. },
  34. "dependencies": {
  35. "d3-dispatch": "1 - 3",
  36. "d3-drag": "2 - 3",
  37. "d3-interpolate": "1 - 3",
  38. "d3-selection": "3",
  39. "d3-transition": "3"
  40. },
  41. "devDependencies": {
  42. "eslint": "7",
  43. "mocha": "9",
  44. "rollup": "2",
  45. "rollup-plugin-terser": "7"
  46. },
  47. "scripts": {
  48. "test": "mocha 'test/**/*-test.js' && eslint src test",
  49. "prepublishOnly": "rm -rf dist && yarn test && rollup -c && git push",
  50. "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 -"
  51. },
  52. "engines": {
  53. "node": ">=12"
  54. }
  55. }