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 4.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. {
  2. "name": "chart.js",
  3. "homepage": "https://www.chartjs.org",
  4. "description": "Simple HTML5 charts using the canvas element.",
  5. "version": "4.4.4",
  6. "license": "MIT",
  7. "type": "module",
  8. "sideEffects": [
  9. "./auto/auto.js",
  10. "./auto/auto.cjs",
  11. "./dist/chart.umd.js"
  12. ],
  13. "jsdelivr": "./dist/chart.umd.js",
  14. "unpkg": "./dist/chart.umd.js",
  15. "main": "./dist/chart.cjs",
  16. "module": "./dist/chart.js",
  17. "exports": {
  18. ".": {
  19. "types": "./dist/types.d.ts",
  20. "import": "./dist/chart.js",
  21. "require": "./dist/chart.cjs"
  22. },
  23. "./auto": {
  24. "types": "./auto/auto.d.ts",
  25. "import": "./auto/auto.js",
  26. "require": "./auto/auto.cjs"
  27. },
  28. "./helpers": {
  29. "types": "./helpers/helpers.d.ts",
  30. "import": "./helpers/helpers.js",
  31. "require": "./helpers/helpers.cjs"
  32. }
  33. },
  34. "types": "./dist/types.d.ts",
  35. "keywords": [
  36. "canvas",
  37. "charts",
  38. "data",
  39. "graphs",
  40. "html5",
  41. "responsive"
  42. ],
  43. "repository": {
  44. "type": "git",
  45. "url": "https://github.com/chartjs/Chart.js.git"
  46. },
  47. "bugs": {
  48. "url": "https://github.com/chartjs/Chart.js/issues"
  49. },
  50. "files": [
  51. "auto/**",
  52. "dist/**",
  53. "!dist/docs/**",
  54. "helpers/**"
  55. ],
  56. "scripts": {
  57. "autobuild": "rollup -c -w",
  58. "copyDeclarations": "node -e \"fs.cpSync('./src/types/', './dist/types/', {recursive:true})\"",
  59. "emitDeclarations": "tsc --emitDeclarationOnly && pnpm copyDeclarations",
  60. "build": "rollup -c && pnpm emitDeclarations",
  61. "dev": "karma start ./karma.conf.cjs --auto-watch --no-single-run --browsers chrome --grep",
  62. "dev:ff": "karma start ./karma.conf.cjs --auto-watch --no-single-run --browsers firefox --grep",
  63. "docs": "pnpm run build && pnpm --filter \"./docs/**\" build",
  64. "docs:dev": "pnpm run build && pnpm --filter \"./docs/**\" dev",
  65. "lint-js": "eslint \"src/**/*.{js,ts}\" \"test/**/*.js\" \"docs/**/*.js\" --cache",
  66. "lint-md": "eslint \"**/*.md\" --cache",
  67. "lint-types": "pnpm build && node test/types/autogen.js && tsc -p test/types",
  68. "lint": "concurrently \"pnpm:lint-*\"",
  69. "test": "pnpm lint && pnpm test-ci",
  70. "test-ci": "concurrently \"pnpm:test-ci-*\"",
  71. "test-ci-karma": "cross-env NODE_ENV=test karma start ./karma.conf.cjs --auto-watch --single-run --coverage --grep",
  72. "test-ci-integration": "pnpm --filter \"./test/integration/**\" test"
  73. },
  74. "dependencies": {
  75. "@kurkle/color": "^0.3.0"
  76. },
  77. "devDependencies": {
  78. "@rollup/plugin-commonjs": "^23.0.2",
  79. "@rollup/plugin-inject": "^5.0.2",
  80. "@rollup/plugin-json": "^5.0.1",
  81. "@rollup/plugin-node-resolve": "^15.0.1",
  82. "@swc/core": "^1.3.18",
  83. "@types/estree": "^1.0.0",
  84. "@types/offscreencanvas": "^2019.7.0",
  85. "@typescript-eslint/eslint-plugin": "^5.32.0",
  86. "@typescript-eslint/parser": "^5.32.0",
  87. "chartjs-adapter-luxon": "^1.2.0",
  88. "chartjs-adapter-moment": "^1.0.0",
  89. "chartjs-test-utils": "^0.4.0",
  90. "concurrently": "^7.3.0",
  91. "coveralls": "^3.1.1",
  92. "cross-env": "^7.0.3",
  93. "eslint": "^8.21.0",
  94. "eslint-config-chartjs": "^0.3.0",
  95. "eslint-plugin-es": "^4.1.0",
  96. "eslint-plugin-html": "^7.1.0",
  97. "eslint-plugin-markdown": "^3.0.0",
  98. "esm": "^3.2.25",
  99. "glob": "^8.0.3",
  100. "jasmine": "^3.7.0",
  101. "jasmine-core": "^3.7.1",
  102. "karma": "^6.3.2",
  103. "karma-chrome-launcher": "^3.1.0",
  104. "karma-coverage": "^2.0.3",
  105. "karma-edge-launcher": "^0.4.2",
  106. "karma-firefox-launcher": "^2.1.0",
  107. "karma-jasmine": "^4.0.1",
  108. "karma-jasmine-html-reporter": "^1.5.4",
  109. "karma-rollup-preprocessor": "7.0.7",
  110. "karma-safari-private-launcher": "^1.0.0",
  111. "karma-spec-reporter": "0.0.32",
  112. "luxon": "^3.0.1",
  113. "moment": "^2.29.4",
  114. "moment-timezone": "^0.5.34",
  115. "pixelmatch": "^5.3.0",
  116. "rollup": "^3.3.0",
  117. "rollup-plugin-cleanup": "^3.2.1",
  118. "rollup-plugin-istanbul": "^4.0.0",
  119. "rollup-plugin-swc3": "^0.7.0",
  120. "rollup-plugin-terser": "^7.0.2",
  121. "typescript": "^4.7.4",
  122. "yargs": "^17.5.1"
  123. },
  124. "engines": {
  125. "pnpm": ">=8"
  126. },
  127. "packageManager": "pnpm@8.13.0",
  128. "pnpm": {
  129. "overrides": {
  130. "html-entities": "1.4.0"
  131. },
  132. "peerDependencyRules": {
  133. "ignoreMissing": [
  134. "chart.js"
  135. ]
  136. }
  137. }
  138. }