1 {
2 "name": "docs-utils",
3 "version": "0.0.0",
4 "private": true,
5 "license": "MIT",
6 "publishConfig": {
7 "access": "public"
8 },
9 "type": "module",
10 "main": "./dist/index.js",
11 "types": "./dist/index.d.ts",
12 "module": "./dist/index.js",
13 "exports": {
14 ".": {
15 "import": {
16 "types": "./dist/index.d.ts",
17 "default": "./dist/index.js"
18 }
19 },
20 "./global-config": {
21 "require": {
22 "types": "./dist/global-config.d.ts",
23 "default": "./dist/cjs/global-config.js"
24 },
25 "import": {
26 "types": "./dist/global-config.d.ts",
27 "default": "./dist/global-config.js"
28 }
29 }
30 },
31 "typesVersions": {
32 "*": {
33 "global-config": [
34 "./dist/global-config.d.ts"
35 ]
36 }
37 },
38 "sideEffects": false,
39 "files": [
40 "dist/**"
41 ],
42 "scripts": {
43 "build": "yarn clean && tsc && yarn build:global-config:cjs",
44 "build:global-config:cjs": "tsc -p tsconfig.cjs.json && node ./scripts/mark-cjs-dir.mjs",
45 "clean": "rimraf dist",
46 "watch": "tsc --watch",
47 "test": "vitest --passWithNoTests"
48 },
49 "dependencies": {
50 "@mdx-js/mdx": "^3.1.0",
51 "react-docgen": "^7.1.0",
52 "remark-frontmatter": "^5.0.0",
53 "remark-mdx": "^3.1.0",
54 "remark-parse": "^11.0.0",
55 "remark-stringify": "^11.0.0",
56 "slugify": "^1.6.6",
57 "to-vfile": "^8.0.0",
58 "unified": "^11.0.4",
59 "vfile-matter": "^5.0.0"
60 },
61 "devDependencies": {
62 "@types/node": "^20.11.20",
63 "rimraf": "^5.0.5",
64 "tsconfig": "*",
65 "types": "*",
66 "typescript": "^5.3.3",
67 "vite-tsconfig-paths": "^5.1.4",
68 "vitest": "^2.1.8"
69 },
70 "engines": {
71 "node": ">=18.17.0"
72 }
73 }