Node-Red configuration
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "name": "d3-time-format",
  3. "version": "4.1.0",
  4. "description": "A JavaScript time formatter and parser inspired by strftime and strptime.",
  5. "homepage": "https://d3js.org/d3-time-format/",
  6. "repository": {
  7. "type": "git",
  8. "url": "https://github.com/d3/d3-time-format.git"
  9. },
  10. "keywords": [
  11. "d3",
  12. "d3-module",
  13. "time",
  14. "format",
  15. "strftime",
  16. "strptime"
  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. "locale/*.json"
  28. ],
  29. "module": "src/index.js",
  30. "main": "src/index.js",
  31. "jsdelivr": "dist/d3-time-format.min.js",
  32. "unpkg": "dist/d3-time-format.min.js",
  33. "exports": {
  34. ".": {
  35. "umd": "./dist/d3-time-format.min.js",
  36. "default": "./src/index.js"
  37. },
  38. "./locale/*": "./locale/*.json"
  39. },
  40. "sideEffects": [
  41. "./src/defaultLocale.js"
  42. ],
  43. "dependencies": {
  44. "d3-time": "1 - 3"
  45. },
  46. "devDependencies": {
  47. "eslint": "8",
  48. "mocha": "9",
  49. "rollup": "2",
  50. "rollup-plugin-terser": "7"
  51. },
  52. "scripts": {
  53. "test": "TZ=America/Los_Angeles mocha 'test/**/*-test.js' && eslint src test",
  54. "prepublishOnly": "rm -rf dist && yarn test && rollup -c",
  55. "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 -"
  56. },
  57. "engines": {
  58. "node": ">=12"
  59. }
  60. }