| { |
| "author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)", |
| "bugs": "https://github.com/syntax-tree/mdast-util-from-markdown/issues", |
| "contributors": [ |
| "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)" |
| ], |
| "dependencies": { |
| "@types/mdast": "^3.0.0", |
| "mdast-util-to-string": "^1.0.0", |
| "micromark": "~2.10.0", |
| "parse-entities": "^2.0.0" |
| }, |
| "description": "mdast utility to parse markdown", |
| "devDependencies": { |
| "@babel/cli": "^7.0.0", |
| "@babel/core": "^7.0.0", |
| "browserify": "^17.0.0", |
| "commonmark.json": "^0.29.0", |
| "dtslint": "^4.0.0", |
| "gzip-size-cli": "^3.0.0", |
| "hast-util-to-html": "^7.0.0", |
| "mdast-util-to-hast": "^10.0.0", |
| "nyc": "^15.0.0", |
| "prettier": "^2.0.0", |
| "rehype-parse": "^7.0.0", |
| "rehype-stringify": "^8.0.0", |
| "remark-cli": "^9.0.0", |
| "remark-preset-wooorm": "^8.0.0", |
| "tape": "^5.0.0", |
| "tinyify": "^3.0.0", |
| "unified": "^9.0.0", |
| "xo": "^0.34.0" |
| }, |
| "files": [ |
| "dist/", |
| "lib/", |
| "index.js", |
| "types/index.d.ts" |
| ], |
| "funding": { |
| "type": "opencollective", |
| "url": "https://opencollective.com/unified" |
| }, |
| "keywords": [ |
| "unist", |
| "mdast", |
| "mdast-util", |
| "util", |
| "utility", |
| "markdown", |
| "markup", |
| "parse", |
| "syntax", |
| "tree", |
| "ast" |
| ], |
| "license": "MIT", |
| "name": "mdast-util-from-markdown", |
| "nyc": { |
| "branches": 100, |
| "check-coverage": true, |
| "functions": 100, |
| "lines": 100 |
| }, |
| "prettier": { |
| "bracketSpacing": false, |
| "semi": false, |
| "singleQuote": true, |
| "tabWidth": 2, |
| "trailingComma": "none", |
| "useTabs": false |
| }, |
| "remarkConfig": { |
| "plugins": [ |
| "preset-wooorm" |
| ] |
| }, |
| "repository": "syntax-tree/mdast-util-from-markdown", |
| "scripts": { |
| "format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix", |
| "generate": "npm run generate-dist && npm run generate-size", |
| "generate-dist": "babel lib/ --out-dir dist/ --quiet --retain-lines --plugins ./micromark/script/babel-transform-constants.js; prettier dist/ --loglevel error --write", |
| "generate-size": "browserify . -p tinyify -s mdast-util-from-markdown -o mdast-util-from-markdown.min.js; gzip-size mdast-util-from-markdown.min.js", |
| "prepare": "if [ -d \"micromark\" ] ; then\ncd \"micromark\" && git pull\nelse\ngit clone https://github.com/micromark/micromark.git\nfi", |
| "test": "npm run format && npm run generate && npm run test-coverage && npm run test-types", |
| "test-api": "node test", |
| "test-coverage": "nyc --reporter lcov tape test/index.js", |
| "test-types": "dtslint types" |
| }, |
| "types": "types", |
| "version": "0.8.1", |
| "xo": { |
| "esnext": false, |
| "ignores": [ |
| "types/" |
| ], |
| "prettier": true, |
| "rules": { |
| "complexity": "off", |
| "guard-for-in": "off", |
| "unicorn/no-fn-reference-in-iterator": "off", |
| "unicorn/prefer-includes": "off", |
| "unicorn/prefer-number-properties": "off", |
| "unicorn/prefer-optional-catch-binding": "off", |
| "unicorn/prefer-set-has": "off" |
| } |
| } |
| } |