mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-04 23:29:30 +08:00
115 lines
3.1 KiB
Text
115 lines
3.1 KiB
Text
{
|
|
"name": "mdast-util-from-markdown",
|
|
"version": "1.2.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",
|
|
"main": "index.js",
|
|
"types": "index.d.ts",
|
|
"files": [
|
|
"dev/",
|
|
"lib/",
|
|
"index.d.ts",
|
|
"index.js"
|
|
],
|
|
"exports": {
|
|
"development": "./dev/index.js",
|
|
"default": "./index.js"
|
|
},
|
|
"dependencies": {
|
|
"@types/mdast": "^3.0.0",
|
|
"@types/unist": "^2.0.0",
|
|
"decode-named-character-reference": "^1.0.0",
|
|
"mdast-util-to-string": "^3.1.0",
|
|
"micromark": "^3.0.0",
|
|
"micromark-util-decode-numeric-character-reference": "^1.0.0",
|
|
"micromark-util-decode-string": "^1.0.0",
|
|
"micromark-util-normalize-identifier": "^1.0.0",
|
|
"micromark-util-symbol": "^1.0.0",
|
|
"micromark-util-types": "^1.0.0",
|
|
"unist-util-stringify-position": "^3.0.0",
|
|
"uvu": "^0.5.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/power-assert": "^1.0.0",
|
|
"@types/tape": "^4.0.0",
|
|
"c8": "^7.0.0",
|
|
"commonmark.json": "^0.30.0",
|
|
"esbuild": "^0.13.0",
|
|
"gzip-size-cli": "^5.0.0",
|
|
"hast-util-to-html": "^8.0.0",
|
|
"mdast-util-to-hast": "^12.0.0",
|
|
"micromark-build": "^1.0.0",
|
|
"prettier": "^2.0.0",
|
|
"rehype-parse": "^8.0.0",
|
|
"rehype-stringify": "^9.0.0",
|
|
"remark-cli": "^10.0.0",
|
|
"remark-preset-wooorm": "^9.0.0",
|
|
"rimraf": "^3.0.0",
|
|
"tape": "^5.0.0",
|
|
"terser": "^5.0.0",
|
|
"type-coverage": "^2.0.0",
|
|
"typescript": "^4.0.0",
|
|
"unified": "^10.0.0",
|
|
"xo": "^0.46.0"
|
|
},
|
|
"scripts": {
|
|
"build": "rimraf \"dev/**/*.d.ts\" \"test/**/*.d.ts\" && tsc && type-coverage && micromark-build && esbuild . --bundle --minify | terser | gzip-size --raw",
|
|
"format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
|
|
"test-api": "node --conditions development test/index.js",
|
|
"test-coverage": "c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node --conditions development test/index.js",
|
|
"test": "npm run build && npm run format && npm run test-coverage"
|
|
},
|
|
"prettier": {
|
|
"tabWidth": 2,
|
|
"useTabs": false,
|
|
"singleQuote": true,
|
|
"bracketSpacing": false,
|
|
"semi": false,
|
|
"trailingComma": "none"
|
|
},
|
|
"xo": {
|
|
"prettier": true,
|
|
"rules": {
|
|
"complexity": "off",
|
|
"node/file-extension-in-import": "off",
|
|
"unicorn/prefer-switch": "off",
|
|
"unicorn/prefer-node-protocol": "off"
|
|
}
|
|
},
|
|
"remarkConfig": {
|
|
"plugins": [
|
|
"preset-wooorm"
|
|
]
|
|
},
|
|
"typeCoverage": {
|
|
"atLeast": 100,
|
|
"detail": true,
|
|
"strict": true,
|
|
"ignoreCatch": true
|
|
}
|
|
}
|