package.json 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. {
  2. "name": "@jupyterlab/repo-top",
  3. "version": "0.0.1",
  4. "private": true,
  5. "files": [],
  6. "workspaces": {
  7. "packages": [
  8. "dev_mode",
  9. "packages/*",
  10. "packages/services/examples/node",
  11. "packages/services/examples/browser",
  12. "packages/services/examples/typescript-browser-with-output",
  13. "builder",
  14. "buildutils",
  15. "buildutils/template",
  16. "buildutils/test-template",
  17. "galata",
  18. "tests",
  19. "tests/test-*",
  20. "testutils",
  21. "jupyterlab/tests/mock_packages/extension",
  22. "jupyterlab/tests/mock_packages/interop/*"
  23. ]
  24. },
  25. "scripts": {
  26. "add:sibling": "node buildutils/lib/add-sibling.js",
  27. "after:publish:assets": "jlpm && jlpm run build:utils && node buildutils/lib/publish --skip-publish",
  28. "analyze": "jlpm run analyze:dev",
  29. "analyze:dev": "cd dev_mode && jlpm run build --analyze",
  30. "analyze:prod": "cd dev_mode && jlpm run build:prod --analyze",
  31. "before:build:python": "node buildutils/lib/local-repository.js publish-dists --path ./dist && node buildutils/lib/update-core-mode.js",
  32. "build": "jlpm run build:dev",
  33. "build:all": "lerna run build:all",
  34. "build:builder": "cd builder && jlpm run build",
  35. "build:core": "cd jupyterlab/staging && jlpm && (jlpm deduplicate || jlpm) && jlpm run build",
  36. "build:dev": "jlpm run integrity && jlpm run build:all && cd dev_mode && jlpm run build",
  37. "build:dev:prod": "jlpm run integrity && jlpm run build:all && cd dev_mode && jlpm run build:prod",
  38. "build:dev:prod:release": "jlpm run integrity && jlpm run build:all && cd dev_mode && jlpm run build:prod:release",
  39. "build:examples": "lerna run build --scope \"@jupyterlab/example-*\"",
  40. "build:galata": "cd galata && jlpm run build",
  41. "build:nbconvert:css": "cd packages/nbconvert-css && jlpm run build",
  42. "build:packages": "cd packages/metapackage && jlpm run build",
  43. "build:packages:scope": "lerna run build",
  44. "build:src": "lerna run build --scope \"@jupyterlab/!(test-|example-|application-top)*\" --concurrency 1",
  45. "build:storybook": "lerna run build:storybook --concurrency 1",
  46. "build:test:scope": "lerna run build --concurrency 1",
  47. "build:testutils": "cd testutils && jlpm run build",
  48. "build:utils": "cd buildutils && jlpm run build",
  49. "bump:js:major": "node buildutils/lib/bump-js-major.js",
  50. "bumpversion": "node buildutils/lib/bumpversion.js",
  51. "clean": "jlpm run clean:dev && jlpm run clean:packages",
  52. "clean:core": "cd jupyterlab/staging && jlpm run clean",
  53. "clean:dev": "cd dev_mode && jlpm run clean",
  54. "clean:examples": "node buildutils/lib/clean-packages.js examples",
  55. "clean:galata": "cd galata && jlpm run clean",
  56. "clean:packages": "node buildutils/lib/clean-packages.js packages",
  57. "clean:slate": "python clean.py && python -m pip install -v -e .",
  58. "clean:src": "jlpm run clean",
  59. "clean:test": "lerna run clean --scope \"@jupyterlab/test-*\"",
  60. "clean:utils": "cd buildutils && jlpm run clean",
  61. "coverage": "lerna run coverage --scope \"@jupyterlab/test-*\" --stream --concurrency 1",
  62. "create:package": "node buildutils/lib/create-package.js",
  63. "create:test": "node buildutils/lib/create-test-package.js",
  64. "create:theme": "node buildutils/lib/create-theme.js",
  65. "deduplicate": "jlpm yarn-deduplicate -s fewer --fail",
  66. "docs": "typedoc --options typedoc.js",
  67. "docs:init": "lerna run docs:init",
  68. "eslint": "eslint --ext .js,.jsx,.ts,.tsx --fix .",
  69. "eslint:check": "eslint --ext .js,.jsx,.ts,.tsx .",
  70. "eslint:files": "eslint --fix",
  71. "get:dependency": "node buildutils/lib/get-dependency.js",
  72. "postinstall": "node scripts/ensure-buildutils.js",
  73. "integrity": "node scripts/ensure-buildutils.js && node buildutils/lib/ensure-repo.js",
  74. "lighthouse": "lighthouse http://localhost:8888/ --chrome-flags='--headless' --emulated-form-factor=none --throttling-method=provided --only-categories performance",
  75. "lighthouse:compare": "node testutils/lib/compare-lighthouse.js",
  76. "lighthouse:throttling:start": "comcast --latency=40 --target-bw=30000 --packet-loss=0.2%",
  77. "lighthouse:throttling:stop": "comcast --stop",
  78. "lint": "jlpm && jlpm run prettier && jlpm run eslint",
  79. "lint:check": "jlpm run prettier:check && jlpm run eslint:check",
  80. "patch:release": "node buildutils/lib/patch-release.js",
  81. "prepare:python-release": "node buildutils/lib/prepare-python-release.js",
  82. "prepublish:check": "node buildutils/lib/prepublish-check.js",
  83. "prettier": "prettier --write \"**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}\"",
  84. "prettier:check": "prettier --check \"**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}\"",
  85. "prettier:files": "prettier --write",
  86. "publish:js": "node buildutils/lib/publish.js",
  87. "remove:dependency": "node buildutils/lib/remove-dependency.js",
  88. "remove:package": "node buildutils/lib/remove-package.js",
  89. "remove:sibling": "node buildutils/lib/remove-package.js",
  90. "test": "lerna run test --scope \"@jupyterlab/*\" --concurrency 1 --stream",
  91. "test:all": "lerna run test --scope \"@jupyterlab/*\" --concurrency 1 --stream --no-bail",
  92. "test:examples": "python examples/test_examples.py",
  93. "test:galata": "lerna run test --scope \"@jupyterlab/galata\" --concurrency 1 --stream",
  94. "test:scope": "lerna run test --concurrency 1 --stream",
  95. "test:summary": "lerna run test --scope \"@jupyterlab/*\" --parallel --no-bail | grep -Ei '.* test.*(failed|passed|total|completed|skipped)' | sort",
  96. "update:dependency": "node buildutils/lib/update-dependency.js --lerna",
  97. "watch": "python scripts/watch_dev.py",
  98. "watch:main": "jlpm run watch",
  99. "watch:packages": "python scripts/watch_packages.py"
  100. },
  101. "resolutions": {
  102. "@types/node": "^14.6.1",
  103. "vega-typings": "~0.22.0"
  104. },
  105. "dependencies": {},
  106. "devDependencies": {
  107. "@typescript-eslint/eslint-plugin": "~4.8.1",
  108. "@typescript-eslint/parser": "~4.8.1",
  109. "eslint": "~7.14.0",
  110. "eslint-config-prettier": "~6.15.0",
  111. "eslint-plugin-jest": "~24.1.3",
  112. "eslint-plugin-prettier": "~3.1.4",
  113. "eslint-plugin-react": "~7.21.5",
  114. "lerna": "^4.0.0",
  115. "prettier": "~2.1.1",
  116. "typedoc": "~0.21.2",
  117. "yarn": "1.21.1"
  118. }
  119. }