package.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. {
  2. "name": "jupyterlab-plotly",
  3. "version": "5.5.0",
  4. "description": "The plotly Jupyter extension",
  5. "author": "The plotly.py team",
  6. "license": "MIT",
  7. "main": "lib/index.js",
  8. "repository": {
  9. "type": "git",
  10. "url": "https://github.com/plotly/plotly.py"
  11. },
  12. "keywords": [
  13. "jupyter",
  14. "widgets",
  15. "ipython",
  16. "ipywidgets",
  17. "plotly"
  18. ],
  19. "files": [
  20. "lib/**/*.js",
  21. "dist/*.js",
  22. "style/*.*"
  23. ],
  24. "scripts": {
  25. "build:dev": "npm run build:lib && npm run build:nbextension && npm run build:labextension:dev",
  26. "build:prod": "npm run build:lib && npm run build:nbextension && npm run build:labextension",
  27. "build:labextension": "jupyter labextension build .",
  28. "build:labextension:dev": "jupyter labextension build --development True .",
  29. "build:lib": "tsc",
  30. "build:nbextension": "webpack --mode=production",
  31. "clean": "npm run clean:lib && npm run clean:nbextension && npm run clean:labextension",
  32. "clean:lib": "rimraf lib",
  33. "clean:labextension": "rimraf ../../python/plotly/jupyterlab_plotly/labextension",
  34. "clean:nbextension": "rimraf ../../python/plotly/jupyterlab_plotly/nbextension/index.js*",
  35. "lint": "eslint . --ext .ts,.tsx --fix",
  36. "lint:check": "eslint . --ext .ts,.tsx",
  37. "prepack": "npm run build:lib",
  38. "test": "echo \"Error: no test specified\" && exit 1",
  39. "watch": "npm-run-all -p watch:*",
  40. "watch:lib": "tsc -w",
  41. "watch:nbextension": "webpack --watch"
  42. },
  43. "devDependencies": {
  44. "@jupyterlab/builder": "^3.0.0",
  45. "@lumino/application": "^1.6.0",
  46. "@types/plotly.js": "^1.54.10",
  47. "@types/webpack-env": "^1.13.6",
  48. "acorn": "^7.2.0",
  49. "css-loader": "^5.2.6",
  50. "fs-extra": "^7.0.0",
  51. "mkdirp": "^0.5.1",
  52. "npm-run-all": "^4.1.3",
  53. "prettier": "^2.0.5",
  54. "rimraf": "^2.6.2",
  55. "source-map-loader": "^1.1.3",
  56. "style-loader": "^1.0.0",
  57. "ts-loader": "^8.0.0",
  58. "typescript": "~4.1.3",
  59. "webpack": "^5.0.0",
  60. "webpack-cli": "^4.0.0"
  61. },
  62. "dependencies": {
  63. "@jupyter-widgets/base": "^2.0.0 || ^3.0.0 || ^4.0.0",
  64. "@jupyterlab/rendermime-interfaces": "^1.3.0 || ^2.0.0 || ^3.0.0",
  65. "@lumino/messaging": "^1.2.3",
  66. "@lumino/widgets": "^1.8.1",
  67. "lodash": "^4.17.4",
  68. "plotly.js": "^2.8.3"
  69. },
  70. "jupyterlab": {
  71. "extension": "lib/jupyterlab-plugin",
  72. "mimeExtension": "lib/plotly-renderer",
  73. "outputDir": "../../python/plotly/jupyterlab_plotly/labextension",
  74. "sharedPackages": {
  75. "@jupyter-widgets/base": {
  76. "bundled": false,
  77. "singleton": true
  78. }
  79. }
  80. }
  81. }