-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
123 lines (123 loc) · 3.55 KB
/
package.json
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"name": "next-mdx-remote-client",
"description": "A wrapper of the `@mdx-js/mdx` for the `nextjs` applications in order to load MDX content. It is a fork of `next-mdx-remote`.",
"version": "1.0.4",
"main": "./dist/csr/index.js",
"types": "./dist/csr/index.d.ts",
"type": "module",
"exports": {
".": "./dist/csr/index.js",
"./csr": "./dist/csr/index.js",
"./serialize": "./dist/csr/serialize.js",
"./rsc": "./dist/rsc/index.js",
"./utils": "./dist/utils/index.js"
},
"typesVersions": {
"*": {
"csr": [
"./dist/csr/index.d.ts"
],
"serialize": [
"./dist/csr/serialize.d.ts"
],
"rsc": [
"./dist/rsc/index.d.ts"
],
"utils": [
"./dist/utils/index.d.ts"
]
}
},
"scripts": {
"build": "rimraf dist && tsc --build && type-coverage",
"format": "npm run prettier && npm run lint",
"prettier": "prettier --write .",
"lint": "eslint .",
"pretest": "npm run build && npm pack --pack-destination ./dist",
"test:watch": "vitest --pool=vmThreads",
"test:file": "vitest --pool=vmThreads test.MDXProvider.spec.tsx",
"test": "npm run test:esm && npm run test:rest",
"test:esm": "vitest --pool=vmThreads --watch=false esm",
"test:rest": "vitest --pool=forks --watch=false --exclude 'tests/*esm*'",
"prepublishOnly": "npm run test && npm run format && npm run test-coverage",
"test-coverage": "vitest --pool=vmThreads run --coverage"
},
"files": [
"dist/",
"src/",
"LICENSE",
"README.md",
"tsconfig.json"
],
"repository": {
"type": "git",
"url": "git+https://github.com/ipikuka/next-mdx-remote-client.git"
},
"keywords": [
"markdown",
"MDX",
"@mdx-js/mdx",
"nextjs",
"next-mdx-remote",
"next-mdx-remote-client"
],
"author": "ipikuka <[email protected]>",
"license": "MPL 2.0",
"homepage": "https://github.com/ipikuka/next-mdx-remote-client#readme",
"bugs": {
"url": "https://github.com/ipikuka/next-mdx-remote-client/issues"
},
"dependencies": {
"@babel/code-frame": "^7.24.7",
"@mdx-js/mdx": "^3.0.1",
"@mdx-js/react": "^3.0.1",
"@types/mdx": "^2.0.13",
"remark-mdx-remove-esm": "^1.1.0",
"serialize-error": "^11.0.3",
"vfile": "^6.0.1",
"vfile-matter": "^5.0.0"
},
"devDependencies": {
"@babel/eslint-parser": "^7.24.7",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^15.0.7",
"@types/babel__code-frame": "^7.0.6",
"@types/node": "^20.14.2",
"@types/react": "^18.3.3 || ^19.0.0",
"@types/react-dom": "^18.3.0 || ^19.0.0",
"@typescript-eslint/eslint-plugin": "^7.13.0",
"@typescript-eslint/parser": "^7.13.0",
"@vitejs/plugin-react-swc": "^3.7.0",
"@vitest/coverage-v8": "^1.6.0",
"dedent": "^1.5.3",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"jsdom": "^24.1.0",
"next": "^14.2.4",
"prettier": "^3.3.2",
"recma-mdx-change-props": "^1.1.1",
"recma-mdx-escape-missing-components": "^1.1.0",
"remark-emoji": "^5.0.0",
"remark-flexible-markers": "^1.2.1",
"remark-flexible-paragraphs": "^1.2.0",
"rimraf": "^5.0.7",
"type-coverage": "^2.29.0",
"typescript": "^5.4.5",
"vitest": "^1.6.0"
},
"peerDependencies": {
"react": "^18.3.1 || ^19.0.0",
"react-dom": "^18.3.1 || ^19.0.0"
},
"engines": {
"node": ">=18.17.0"
},
"typeCoverage": {
"atLeast": 100,
"detail": true,
"ignoreAsAssertion": true,
"ignoreCatch": true,
"strict": true
}
}