{
    "name": "@jupyterlite/terminal",
    "version": "1.6.1",
    "description": "A terminal for JupyterLite",
    "keywords": [
        "jupyter",
        "jupyterlab",
        "jupyterlite",
        "jupyterlite-extension"
    ],
    "homepage": "https://github.com/jupyterlite/terminal",
    "bugs": {
        "url": "https://github.com/jupyterlite/terminal/issues"
    },
    "license": "BSD-3-Clause",
    "author": {
        "name": "JupyterLite Contributors",
        "email": ""
    },
    "files": [
        "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}",
        "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}",
        "src/**/*.{ts,tsx}"
    ],
    "main": "lib/index.js",
    "types": "lib/index.d.ts",
    "style": "style/index.css",
    "repository": {
        "type": "git",
        "url": "https://github.com/jupyterlite/terminal.git"
    },
    "scripts": {
        "build": "jlpm build:lib && jlpm build:worker && jlpm build:labextension:dev",
        "build:prod": "jlpm clean && jlpm build:lib:prod && jlpm build:worker:prod && jlpm build:labextension",
        "build:labextension": "jupyter-builder build .",
        "build:labextension:dev": "jupyter-builder build --development True .",
        "build:lib": "tsc --sourceMap",
        "build:lib:prod": "tsc",
        "build:worker": "rspack --config worker.rspack.config.js --mode=development",
        "build:worker:prod": "rspack --config worker.rspack.config.js --mode=production",
        "clean": "jlpm clean:lib",
        "clean:lib": "rimraf lib tsconfig.tsbuildinfo",
        "clean:lintcache": "rimraf .eslintcache .stylelintcache",
        "clean:labextension": "rimraf jupyterlite_terminal/labextension jupyterlite_terminal/_version.py",
        "clean:all": "jlpm clean:lib && jlpm clean:labextension && jlpm clean:lintcache",
        "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",
        "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",
        "watch": "run-p watch:src watch:labextension",
        "watch:src": "tsc -w --sourceMap",
        "watch:labextension": "jupyter-builder watch ."
    },
    "dependencies": {
        "@jupyterlab/apputils": "^4.6.0",
        "@jupyterlab/coreutils": "^6.5.0",
        "@jupyterlab/pluginmanager": "^4.5.0",
        "@jupyterlab/services": "^7.5.0",
        "@jupyterlab/settingregistry": "^4.5.0",
        "@jupyterlite/apputils": "^0.7.0 || ^0.8.0",
        "@jupyterlite/cockle": "^1.7.0",
        "@jupyterlite/services": "^0.7.0 || ^0.8.0",
        "@lumino/coreutils": "^2.2.1",
        "@lumino/signaling": "^2.1.4",
        "coincident": "^4.1.1",
        "comlink": "^4.4.2",
        "mock-socket": "^9.3.1"
    },
    "devDependencies": {
        "@jupyter/builder": "^1.1.0",
        "@jupyterlab/testutils": "^4.5.0",
        "@rspack/cli": "^2.0.6",
        "@rspack/core": "^2.0.6",
        "@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",
        "@typescript-eslint/eslint-plugin": "^7.16.1",
        "@typescript-eslint/parser": "^7.16.1",
        "css-loader": "^6.7.1",
        "eslint": "^8.36.0",
        "eslint-config-prettier": "^8.8.0",
        "eslint-plugin-prettier": "^5.0.0",
        "eslint-plugin-sort": "^4.0.0",
        "jest": "^29.2.0",
        "prettier": "^3.0.0",
        "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-loader": "^9.5.2",
        "typescript": "~5.7.0"
    },
    "resolutions": {
        "parse5": "7.2.1"
    },
    "sideEffects": [
        "style/*.css",
        "style/index.js"
    ],
    "styleModule": "style/index.js",
    "publishConfig": {
        "access": "public"
    },
    "jupyterlab": {
        "extension": true,
        "outputDir": "jupyterlite_terminal/labextension",
        "webpackConfig": "rspack.config.js",
        "sharedPackages": {
            "@jupyterlab/apputils": {
                "bundled": false,
                "singleton": true
            },
            "@jupyterlab/settingregistry": {
                "bundled": false,
                "singleton": true
            },
            "@jupyterlite/apputils": {
                "bundled": false,
                "singleton": true
            },
            "@jupyterlite/services": {
                "bundled": false,
                "singleton": true
            }
        }
    },
    "eslintIgnore": [
        "node_modules",
        "dist",
        "coverage",
        "**/*.d.ts",
        "tests",
        "**/__tests__",
        "ui-tests"
    ],
    "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": [
            "@typescript-eslint",
            "eslint-plugin-sort"
        ],
        "rules": {
            "@typescript-eslint/consistent-type-imports": [
                "error",
                {
                    "prefer": "type-imports",
                    "fixStyle": "separate-type-imports"
                }
            ],
            "@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",
            "@typescript-eslint/quotes": [
                "error",
                "single",
                {
                    "avoidEscape": true,
                    "allowTemplateLiterals": false
                }
            ],
            "curly": [
                "error",
                "all"
            ],
            "eqeqeq": "error",
            "prefer-arrow-callback": "error",
            "sort/imports": [
                "warn",
                {
                    "caseSensitive": false,
                    "groups": [
                        {
                            "regex": "^@",
                            "order": 0
                        },
                        {
                            "regex": "^\\./",
                            "order": 20
                        },
                        {
                            "regex": "^\\.\\./",
                            "order": 30
                        },
                        {
                            "type": "other",
                            "order": 10
                        }
                    ],
                    "typeOrder": "first"
                }
            ],
            "sort/import-members": [
                "error",
                {
                    "caseSensitive": false
                }
            ]
        }
    },
    "prettier": {
        "printWidth": 100,
        "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": "^([a-z][A-z\\d]*)(-[A-z\\d]+)*$",
            "selector-no-vendor-prefix": null,
            "value-no-vendor-prefix": null
        }
    }
}
