72 lines
1.7 KiB
JSON
72 lines
1.7 KiB
JSON
{
|
|
"name": "supMDX",
|
|
"version": "0.1.0",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "git rebase main && next build && next export && rm -rf docs && mv out docs",
|
|
"lint": "eslint --ext .js,.jsx,.ts,.tsx,.mdx ."
|
|
},
|
|
"eslintConfig": {
|
|
"extends": [
|
|
"next/core-web-vitals",
|
|
"@sup39/typescript"
|
|
],
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"*.ts",
|
|
"*.tsx"
|
|
],
|
|
"rules": {
|
|
"no-undef": "off",
|
|
"@next/next/no-img-element": "off"
|
|
}
|
|
},
|
|
{
|
|
"files": [
|
|
"*.mdx"
|
|
],
|
|
"extends": [
|
|
"plugin:mdx/recommended"
|
|
],
|
|
"rules": {
|
|
"no-trailing-spaces": "off",
|
|
"indent": "off"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"eslintIgnore": [
|
|
"node_modules"
|
|
],
|
|
"dependencies": {
|
|
"@mdx-js/loader": "^2.3.0",
|
|
"@mdx-js/react": "^2.3.0",
|
|
"@next/mdx": "~13.0.7",
|
|
"@sup39/mdx-components": "^0.1.0",
|
|
"@sup39/mdx-page": "^0.3.0",
|
|
"@sup39/rehype-mdx-auto-import": "^1.0.0",
|
|
"@sup39/rehype-mdx-component-wrapper": "^0.1.0",
|
|
"@sup39/rehype-mdx-export-headings": "^0.1.1",
|
|
"next": "^13.2.4",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"rehype-katex": "^6.0.2",
|
|
"remark-frontmatter": "^4.0.1",
|
|
"remark-gfm": "^3.0.1",
|
|
"remark-math": "^5.1.1",
|
|
"remark-mdx-frontmatter": "^2.1.1",
|
|
"sass": "^1.56.0",
|
|
"yaml-loader": "^0.8.0"
|
|
},
|
|
"devDependencies": {
|
|
"@sup39/eslint-config-typescript": "^0.1.5",
|
|
"@types/node": "^18.13.0",
|
|
"@types/react": "^18.0.28",
|
|
"eslint": "^8.34.0",
|
|
"eslint-config-next": "^13.1.6",
|
|
"eslint-plugin-mdx": "^2.0.5",
|
|
"typescript": "^4.9.5"
|
|
}
|
|
}
|