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