forked from hashicorp/next-mdx-remote
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
118 lines (118 loc) · 3.21 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
{
"name": "next-mdx-remote",
"description": "utilities for loading mdx from any remote source as data, rather than as a local import",
"version": "4.0.3",
"author": "Jeff Escalante",
"bugs": {
"url": "https://github.com/hashicorp/next-mdx-remote/issues"
},
"exports": {
".": "./index.js",
"./serialize": "./serialize.js"
},
"dependencies": {
"@mdx-js/mdx": "^2.0.0",
"@mdx-js/react": "^2.0.0",
"vfile": "^5.3.0",
"vfile-matter": "^3.0.1"
},
"devDependencies": {
"@babel/code-frame": "^7.16.0",
"@hashicorp/remark-plugins": "^3.2.1",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.0.6",
"@rollup/plugin-typescript": "^8.3.0",
"@types/babel__code-frame": "^7.0.3",
"@types/cross-spawn": "^6.0.2",
"@types/jest": "^27.0.2",
"@types/node": "^16.11.6",
"@types/puppeteer": "^5.4.4",
"@types/react": "^17.0.33",
"@types/rmfr": "^2.0.1",
"@types/serve-handler": "^6.1.1",
"cheerio": "^1.0.0-rc.10",
"cross-spawn": "^7.0.3",
"esbuild-jest": "^0.5.0",
"husky": "^4.3.6",
"jest": "^27.3.1",
"next": "^12.1.5",
"prettier": "^2.4.1",
"pretty-quick": "^3.1.1",
"puppeteer": "^10.4.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"release": "^6.3.0",
"rmfr": "^2.0.0",
"rollup": "^2.59.0",
"serve-handler": "^6.1.3",
"tslib": "^2.3.1",
"typescript": "^4.4.4",
"unist-util-remove": "^3.1.0"
},
"homepage": "https://github.com/hashicorp/next-mdx-remote#readme",
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"jest": {
"testPathIgnorePatterns": [
"fixtures"
],
"transformIgnorePatterns": [
"/node_modules/(?!(@mdx-js|unist-|unified|bail|is-plain-obj|trough|vfile|remark-|micromark-|micromark|estree-util-|parse-entities|character-entities|mdast-util-|character-reference-invalid|is-|stringify-entities|periscopic|hast-util-|comma-separated-tokens|property-information|space-separated-tokens|zwitch|ccount|decode-named-character-reference))"
],
"transform": {
"\\.m?[jt]sx?$": [
"esbuild-jest",
{
"sourcemap": true,
"loaders": {
".mjs": "jsx"
}
}
]
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"mjs"
],
"verbose": true
},
"keywords": [
"markdown",
"mdx",
"next",
"next.js"
],
"license": "MPL-2.0",
"peerDependencies": {
"react": ">=16.x <=18.x",
"react-dom": ">=16.x <=18.x"
},
"engines": {
"node": ">=14",
"npm": ">=7"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hashicorp/next-mdx-remote.git"
},
"scripts": {
"build": "rm -rf ./dist && rollup -c rollup.config.js",
"postbuild": "cp ./src/jsx-runtime.cjs dist",
"lint": "prettier --write \"./**/*.{js,jsx,json}\"",
"release:major": "release major && npm publish",
"release:minor": "release minor && npm publish",
"release:patch": "release patch && npm publish",
"prepublishOnly": "npm run build",
"test": "jest"
},
"sideEffects": false,
"types": "index.d.ts",
"type": "module"
}