mdx-unified-bundler
v1.3.0
Published
Load mdx content from anywhere in next.js or nodejs, support shikiji,shikiji-twoslash, shikiji-transforms
Downloads
6
Readme
Features
- ⚡️ Vitest 0.34
- ⭐ Node 18
- ⛑ TypeScript
- 📏 ESLint — To find and fix problems in your code
- 💖 Prettier — Code Formatter for consistent style
- 🐶 Husky — For running scripts before committing
- 🚓 Commitlint — To make sure your commit messages follow the convention
- 🚫 lint-staged — Run ESLint and Prettier against staged Git files
- ⚙️ EditorConfig - Consistent coding styles across editors and IDEs
- 🗂 Path Mapping — Import components or images using the
~/
prefix
Development
To start the project locally, run:
npm dev
our
yarn dev
Requirements
- Node.js >= 18.13.0
- npm our yarn
Scripts
yarn/npm dev
— Starts the application in development mode.yarn/npm build
— Creates an optimized production build of your application.yarn/npm start
— Starts the application in production mode.yarn/npm lint
— Runs ESLint for all files.yarn/npm format
— Try format files use prettier.yarn/npm lint:fix
— Try fix files use eslint.yarn/npm lint:all
— Runs all lint scripts and format:npm run format && npm run lint:fix && npm run lint
.yarn/npm test
— Runs test files without watch mode.yarn/npm test:watch
— Runs test files with watch mode.yarn/npm test:ui
— Run in browser UI views tests.yarn/npm test:coverage
— Runs test files with coverage report.