@jupyterlab/git
Version:
A JupyterLab extension for version control using git
316 lines (315 loc) • 10.9 kB
JSON
{
"name": "@jupyterlab/git",
"version": "0.51.2",
"description": "A JupyterLab extension for version control using git",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"style": "style/index.css",
"license": "BSD-3-Clause",
"author": "Jupyter Development Team",
"keywords": [
"Jupyter",
"JupyterLab",
"jupyterlab-extension",
"Git"
],
"scripts": {
"build": "jlpm build:lib && jlpm build:labextension:dev",
"build:labextension": "jupyter labextension build .",
"build:labextension:dev": "jupyter labextension build --development True .",
"build:lib": "genversion --es6 --semi src/version.ts && tsc --sourceMap",
"build:lib:prod": "genversion --es6 --semi src/version.ts && tsc",
"build:prod": "jlpm clean && jlpm build:lib:prod && jlpm build:labextension",
"clean": "jlpm clean:lib",
"clean:all": "jlpm clean:lib && jlpm clean:labextension && jlpm clean:lintcache",
"clean:labextension": "rimraf jupyterlab_git/labextension jupyterlab_git/_version.py",
"clean:lib": "rimraf lib tsconfig.tsbuildinfo",
"clean:lintcache": "rimraf .eslintcache .stylelintcache",
"clean:more": "jlpm clean && rimraf build dist MANIFEST",
"clean:slate": "jlpm clean:more && jlpm clean:labextension && rimraf node_modules",
"contributors:generate": "jlpm run all-contributors generate",
"eslint": "jlpm eslint:check --fix",
"eslint:check": "eslint . --cache --ext .ts,.tsx",
"install:extension": "jlpm build",
"lint": "jlpm stylelint && jlpm prettier && jlpm eslint",
"lint:check": "jlpm stylelint:check && jlpm prettier:check && jlpm eslint:check",
"prepare": "genversion --es6 --semi src/version.ts",
"prettier": "jlpm prettier:base --write --list-different",
"prettier:base": "prettier \"**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}\"",
"prettier:check": "jlpm prettier:base --check",
"stylelint": "jlpm stylelint:check --fix",
"stylelint:check": "stylelint --cache \"style/**/*.css\"",
"test": "jest --coverage --no-cache",
"watch": "run-p watch:src watch:labextension",
"watch:labextension": "jupyter labextension watch .",
"watch:src": "tsc -w --sourceMap"
},
"files": [
"lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}",
"schema/**/*.{json,}",
"style/**/*.{css,eot,gif,html,jpg,json,png,svg,woff2,ttf}",
"style/index.js"
],
"sideEffects": [
"style/*.css",
"style/index.js"
],
"styleModule": "style/index.js",
"packageManager": "yarn@3.5.0",
"dependencies": {
"@emotion/react": "^11.10.6",
"@emotion/styled": "^11.10.6",
"@jupyterlab/application": "^4.0.6",
"@jupyterlab/apputils": "^4.1.6",
"@jupyterlab/codeeditor": "^4.0.6",
"@jupyterlab/codemirror": "^4.0.6",
"@jupyterlab/console": "^4.0.6",
"@jupyterlab/coreutils": "^6.0.6",
"@jupyterlab/docregistry": "^4.0.6",
"@jupyterlab/filebrowser": "^4.0.6",
"@jupyterlab/mainmenu": "^4.0.6",
"@jupyterlab/nbformat": "^4.0.6",
"@jupyterlab/rendermime": "^4.0.6",
"@jupyterlab/services": "^7.0.6",
"@jupyterlab/settingregistry": "^4.0.6",
"@jupyterlab/terminal": "^4.0.6",
"@jupyterlab/translation": "^4.0.6",
"@jupyterlab/ui-components": "^4.0.6",
"@lumino/collections": "^2.0.0",
"@lumino/commands": "^2.0.1",
"@lumino/coreutils": "^2.0.0",
"@lumino/disposable": "^2.0.0",
"@lumino/messaging": "^2.0.0",
"@lumino/polling": "^2.0.0",
"@lumino/signaling": "^2.0.0",
"@lumino/widgets": "^2.0.1",
"@mui/icons-material": "^5.11.16",
"@mui/lab": "^5.0.0-alpha.127",
"@mui/material": "^5.12.1",
"@mui/styles": "^5.12.0",
"diff-match-patch": "^1.0.4",
"filesize": "^10.0.7",
"nbdime": "^7.0.1",
"nbdime-jupyterlab": "^3.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-virtualized-auto-sizer": "^1.0.2",
"react-window": "^1.8.5",
"typestyle": "^2.0.1"
},
"devDependencies": {
"@babel/core": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@jupyterlab/builder": "^4.0.0",
"@jupyterlab/testutils": "^4.0.0",
"@stylistic/eslint-plugin": "^3.0.1",
"@testing-library/jest-dom": "^6.1.4",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.5.1",
"@types/diff-match-patch": "^1.0.32",
"@types/jest": "^29.2.0",
"@types/json-schema": "^7.0.11",
"@types/react": "^18.0.26",
"@types/react-addons-linked-state-mixin": "^0.14.22",
"@types/react-dom": "^18.2.0",
"@types/react-virtualized-auto-sizer": "^1.0.0",
"@types/react-window": "^1.8.2",
"@types/resize-observer-browser": "^0.1.7",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"all-contributors-cli": "^6.14.0",
"css-loader": "^6.7.1",
"eslint": "^8.56.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "^7.33.0",
"genversion": "^2.2.1",
"husky": "^8.0.3",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.2.0",
"lint-staged": "^13.2.3",
"mkdirp": "^1.0.3",
"npm-run-all": "^4.1.5",
"prettier": "^3.0.0",
"resize-observer-polyfill": "^1.5.1",
"rimraf": "^5.0.1",
"source-map-loader": "^1.0.2",
"style-loader": "^3.3.1",
"stylelint": "^15.10.1",
"stylelint-config-recommended": "^13.0.0",
"stylelint-config-standard": "^34.0.0",
"stylelint-csstree-validator": "^3.0.0",
"stylelint-prettier": "^4.0.0",
"ts-jest": "^29.1.0",
"typescript": "~5.0.2",
"yjs": "^13.5.40"
},
"directories": {
"lib": "lib"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint . --ext .ts,.tsx --fix"
]
},
"repository": {
"type": "git",
"url": "https://github.com/jupyterlab/jupyterlab-git.git"
},
"bugs": {
"url": "https://github.com/jupyterlab/jupyterlab-git/issues"
},
"homepage": "https://github.com/jupyterlab/jupyterlab-git",
"publishConfig": {
"access": "public"
},
"jupyterlab": {
"discovery": {
"server": {
"managers": [
"pip",
"conda"
],
"base": {
"name": "jupyterlab-git"
}
}
},
"extension": true,
"schemaDir": "schema",
"sharedPackages": {
"@mui/core": {
"singleton": true
},
"@mui/icons": {
"singleton": true
},
"@mui/lab": {
"singleton": true
},
"nbdime": {
"bundled": false,
"singleton": true
},
"nbdime-jupyterlab": {
"bundled": false,
"singleton": true
}
},
"outputDir": "jupyterlab_git/labextension"
},
"eslintConfig": {
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "tsconfig.json",
"sourceType": "module"
},
"plugins": [
"@stylistic",
"@typescript-eslint"
],
"rules": {
"@typescript-eslint/naming-convention": [
"error",
{
"selector": "interface",
"format": [
"PascalCase"
],
"custom": {
"regex": "^I[A-Z]",
"match": true
}
}
],
"@typescript-eslint/no-unused-vars": [
"warn",
{
"args": "none"
}
],
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-namespace": "off",
"@typescript-eslint/no-use-before-define": "off",
"@stylistic/quotes": [
"error",
"single",
{
"avoidEscape": true,
"allowTemplateLiterals": false
}
],
"curly": [
"error",
"all"
],
"eqeqeq": "error",
"no-restricted-imports": [
"error",
{
"paths": [
{
"name": "@mui/icons-material",
"message": "Please import icons using path imports, e.g. import AddIcon from '@mui/icons-material/Add'"
}
],
"patterns": [
{
"group": [
"@mui/*/*/*"
],
"message": "3rd level imports in mui are considered private"
}
]
}
],
"prefer-arrow-callback": "error"
}
},
"eslintIgnore": [
"node_modules",
"dist",
"coverage",
"**/*.d.ts",
"tests",
"**/__tests__",
"ui-tests"
],
"prettier": {
"singleQuote": true,
"trailingComma": "none",
"arrowParens": "avoid",
"endOfLine": "auto",
"overrides": [
{
"files": "package.json",
"options": {
"tabWidth": 4
}
}
]
},
"stylelint": {
"extends": [
"stylelint-config-recommended",
"stylelint-config-standard",
"stylelint-prettier/recommended"
],
"plugins": [
"stylelint-csstree-validator"
],
"rules": {
"csstree/validator": true,
"property-no-vendor-prefix": null,
"selector-class-pattern": null,
"selector-no-vendor-prefix": null,
"value-no-vendor-prefix": null
}
}
}