{
    "name": "@openbraininstitute/morphoviewer",
    "version": "0.37.0",
    "description": "Class to display SWC files in 3D on a canvas",
    "main": "./dist/index.js",
    "module": "./dist/index.js",
    "typings": "./dist/index.d.ts",
    "types": "./dist",
    "files": [
        "./dist"
    ],
    "scripts": {
        "clean": "rm -rf ./dist .tsbuildinfo",
        "doc": "typedoc",
        "doc:watch": "typedoc --watch",
        "prebuild": "npm run clean",
        "build": "build-typescript-library .",
        "build:debug": "build-typescript-library . --verbose",
        "prestart": "npm run clean",
        "start": "build-typescript-library --watch .",
        "format": "biome format --write src/",
        "lint": "biome check src/",
        "test": "jest",
        "test:watch": "jest --watch"
    },
    "keywords": [
        "SWC",
        "morphology",
        "OBI",
        "webgl2",
        "BBP"
    ],
    "author": "Fabien PETITJEAN <fabien.petitjean@epfl.ch>",
    "license": "ISC",
    "repository": {
        "type": "git",
        "url": "git+https://github.com/openbraininstitute/morphoviewer.git",
        "directory": "lib"
    },
    "homepage": "https://openbraininstitute.github.io/morphoviewer/",
    "bugs": {
        "url": "https://github.com/openbraininstitute/morphoviewer/issues"
    },
    "dependencies": {
        "@tolokoban/tgd": "2.4.0",
        "fflate": "^0.8.3",
        "tslib": "^2.8.1"
    },
    "devDependencies": {
        "@rspack/cli": "^2.0.6",
        "@types/jest": "^30.0.0",
        "@types/react": "^19.2.15",
        "babel-jest": "^30.4.1",
        "build-typescript-library": "^0.12.0",
        "css-loader": "^7.1.4",
        "jest": "^30.4.2",
        "jest-environment-jsdom": "^30.4.1",
        "style-loader": "^4.0.0",
        "ts-jest": "^29.4.11",
        "ts-loader": "^9.5.7",
        "ts-patch": "^3.3.0",
        "typedoc": "^0.28.19",
        "typescript": "^5.9.3",
        "typescript-transform-paths": "^3.5.6"
    },
    "jest": {
        "testEnvironment": "jsdom",
        "moduleFileExtensions": [
            "tsx",
            "ts",
            "js",
            "jsx",
            "wasm"
        ],
        "transform": {
            "^.+\\.tsx?$": "ts-jest"
        },
        "testMatch": [
            "**/*.(test|spec).(ts|tsx)"
        ],
        "globals": {
            "ENV_VARIABLES": {}
        },
        "moduleNameMapper": {
            "^@tgd/(.*)$": "<rootDir>/src/tgd/$1",
            "^@tgd": "<rootDir>/src/tgd",
            "^@/(.*)$": "<rootDir>/src/$1",
            "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/mocks.js",
            "\\.(css|less)$": "<rootDir>/__mocks__/mocks.js",
            "\\.(py|sh|txt|bin)$": "<rootDir>/__mocks__/mocks.js"
        },
        "verbose": true,
        "collectCoverage": true,
        "coverageReporters": [
            "lcov"
        ],
        "coverageDirectory": "test-coverage",
        "coverageThreshold": {
            "global": {
                "branches": 0,
                "functions": 0,
                "lines": 0,
                "statements": 0
            }
        }
    },
    "peerDependencies": {
        "react": "^19.2.5"
    }
}