Node-Red configuration
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. {
  2. "name": "luxon",
  3. "version": "3.5.0",
  4. "description": "Immutable date wrapper",
  5. "author": "Isaac Cambron",
  6. "keywords": [
  7. "date",
  8. "immutable"
  9. ],
  10. "repository": "https://github.com/moment/luxon",
  11. "exports": {
  12. ".": {
  13. "import": "./src/luxon.js",
  14. "require": "./build/node/luxon.js"
  15. },
  16. "./package.json": "./package.json"
  17. },
  18. "scripts": {
  19. "build": "babel-node tasks/buildAll.js",
  20. "build-node": "babel-node tasks/buildNode.js",
  21. "build-global": "babel-node tasks/buildGlobal.js",
  22. "jest": "jest",
  23. "test": "jest --coverage",
  24. "api-docs": "mkdir -p build && documentation build src/luxon.js -f html -o build/api-docs && sed -i.bak 's/<\\/body>/<script src=\"\\..\\/global\\/luxon.js\"><\\/script><script>console.log(\"You can try Luxon right here using the `luxon` global, like `luxon.DateTime.now()`\");<\\/script><\\/body>/g' build/api-docs/index.html && rm build/api-docs/index.html.bak",
  25. "copy-site": "mkdir -p build && rsync -a docs/ build/docs && rsync -a site/ build",
  26. "site": "npm run api-docs && npm run copy-site",
  27. "format": "prettier --write 'src/**/*.js' 'test/**/*.js' 'benchmarks/*.js'",
  28. "format-check": "prettier --check 'src/**/*.js' 'test/**/*.js' 'benchmarks/*.js'",
  29. "benchmark": "node benchmarks/index.js",
  30. "codecov": "codecov",
  31. "prepack": "babel-node tasks/buildAll.js",
  32. "prepare": "husky install",
  33. "show-site": "http-server build"
  34. },
  35. "lint-staged": {
  36. "*.{js,json}": [
  37. "prettier --write"
  38. ]
  39. },
  40. "devDependencies": {
  41. "@babel/core": "^7.18.6",
  42. "@babel/node": "^7.18.6",
  43. "@babel/plugin-external-helpers": "^7.18.6",
  44. "@babel/preset-env": "^7.18.6",
  45. "@rollup/plugin-babel": "^5.3.0",
  46. "@rollup/plugin-commonjs": "^19.0.0",
  47. "@rollup/plugin-node-resolve": "^13.0.0",
  48. "babel-jest": "^28.1.2",
  49. "benchmark": "latest",
  50. "codecov": "latest",
  51. "documentation": "latest",
  52. "fs-extra": "^6.0.1",
  53. "http-server": "^14.1.1",
  54. "husky": "^7.0.0",
  55. "jest": "^29.4.3",
  56. "lint-staged": "^13.2.1",
  57. "prettier": "latest",
  58. "rollup": "^2.52.7",
  59. "rollup-plugin-terser": "^7.0.2",
  60. "uglify-js": "^3.13.10"
  61. },
  62. "main": "build/node/luxon.js",
  63. "module": "src/luxon.js",
  64. "browser": "build/cjs-browser/luxon.js",
  65. "jsdelivr": "build/global/luxon.min.js",
  66. "unpkg": "build/global/luxon.min.js",
  67. "engines": {
  68. "node": ">=12"
  69. },
  70. "files": [
  71. "build/node/luxon.js",
  72. "build/node/luxon.js.map",
  73. "build/cjs-browser/luxon.js",
  74. "build/cjs-browser/luxon.js.map",
  75. "build/amd/luxon.js",
  76. "build/amd/luxon.js.map",
  77. "build/global/luxon.js",
  78. "build/global/luxon.js.map",
  79. "build/global/luxon.min.js",
  80. "build/global/luxon.min.js.map",
  81. "build/es6/luxon.js",
  82. "build/es6/luxon.js.map",
  83. "src"
  84. ],
  85. "license": "MIT",
  86. "sideEffects": false
  87. }