-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
52 lines (52 loc) · 1.86 KB
/
Copy pathpackage.json
File metadata and controls
52 lines (52 loc) · 1.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"name": "@manicjs/mdx",
"version": "1.0.5",
"homepage": "https://github.com/manic-js/plugin-mdx#readme",
"bugs": {
"url": "https://github.com/manic-js/plugin-mdx/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/manic-js/plugin-mdx"
},
"type": "module",
"exports": {
".": "./src/index.ts",
"./bun-plugin": "./src/bun-plugin.ts"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"ci:lint": "bunx --bun oxlint --config .oxlintrc.json .",
"ci:format": "bunx --bun oxfmt --check --config .oxfmt.json .",
"ci:typecheck": "if [ -f tsconfig.json ]; then bunx --bun tsc --noEmit; elif [ -f src/index.ts ]; then bunx --bun tsc --noEmit --module esnext --moduleResolution bundler --target es2022 src/index.ts; elif [ -f index.ts ]; then bunx --bun tsc --noEmit --module esnext --moduleResolution bundler --target es2022 index.ts; else echo \"No TypeScript entrypoint found\"; exit 1; fi",
"ci:build": "if bun run | grep -q \"^ build$\"; then bun run build; elif [ -f src/index.ts ]; then bun build src/index.ts --target bun --outdir .ci-build; elif [ -f index.ts ]; then bun build index.ts --target bun --outdir .ci-build; else echo \"No build entrypoint found\"; exit 1; fi",
"ci:test": "bun run test",
"ci:compliance": "test -f CODE_OF_CONDUCT.md && test -f LICENSE && test -f README.md",
"test": "bun test --timeout 30000"
},
"dependencies": {
"@mdx-js/mdx": "^3.1.1",
"rehype-pretty-code": "^0.14.3",
"remark-frontmatter": "^5.0.0",
"remark-gfm": "^4.0.1",
"remark-mdx-frontmatter": "^5.2.0",
"shiki": "^4.0.2"
},
"devDependencies": {},
"peerDependencies": {
"fumadocs-core": ">=16.8.8",
"manicjs": ">=1.0.0"
},
"peerDependenciesMeta": {
"fumadocs-core": {
"optional": true
}
},
"files": [
"src",
"README.md",
"LICENSE"
]
}