123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- {
- "name": "mdast-util-from-markdown",
- "version": "2.0.0",
- "description": "mdast utility to parse markdown",
- "license": "MIT",
- "keywords": [
- "unist",
- "mdast",
- "mdast-util",
- "util",
- "utility",
- "markdown",
- "markup",
- "parse",
- "syntax",
- "tree",
- "ast"
- ],
- "repository": "syntax-tree/mdast-util-from-markdown",
- "bugs": "https://github.com/syntax-tree/mdast-util-from-markdown/issues",
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/unified"
- },
- "author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
- "contributors": [
- "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
- ],
- "sideEffects": false,
- "type": "module",
- "exports": {
- "development": "./dev/index.js",
- "default": "./index.js"
- },
- "files": [
- "dev/",
- "lib/",
- "index.d.ts",
- "index.js"
- ],
- "dependencies": {
- "@types/mdast": "^4.0.0",
- "@types/unist": "^3.0.0",
- "decode-named-character-reference": "^1.0.0",
- "devlop": "^1.0.0",
- "mdast-util-to-string": "^4.0.0",
- "micromark": "^4.0.0",
- "micromark-util-decode-numeric-character-reference": "^2.0.0",
- "micromark-util-decode-string": "^2.0.0",
- "micromark-util-normalize-identifier": "^2.0.0",
- "micromark-util-symbol": "^2.0.0",
- "micromark-util-types": "^2.0.0",
- "unist-util-stringify-position": "^4.0.0"
- },
- "devDependencies": {
- "@types/node": "^20.0.0",
- "c8": "^8.0.0",
- "commonmark.json": "^0.30.0",
- "esbuild": "^0.18.0",
- "gzip-size-cli": "^5.0.0",
- "hast-util-from-html": "^1.0.0",
- "hast-util-to-html": "^8.0.0",
- "mdast-util-to-hast": "^12.0.0",
- "micromark-build": "^2.0.0",
- "prettier": "^2.0.0",
- "remark-cli": "^11.0.0",
- "remark-preset-wooorm": "^9.0.0",
- "terser": "^5.0.0",
- "type-coverage": "^2.0.0",
- "typescript": "^5.0.0",
- "xo": "^0.54.0"
- },
- "scripts": {
- "prepack": "npm run build && npm run format",
- "build": "tsc --build --clean && tsc --build && type-coverage && micromark-build && esbuild . --bundle --minify | terser | gzip-size --raw",
- "format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
- "test-api-dev": "node --conditions development test/index.js",
- "test-api-prod": "node --conditions production test/index.js",
- "test-api": "npm run test-api-dev && npm run test-api-prod",
- "test-coverage": "c8 --100 --reporter lcov npm run test-api",
- "test": "npm run build && npm run format && npm run test-coverage"
- },
- "prettier": {
- "bracketSpacing": false,
- "semi": false,
- "singleQuote": true,
- "tabWidth": 2,
- "trailingComma": "none",
- "useTabs": false
- },
- "remarkConfig": {
- "plugins": [
- "remark-preset-wooorm"
- ]
- },
- "typeCoverage": {
- "atLeast": 100,
- "detail": true,
- "ignoreCatch": true,
- "strict": true
- },
- "xo": {
- "overrides": [
- {
- "files": "**/*.ts",
- "rules": {
- "@typescript-eslint/consistent-type-definitions": "off"
- }
- },
- {
- "files": "test/**/*.js",
- "rules": {
- "no-await-in-loop": "off"
- }
- }
- ],
- "prettier": true,
- "rules": {
- "complexity": "off",
- "max-depth": "off"
- }
- }
- }
|