{
    "name": "@pretext-book/fragment",
    "version": "1.0.0b7",
    "description": "Take a PreTeXt fragment and create a document suitable for compilation",
    "main": "dist/index.js",
    "bin": {
        "pretext-fragment": "./dist/cli.js"
    },
    "type": "module",
    "files": [
        "./dist/**/*",
        "./tests/fragments/*",
        "./tests/templates/*",
        "./tests/rendered-fragments/*"
    ],
    "exports": {
        ".": {
            "import": "./dist/index.js",
            "require": "./dist/index.cjs"
        },
        "./*js": "./dist/*js",
        "./*": {
            "import": "./dist/*.js",
            "require": "./dist/*.cjs"
        }
    },
    "scripts": {
        "build": "npm run clean && mkdirp ./dist && npm run compile",
        "watch": "node build.js --watch",
        "clean": "rm -rf ./dist && rm -rf tsconfig.tsbuildinfo",
        "compile": "tsc -b tsconfig.json & node build.js & wait",
        "test": "vitest"
    },
    "repository": {
        "type": "git",
        "url": "git+https://github.com/siefkenj/pretext-book.git"
    },
    "author": "",
    "license": "ISC",
    "bugs": {
        "url": "https://github.com/siefkenj/pretext-book/issues"
    },
    "homepage": "https://github.com/siefkenj/pretext-book#readme",
    "devDependencies": {
        "@types/glob": "^8.1.0",
        "@types/node": "^20.4.4",
        "@types/yargs": "^17.0.24",
        "@types/hast": "^3.0.0",
        "classnames": "^2.3.2",
        "esbuild": "^0.18.16",
        "esbuild-runner": "^2.2.2",
        "hast-util-from-html": "^1.0.2",
        "hast-util-to-html": "^8.0.4",
        "html-react-parser": "^4.2.0",
        "mkdirp": "^3.0.1",
        "peggy": "^3.0.2",
        "prettier": "^3.0.0",
        "typescript": "^5.1.6",
        "unified": "^10.1.2",
        "unist-util-is": "^6.0.0",
        "unist-util-remove": "^4.0.0",
        "unist-util-select": "^5.0.0",
        "unist-util-visit": "^5.0.0",
        "vfile": "^6.0.1",
        "vitest": "^0.33.0",
        "xast-util-from-xml": "^4.0.0",
        "xast-util-to-string": "^3.0.0",
        "xast-util-to-xml": "^4.0.0",
        "yargs": "^17.7.2"
    },
    "dependencies": {
    }
}
