78 lines
2.1 KiB
JSON
78 lines
2.1 KiB
JSON
{
|
|
"name": "micromark-extension-directive",
|
|
"version": "1.4.0",
|
|
"description": "micromark extension to support generic directives (`:cite[smith04]`)",
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"micromark",
|
|
"micromark-extension",
|
|
"generic",
|
|
"directive",
|
|
"container",
|
|
"extension",
|
|
"markdown",
|
|
"unified"
|
|
],
|
|
"repository": "micromark/micromark-extension-directive",
|
|
"bugs": "https://github.com/micromark/micromark-extension-directive/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",
|
|
"files": [
|
|
"lib/",
|
|
"index.js"
|
|
],
|
|
"dependencies": {
|
|
"micromark": "^3.0.0-alpha.2",
|
|
"micromark-factory-space": "^1.0.0-alpha.2",
|
|
"micromark-factory-whitespace": "^1.0.0-alpha.2",
|
|
"micromark-util-character": "^1.0.0-alpha.2",
|
|
"parse-entities": "^3.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"c8": "^7.0.0",
|
|
"html-void-elements": "^2.0.0",
|
|
"prettier": "^2.0.0",
|
|
"remark-cli": "^9.0.0",
|
|
"remark-preset-wooorm": "^8.0.0",
|
|
"tape": "^5.0.0",
|
|
"xo": "^0.39.0"
|
|
},
|
|
"scripts": {
|
|
"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 format && npm run test-coverage"
|
|
},
|
|
"prettier": {
|
|
"tabWidth": 2,
|
|
"useTabs": false,
|
|
"singleQuote": true,
|
|
"bracketSpacing": false,
|
|
"semi": false,
|
|
"trailingComma": "none"
|
|
},
|
|
"xo": {
|
|
"prettier": true,
|
|
"rules": {
|
|
"no-var": "off",
|
|
"prefer-arrow-callback": "off",
|
|
"guard-for-in": "off",
|
|
"unicorn/explicit-length-check": "off",
|
|
"unicorn/no-this-assignment": "off"
|
|
}
|
|
},
|
|
"remarkConfig": {
|
|
"plugins": [
|
|
"preset-wooorm"
|
|
]
|
|
}
|
|
}
|