129 lines
3.3 KiB
JSON
129 lines
3.3 KiB
JSON
|
{
|
||
|
"name": "hast-util-to-jsx-runtime",
|
||
|
"version": "2.3.0",
|
||
|
"description": "hast utility to transform to preact, react, solid, svelte, vue, etc",
|
||
|
"license": "MIT",
|
||
|
"keywords": [
|
||
|
"unist",
|
||
|
"hast",
|
||
|
"hast-util",
|
||
|
"util",
|
||
|
"utility",
|
||
|
"html",
|
||
|
"preact",
|
||
|
"react",
|
||
|
"solid",
|
||
|
"svelte",
|
||
|
"vue"
|
||
|
],
|
||
|
"repository": "syntax-tree/hast-util-to-jsx-runtime",
|
||
|
"bugs": "https://github.com/syntax-tree/hast-util-to-jsx-runtime/issues",
|
||
|
"funding": {
|
||
|
"type": "opencollective",
|
||
|
"url": "https://opencollective.com/unified"
|
||
|
},
|
||
|
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
|
||
|
"contributors": [
|
||
|
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
|
||
|
],
|
||
|
"sideEffects": false,
|
||
|
"type": "module",
|
||
|
"exports": "./index.js",
|
||
|
"files": [
|
||
|
"lib/",
|
||
|
"index.d.ts",
|
||
|
"index.js"
|
||
|
],
|
||
|
"dependencies": {
|
||
|
"@types/estree": "^1.0.0",
|
||
|
"@types/hast": "^3.0.0",
|
||
|
"@types/unist": "^3.0.0",
|
||
|
"comma-separated-tokens": "^2.0.0",
|
||
|
"devlop": "^1.0.0",
|
||
|
"estree-util-is-identifier-name": "^3.0.0",
|
||
|
"hast-util-whitespace": "^3.0.0",
|
||
|
"mdast-util-mdx-expression": "^2.0.0",
|
||
|
"mdast-util-mdx-jsx": "^3.0.0",
|
||
|
"mdast-util-mdxjs-esm": "^2.0.0",
|
||
|
"property-information": "^6.0.0",
|
||
|
"space-separated-tokens": "^2.0.0",
|
||
|
"style-to-object": "^1.0.0",
|
||
|
"unist-util-position": "^5.0.0",
|
||
|
"vfile-message": "^4.0.0"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@types/node": "^20.0.0",
|
||
|
"@types/react": "^18.0.0",
|
||
|
"@types/react-dom": "^18.0.0",
|
||
|
"c8": "^8.0.0",
|
||
|
"esbuild": "^0.19.0",
|
||
|
"estree-util-visit": "^2.0.0",
|
||
|
"hastscript": "^8.0.0",
|
||
|
"prettier": "^3.0.0",
|
||
|
"react": "^18.0.0",
|
||
|
"react-dom": "^18.0.0",
|
||
|
"remark-cli": "^12.0.0",
|
||
|
"remark-gfm": "^4.0.0",
|
||
|
"remark-preset-wooorm": "^9.0.0",
|
||
|
"sval": "^0.4.0",
|
||
|
"type-coverage": "^2.0.0",
|
||
|
"typescript": "^5.0.0",
|
||
|
"xo": "^0.56.0"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"prepack": "npm run build && npm run format",
|
||
|
"generate": "esbuild . --bundle --minify --target=es2020 --format=esm --outfile=example/hast-util-to-jsx-runtime.min.js",
|
||
|
"build": "tsc --build --clean && tsc --build && type-coverage",
|
||
|
"format": "remark . -qfo && prettier . -w --log-level warn && xo --fix",
|
||
|
"test-api": "node --conditions development test/index.js",
|
||
|
"test-coverage": "c8 --100 --reporter lcov npm run test-api",
|
||
|
"test": "npm run generate && npm run build && npm run format && npm run test-coverage"
|
||
|
},
|
||
|
"prettier": {
|
||
|
"bracketSpacing": false,
|
||
|
"semi": false,
|
||
|
"singleQuote": true,
|
||
|
"tabWidth": 2,
|
||
|
"trailingComma": "none",
|
||
|
"useTabs": false
|
||
|
},
|
||
|
"remarkConfig": {
|
||
|
"plugins": [
|
||
|
"remark-preset-wooorm",
|
||
|
[
|
||
|
"remark-lint-list-item-indent",
|
||
|
"space"
|
||
|
],
|
||
|
[
|
||
|
"remark-preset-wooorm/node_modules/remark-gfm/index.js",
|
||
|
false
|
||
|
],
|
||
|
"remark-gfm"
|
||
|
]
|
||
|
},
|
||
|
"typeCoverage": {
|
||
|
"atLeast": 100,
|
||
|
"detail": true,
|
||
|
"ignoreCatch": true,
|
||
|
"ignoreFiles": [
|
||
|
"example/**/*.js"
|
||
|
],
|
||
|
"strict": true
|
||
|
},
|
||
|
"xo": {
|
||
|
"overrides": [
|
||
|
{
|
||
|
"files": "**/*.ts",
|
||
|
"rules": {
|
||
|
"@typescript-eslint/ban-types": "off"
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"prettier": true,
|
||
|
"rules": {
|
||
|
"unicorn/prefer-at": "off",
|
||
|
"unicorn/prefer-string-replace-all": "off"
|
||
|
}
|
||
|
}
|
||
|
}
|