106 lines
2.5 KiB
JSON
106 lines
2.5 KiB
JSON
{
|
|
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
|
|
"bugs": "https://github.com/remarkjs/remark-directive/issues",
|
|
"contributors": ["Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"],
|
|
"dependencies": {
|
|
"@types/mdast": "^4.0.0",
|
|
"mdast-util-directive": "^3.0.0",
|
|
"micromark-extension-directive": "git+https://git.v-sli.me/HidemaruOwO/micromark-extension-directive.git#fix.1",
|
|
"unified": "^11.0.0"
|
|
},
|
|
"description": "remark plugin to support directives",
|
|
"devDependencies": {
|
|
"@types/node": "^22.0.0",
|
|
"c8": "^10.0.0",
|
|
"is-hidden": "^2.0.0",
|
|
"prettier": "^3.0.0",
|
|
"remark": "^15.0.0",
|
|
"remark-cli": "^12.0.0",
|
|
"remark-preset-wooorm": "^10.0.0",
|
|
"to-vfile": "^8.0.0",
|
|
"type-coverage": "^2.0.0",
|
|
"typescript": "^5.0.0",
|
|
"xo": "^0.60.0"
|
|
},
|
|
"exports": "./index.js",
|
|
"files": ["index.d.ts", "index.js", "lib/"],
|
|
"funding": {
|
|
"type": "opencollective",
|
|
"url": "https://opencollective.com/unified"
|
|
},
|
|
"keywords": [
|
|
"container",
|
|
"directive",
|
|
"generic",
|
|
"markdown",
|
|
"mdast",
|
|
"plugin",
|
|
"remark-plugin",
|
|
"remark",
|
|
"unified"
|
|
],
|
|
"license": "MIT",
|
|
"name": "remark-directive",
|
|
"prettier": {
|
|
"bracketSpacing": false,
|
|
"singleQuote": true,
|
|
"semi": false,
|
|
"tabWidth": 2,
|
|
"trailingComma": "none",
|
|
"useTabs": false
|
|
},
|
|
"remarkConfig": {
|
|
"plugins": ["remark-preset-wooorm"]
|
|
},
|
|
"repository": "remarkjs/remark-directive",
|
|
"scripts": {
|
|
"build": "tsc --build --clean && tsc --build && type-coverage",
|
|
"format": "remark --frail --output --quiet -- . && prettier --log-level warn --write -- . && xo --fix",
|
|
"prepack": "npm run build && npm run format",
|
|
"test-api": "node --conditions development test/index.js",
|
|
"test-coverage": "c8 --100 --reporter lcov -- npm run test-api",
|
|
"test": "npm run build && npm run format && npm run test-coverage"
|
|
},
|
|
"sideEffects": false,
|
|
"typeCoverage": {
|
|
"atLeast": 100,
|
|
"strict": true
|
|
},
|
|
"type": "module",
|
|
"version": "3.0.1",
|
|
"xo": {
|
|
"overrides": [
|
|
{
|
|
"files": ["**/*.d.ts"],
|
|
"rules": {
|
|
"@typescript-eslint/array-type": [
|
|
"error",
|
|
{
|
|
"default": "generic"
|
|
}
|
|
],
|
|
"@typescript-eslint/ban-types": [
|
|
"error",
|
|
{
|
|
"extendDefaults": true
|
|
}
|
|
],
|
|
"@typescript-eslint/consistent-type-definitions": [
|
|
"error",
|
|
"interface"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"files": ["test/**/*.js"],
|
|
"rules": {
|
|
"no-await-in-loop": "off"
|
|
}
|
|
}
|
|
],
|
|
"prettier": true,
|
|
"rules": {
|
|
"logical-assignment-operators": "off"
|
|
}
|
|
}
|
|
}
|