{
    "name": "@jbtronics/bs-treeview",
    "version": "1.0.7",
    "description": "TreeView element for Javascript (mostly optimized for bootstrap)",
    "main": "build/main/index.js",
    "types": "build/main/index.d.ts",
    "typings": "build/main/index.d.ts",
    "module": "build/module/index.js",
    "exports": {
        ".": {
            "types": "./build/main/index.d.ts",
            "require": "./build/main/index.js",
            "import": "./build/module/index.js"
        },
        "./styles/bs-treeview.css": "./styles/bs-treeview.css",
        "./package.json": "./package.json"
    },
    "repository": "https://github.com/jbtronics/bs-treeview",
    "license": "Apache-2.0",
    "keywords": [
        "treeview",
        "bootstrap",
        "bootstrap-treeview",
        "treeview-bootstrap",
        "treeview-component",
        "bootstrap",
        "tree"
    ],
    "scripts": {
        "clean": "rimraf build coverage diff",
        "build": "run-s clean build:cjs build:esm",
        "build:cjs": "tsc -p tsconfig.json",
        "build:esm": "tsc -p tsconfig.module.json",
        "build:main": "npm run build:cjs",
        "build:module": "npm run build:esm",
        "fix": "run-s format:write lint:fix",
        "format": "prettier \"src/**/*.ts\" --check",
        "format:write": "prettier \"src/**/*.ts\" --write",
        "lint": "eslint \"src/**/*.ts\"",
        "lint:fix": "eslint \"src/**/*.ts\" --fix",
        "test": "run-s build lint format test:spelling test:unit",
        "test:lint": "npm run lint",
        "test:prettier": "npm run format",
        "test:spelling": "cspell \"{README.md,.github/*.md,src/**/*.ts}\"",
        "test:unit": "nyc --silent ava",
        "check-cli": "run-s test diff-integration-tests check-integration-tests",
        "check-integration-tests": "run-s check-integration-test:*",
        "diff-integration-tests": "mkdir -p diff && rm -rf diff/test && cp -r test diff/test && rm -rf diff/test/test-*/.git && cd diff && git init --quiet && git add -A && git commit --quiet --no-verify --allow-empty -m 'WIP' && echo '\\n\\nCommitted most recent integration test output in the \"diff\" directory. Review the changes with \"cd diff && git diff HEAD\" or your preferred git diff viewer.'",
        "watch:build": "tsc -p tsconfig.json -w",
        "watch:module": "tsc -p tsconfig.module.json -w",
        "watch:test": "nyc --silent ava --watch",
        "cov": "run-s build test:unit cov:html cov:lcov && open-cli coverage/index.html",
        "cov:html": "nyc report --reporter=html",
        "cov:lcov": "nyc report --reporter=lcov",
        "cov:send": "run-s cov:lcov && codecov",
        "cov:check": "nyc report && nyc check-coverage --lines 100 --functions 100 --branches 100",
        "doc": "run-s doc:html && open-cli build/docs/index.html",
        "doc:html": "typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --out build/docs",
        "doc:json": "typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --json build/docs/typedoc.json",
        "doc:publish": "gh-pages -m \"[ci skip] Updates\" -d build/docs",
        "version": "standard-version",
        "reset-hard": "git clean -dfx && git reset --hard && yarn",
        "prepare-release": "run-s reset-hard test cov:check doc:html version doc:publish"
    },
    "dependencies": {},
    "devDependencies": {
        "@ava/typescript": "^6.0.0",
        "@istanbuljs/nyc-config-typescript": "^1.0.2",
        "@typescript-eslint/eslint-plugin": "^8.56.1",
        "@typescript-eslint/parser": "^8.56.1",
        "ava": "^7.0.0",
        "codecov": "^3.8.3",
        "cspell": "^9.7.0",
        "cz-conventional-changelog": "^3.3.0",
        "eslint": "^10.0.2",
        "eslint-config-prettier": "^10.1.8",
        "eslint-plugin-eslint-comments": "^3.2.0",
        "eslint-plugin-import": "^2.32.0",
        "gh-pages": "^6.3.0",
        "npm-run-all": "^4.1.5",
        "nyc": "^18.0.0",
        "open-cli": "^8.0.0",
        "prettier": "^3.8.1",
        "rimraf": "^6.1.3",
        "standard-version": "^9.5.0",
        "ts-node": "^10.9.2",
        "typedoc": "^0.28.17",
        "typescript": "^5.9.3"
    },
    "files": [
        "build/main",
        "build/module",
        "!**/*.spec.*",
        "!**/*.json",
        "CHANGELOG.md",
        "LICENSE",
        "README.md",
        "styles/bs-treeview.css"
    ],
    "sideEffects": [
        "*.css",
        "styles/bs-treeview.css"
    ],
    "ava": {
        "failFast": true,
        "timeout": "60s",
        "typescript": {
            "compile": false,
            "rewritePaths": {
                "src/": "build/main/"
            }
        },
        "files": [
            "!build/module/**"
        ]
    },
    "config": {
        "commitizen": {
            "path": "cz-conventional-changelog"
        }
    },
    "prettier": {
        "singleQuote": true
    },
    "nyc": {
        "extends": "@istanbuljs/nyc-config-typescript",
        "exclude": [
            "**/*.spec.js"
        ]
    }
}
