Node-Red configuration
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

package.json 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. {
  2. "name": "d3-format",
  3. "version": "3.1.0",
  4. "description": "Format numbers for human consumption.",
  5. "homepage": "https://d3js.org/d3-format/",
  6. "repository": {
  7. "type": "git",
  8. "url": "https://github.com/d3/d3-format.git"
  9. },
  10. "keywords": [
  11. "d3",
  12. "d3-module",
  13. "format",
  14. "localization"
  15. ],
  16. "license": "ISC",
  17. "author": {
  18. "name": "Mike Bostock",
  19. "url": "http://bost.ocks.org/mike"
  20. },
  21. "type": "module",
  22. "files": [
  23. "dist/**/*.js",
  24. "src/**/*.js",
  25. "locale/*.json"
  26. ],
  27. "module": "src/index.js",
  28. "main": "src/index.js",
  29. "jsdelivr": "dist/d3-format.min.js",
  30. "unpkg": "dist/d3-format.min.js",
  31. "exports": {
  32. ".": {
  33. "umd": "./dist/d3-format.min.js",
  34. "default": "./src/index.js"
  35. },
  36. "./locale/*": "./locale/*.json"
  37. },
  38. "sideEffects": [
  39. "./src/defaultLocale.js"
  40. ],
  41. "devDependencies": {
  42. "eslint": "8",
  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",
  50. "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 -"
  51. },
  52. "engines": {
  53. "node": ">=12"
  54. }
  55. }