UNPKG

3 kBJSONView Raw
1{
2 "name": "rehype-react",
3 "description": "rehype plugin to transform to React",
4 "version": "8.0.0",
5 "license": "MIT",
6 "keywords": [
7 "hast",
8 "html",
9 "plugin",
10 "preact",
11 "react",
12 "rehype",
13 "rehype-plugin",
14 "solid",
15 "svelte",
16 "unified",
17 "vue"
18 ],
19 "repository": "rehypejs/rehype-react",
20 "bugs": "https://github.com/rehypejs/rehype-react/issues",
21 "funding": {
22 "type": "opencollective",
23 "url": "https://opencollective.com/unified"
24 },
25 "author": "rhysd <lin90162@yahoo.co.jp>",
26 "contributors": [
27 "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
28 "Tom MacWright <tom@macwright.org>",
29 "rhysd <lin90162@yahoo.co.jp>",
30 "Juho Vepsalainen <bebraw@gmail.com>",
31 "Ciaran Wood <cyrzinsomnia@gmail.com>",
32 "Takuya Matsuyama <nora@odoruinu.net>",
33 "Jason Trill <jason@jasontrill.com>",
34 "Jeremy Stucki <jeremy@interactivethings.com>",
35 "Tsuyusato Kitsune <make.just.on@gmail.com>",
36 "David Clark <dclark@mapbox.com>",
37 "Tucker Whitehouse <Tucker.Whitehouse@LibertyMutual.com>",
38 "kthjm <toxictoxer@gmail.com>",
39 "Artem Sapegin <artem@sapegin.ru>",
40 "Christian Murphy <christian.murphy.42@gmail.com>"
41 ],
42 "sideEffects": false,
43 "type": "module",
44 "exports": "./index.js",
45 "files": [
46 "lib/",
47 "index.d.ts",
48 "index.js"
49 ],
50 "dependencies": {
51 "@types/hast": "^3.0.0",
52 "hast-util-to-jsx-runtime": "^2.0.0",
53 "unified": "^11.0.0"
54 },
55 "devDependencies": {
56 "@types/node": "^20.0.0",
57 "@types/react": "^18.0.0",
58 "@types/react-dom": "^18.0.0",
59 "c8": "^8.0.0",
60 "hastscript": "^8.0.0",
61 "prettier": "^3.0.0",
62 "react": "^18.0.0",
63 "react-dom": "^18.0.0",
64 "remark-cli": "^11.0.0",
65 "remark-preset-wooorm": "^9.0.0",
66 "type-coverage": "^2.0.0",
67 "typescript": "^5.0.0",
68 "xo": "^0.56.0"
69 },
70 "scripts": {
71 "build": "tsc --build --clean && tsc --build && type-coverage",
72 "format": "remark . --frail --output --quiet && prettier . --log-level warn --write && xo --fix",
73 "prepack": "npm run build && npm run format",
74 "test": "npm run build && npm run format && npm run test-coverage",
75 "test-api": "node --conditions development test.js",
76 "test-coverage": "c8 --100 --check-coverage --reporter lcov npm run test-api"
77 },
78 "prettier": {
79 "bracketSpacing": false,
80 "singleQuote": true,
81 "semi": false,
82 "tabWidth": 2,
83 "trailingComma": "none",
84 "useTabs": false
85 },
86 "remarkConfig": {
87 "plugins": [
88 "remark-preset-wooorm"
89 ]
90 },
91 "typeCoverage": {
92 "atLeast": 100,
93 "detail": true,
94 "ignoreCatch": true,
95 "strict": true
96 },
97 "xo": {
98 "overrides": [
99 {
100 "files": [
101 "*.ts"
102 ],
103 "rules": {
104 "@typescript-eslint/consistent-type-definitions": "off"
105 }
106 }
107 ],
108 "prettier": true,
109 "#": "`xo` is wrong about file extensions",
110 "rules": {
111 "n/file-extension-in-import": "off"
112 }
113 }
114}