{ "name": "rehype", "private": true, "license": "MIT", "homepage": "https://github.com/rehypejs/rehype", "repository": "rehypejs/rehype", "bugs": "https://github.com/rehypejs/rehype/issues", "funding": { "type": "opencollective", "url": "https://opencollective.com/unified" }, "type": "module", "workspaces": [ "packages/rehype-parse", "packages/rehype-stringify", "packages/rehype", "packages/rehype-cli" ], "devDependencies": { "@types/node": "^22.0.0", "c8": "^10.0.0", "hast-util-assert": "^4.0.0", "prettier": "^3.0.0", "remark-cli": "^12.0.0", "remark-preset-wooorm": "^10.0.0", "type-coverage": "^2.0.0", "typescript": "^5.0.0", "unified": "^11.0.0", "unist-util-remove-position": "^5.0.0", "vfile": "^6.0.0", "xo": "^0.59.0" }, "scripts": { "build": "tsc --build --clean && tsc --build && type-coverage", "format": "remark . --frail --output --quiet && prettier . --log-level warn --write && xo --fix", "test": "npm run build && npm run format && npm run test-coverage", "test-api": "node --conditions development test/index.js", "test-coverage": "c8 --100 --check-coverage --reporter lcov npm run test-api" }, "prettier": { "bracketSpacing": false, "singleQuote": true, "semi": false, "tabWidth": 2, "trailingComma": "none", "useTabs": false }, "remarkConfig": { "plugins": [ "remark-preset-wooorm", [ "remark-lint-no-html", false ] ] }, "typeCoverage": { "atLeast": 100, "detail": true, "ignoreCatch": true, "strict": true }, "xo": { "overrides": [ { "files": [ "test/**/*.js" ], "rules": { "no-await-in-loop": "off" } }, { "files": [ "**/*.ts" ], "rules": { "@typescript-eslint/ban-types": "off", "@typescript-eslint/consistent-type-definitions": "off", "@typescript-eslint/triple-slash-reference": "off" } } ], "prettier": true, "rules": { "unicorn/no-this-assignment": "off", "unicorn/prefer-code-point": "off", "unicorn/prefer-string-replace-all": "off" } } }