package.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. {
  2. "name": "yili-dag",
  3. "version": "0.1.0",
  4. "description": "A JupyterLab extension.",
  5. "keywords": [
  6. "jupyter",
  7. "jupyterlab",
  8. "jupyterlab-extension"
  9. ],
  10. "homepage": "https://github.com/github_username/yili-dag",
  11. "bugs": {
  12. "url": "https://github.com/github_username/yili-dag/issues"
  13. },
  14. "license": "BSD-3-Clause",
  15. "author": {
  16. "name": "hj",
  17. "email": "hjing0524@gmail.com"
  18. },
  19. "files": [
  20. "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}",
  21. "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}"
  22. ],
  23. "main": "lib/index.js",
  24. "types": "lib/index.d.ts",
  25. "style": "style/index.css",
  26. "repository": {
  27. "type": "git",
  28. "url": "https://github.com/github_username/yili-dag.git"
  29. },
  30. "scripts": {
  31. "build": "jlpm build:lib && jlpm build:labextension:dev",
  32. "build:prod": "jlpm clean && jlpm build:lib && jlpm build:labextension",
  33. "build:labextension": "jupyter labextension build .",
  34. "build:labextension:dev": "jupyter labextension build --development True .",
  35. "build:lib": "tsc",
  36. "clean": "jlpm clean:lib",
  37. "clean:lib": "rimraf lib tsconfig.tsbuildinfo",
  38. "clean:lintcache": "rimraf .eslintcache .stylelintcache",
  39. "clean:labextension": "rimraf yili-dag/labextension",
  40. "clean:all": "jlpm clean:lib && jlpm clean:labextension && jlpm clean:lintcache",
  41. "eslint": "jlpm eslint:check --fix",
  42. "eslint:check": "eslint . --cache --ext .ts,.tsx",
  43. "install:extension": "jlpm build",
  44. "lint": "jlpm stylelint && jlpm prettier && jlpm eslint",
  45. "lint:check": "jlpm stylelint:check && jlpm prettier:check && jlpm eslint:check",
  46. "prettier": "jlpm prettier:base --write --list-different",
  47. "prettier:base": "prettier \"**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}\"",
  48. "prettier:check": "jlpm prettier:base --check",
  49. "stylelint": "jlpm stylelint:check --fix",
  50. "stylelint:check": "stylelint --cache \"style/**/*.css\"",
  51. "test": "jest --coverage",
  52. "watch": "run-p watch:src watch:labextension",
  53. "watch:src": "tsc -w",
  54. "watch:labextension": "jupyter labextension watch ."
  55. },
  56. "dependencies": {
  57. "@jupyterlab/application": "^3.1.0"
  58. },
  59. "devDependencies": {
  60. "@babel/core": "^7.0.0",
  61. "@babel/preset-env": "^7.0.0",
  62. "@jupyterlab/builder": "^3.1.0",
  63. "@jupyterlab/testutils": "^3.0.0",
  64. "@types/jest": "^26.0.0",
  65. "@typescript-eslint/eslint-plugin": "^4.8.1",
  66. "@typescript-eslint/parser": "^4.8.1",
  67. "eslint": "^7.14.0",
  68. "eslint-config-prettier": "^6.15.0",
  69. "eslint-plugin-prettier": "^3.1.4",
  70. "jest": "^26.0.0",
  71. "npm-run-all": "^4.1.5",
  72. "prettier": "^2.1.1",
  73. "rimraf": "^3.0.2",
  74. "stylelint": "^14.3.0",
  75. "stylelint-config-prettier": "^9.0.3",
  76. "stylelint-config-recommended": "^6.0.0",
  77. "stylelint-config-standard": "~24.0.0",
  78. "stylelint-prettier": "^2.0.0",
  79. "typescript": "~4.1.3",
  80. "ts-jest": "^26.0.0"
  81. },
  82. "sideEffects": [
  83. "style/*.css",
  84. "style/index.js"
  85. ],
  86. "styleModule": "style/index.js",
  87. "publishConfig": {
  88. "access": "public"
  89. },
  90. "jupyterlab": {
  91. "extension": true,
  92. "outputDir": "yili-dag/labextension"
  93. },
  94. "jupyter-releaser": {
  95. "hooks": {
  96. "before-build-npm": [
  97. "python -m pip install jupyterlab~=3.1",
  98. "jlpm"
  99. ],
  100. "before-build-python": [
  101. "jlpm clean:all"
  102. ]
  103. }
  104. }
  105. }