All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.package.json Maven / Gradle / Ivy

{
  "name": "mdast-util-mdx-expression",
  "version": "2.0.0",
  "description": "mdast extension to parse and serialize MDX (or MDX.js) expressions",
  "license": "MIT",
  "keywords": [
    "unist",
    "mdast",
    "mdast-util",
    "util",
    "utility",
    "markdown",
    "markup",
    "mdx",
    "mdxjs",
    "expression",
    "extension"
  ],
  "repository": "syntax-tree/mdast-util-mdx-expression",
  "bugs": "https://github.com/syntax-tree/mdast-util-mdx-expression/issues",
  "funding": {
    "type": "opencollective",
    "url": "https://opencollective.com/unified"
  },
  "author": "Titus Wormer  (https://wooorm.com)",
  "contributors": [
    "Titus Wormer  (https://wooorm.com)"
  ],
  "sideEffects": false,
  "type": "module",
  "exports": "./index.js",
  "files": [
    "lib/",
    "complex-types.d.ts",
    "index.d.ts",
    "index.js"
  ],
  "dependencies": {
    "@types/estree-jsx": "^1.0.0",
    "@types/hast": "^3.0.0",
    "@types/mdast": "^4.0.0",
    "devlop": "^1.0.0",
    "mdast-util-from-markdown": "^2.0.0",
    "mdast-util-to-markdown": "^2.0.0"
  },
  "devDependencies": {
    "@types/acorn": "^4.0.0",
    "@types/node": "^20.0.0",
    "acorn": "^8.0.0",
    "c8": "^8.0.0",
    "micromark-extension-mdx-expression": "^2.0.0",
    "prettier": "^2.0.0",
    "remark-cli": "^11.0.0",
    "remark-preset-wooorm": "^9.0.0",
    "type-coverage": "^2.0.0",
    "typescript": "^5.0.0",
    "unist-util-remove-position": "^5.0.0",
    "xo": "^0.54.0"
  },
  "scripts": {
    "prepack": "npm run build && npm run format",
    "build": "tsc --build --clean && tsc --build && type-coverage",
    "format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
    "test-api-prod": "node --conditions production test.js",
    "test-api-dev": "node --conditions development test.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/ban-types": "off",
          "@typescript-eslint/consistent-type-definitions": "off"
        }
      }
    ],
    "prettier": true
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy