blob: bcf79938de78d2ec27e853c85bc7eee64ae6bb0d [file] [log] [blame]
{
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
"bugs": "https://github.com/micromark/micromark/issues",
"contributors": [
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
"John Otander <johnotander@gmail.com> (https://johno.com)",
"Stephan Schneider <stephanschndr@gmail.com>",
"Victor Felder <victor@draft.li> (https://draft.li)",
"Mudit Ameta <zeusdeux@gmail.com> (https://mudit.xyz)",
"Christian Murphy <christian.murphy.42@gmail.com>",
"Marouane Fazouane <fazouanem3@gmail.com>",
"Merlijn Vos <merlijn@soverin.net>"
],
"dependencies": {
"debug": "^4.0.0",
"parse-entities": "^2.0.0"
},
"description": "small commonmark compliant markdown parser with positional info and concrete tokens",
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@types/events": "^3.0.0",
"babel-plugin-unassert": "^3.0.0",
"browserify": "^17.0.0",
"character-entities": "^1.0.0",
"commonmark.json": "^0.29.0",
"concat-stream": "^2.0.0",
"dtslint": "^4.0.0",
"eslint-plugin-es": "^3.0.0",
"eslint-plugin-security": "^1.0.0",
"eslint-plugin-sonarjs": "^0.5.0",
"gzip-size-cli": "^3.0.0",
"jsfuzz": "1.0.14",
"ms": "^2.0.0",
"nyc": "^15.0.0",
"patch-package": "^6.0.0",
"prettier": "^2.0.0",
"regenerate": "^1.0.0",
"remark-cli": "^8.0.0",
"remark-preset-wooorm": "^7.0.0",
"resolve-from": "^5.0.0",
"tape": "^5.0.0",
"tinyify": "^3.0.0",
"unicode-13.0.0": "^0.8.0",
"xo": "^0.33.0"
},
"files": [
"dist/",
"lib/",
"buffer.js",
"stream.js",
"index.js",
"buffer.d.ts",
"stream.d.ts",
"index.d.ts"
],
"funding": [
{
"type": "GitHub Sponsors",
"url": "https://github.com/sponsors/unifiedjs"
},
{
"type": "OpenCollective",
"url": "https://opencollective.com/unified"
}
],
"keywords": [
"commonmark",
"compiler",
"gfm",
"html",
"lexer",
"markdown",
"markup",
"md",
"unified",
"parse",
"parser",
"plugin",
"process",
"remark",
"render",
"renderer",
"token",
"tokenizer"
],
"license": "MIT",
"name": "micromark",
"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",
[
"lint-no-html",
false
]
]
},
"repository": "micromark/micromark",
"scripts": {
"format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
"generate": "npm run generate-constant-typings && npm run generate-expressions && npm run generate-dist && npm run generate-size",
"generate-constant-typings": "node script/generate-constant-typings",
"generate-dist": "babel lib --out-dir dist --quiet --retain-lines --plugins babel-plugin-unassert,./script/babel-transform-undebug.js,./script/babel-transform-constants.js; node script/copy-dict.js; prettier dist --loglevel error --write",
"generate-expressions": "node script/generate-expressions",
"generate-size": "browserify . -p tinyify -s micromark -o micromark.min.js; gzip-size micromark.min.js; gzip-size --raw micromark.min.js",
"pretest-fuzz": "patch-package --patch-dir script/patches; node script/generate-fixtures",
"test": "npm run generate && npm run format && npm run test-coverage && npm run test-types",
"test-api": "node test",
"test-coverage": "nyc --reporter lcov tape test/index.js",
"test-fuzz": "timeout 15m jsfuzz test/fuzz.js test/fixtures --rss-limit-mb 300 --timeout 300",
"test-types": "dtslint ."
},
"types": "index.d.ts",
"version": "2.10.1",
"xo": {
"envs": [
"shared-node-browser"
],
"esnext": false,
"ignores": [
"micromark.test.ts",
"dist/"
],
"overrides": [
{
"extends": [
"plugin:es/no-2015",
"plugin:security/recommended",
"plugin:sonarjs/recommended"
],
"files": [
"lib/**/*.js"
],
"plugin": [
"es"
],
"rules": {
"complexity": "off",
"es/no-array-from": "off",
"es/no-object-assign": "off",
"guard-for-in": "off",
"max-depth": "off",
"no-multi-assign": "off",
"no-unmodified-loop-condition": "off",
"security/detect-object-injection": "off",
"sonarjs/cognitive-complexity": "off",
"unicorn/explicit-length-check": "off",
"unicorn/prefer-includes": "off",
"unicorn/prefer-number-properties": "off"
}
},
{
"files": [
"test/**/*.js"
],
"rules": {
"import/no-unassigned-import": "off"
}
}
],
"prettier": true
}
}