🔧 fix exports (package.json)
This commit is contained in:
parent
b13db32db4
commit
e1842a216a
1 changed files with 114 additions and 125 deletions
239
package.json
239
package.json
|
@ -1,127 +1,116 @@
|
||||||
{
|
{
|
||||||
"name": "micromark-extension-directive",
|
"name": "micromark-extension-directive",
|
||||||
"version": "3.0.1",
|
"version": "3.0.1",
|
||||||
"description": "micromark extension to support generic directives (`:cite[smith04]`)",
|
"description": "micromark extension to support generic directives (`:cite[smith04]`)",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"micromark",
|
"micromark",
|
||||||
"micromark-extension",
|
"micromark-extension",
|
||||||
"generic",
|
"generic",
|
||||||
"directive",
|
"directive",
|
||||||
"container",
|
"container",
|
||||||
"extension",
|
"extension",
|
||||||
"markdown",
|
"markdown",
|
||||||
"unified"
|
"unified"
|
||||||
],
|
],
|
||||||
"repository": "micromark/micromark-extension-directive",
|
"repository": "micromark/micromark-extension-directive",
|
||||||
"bugs": "https://github.com/micromark/micromark-extension-directive/issues",
|
"bugs": "https://github.com/micromark/micromark-extension-directive/issues",
|
||||||
"funding": {
|
"funding": {
|
||||||
"type": "opencollective",
|
"type": "opencollective",
|
||||||
"url": "https://opencollective.com/unified"
|
"url": "https://opencollective.com/unified"
|
||||||
},
|
},
|
||||||
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
|
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
|
||||||
"contributors": [
|
"contributors": ["Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"],
|
||||||
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
|
"sideEffects": false,
|
||||||
],
|
"type": "module",
|
||||||
"sideEffects": false,
|
"exports": {
|
||||||
"type": "module",
|
"development": "./dev/index.js",
|
||||||
"exports": {
|
"default": "./dev/index.js"
|
||||||
"development": "./dev/index.js",
|
},
|
||||||
"default": "./index.js"
|
"files": ["dev/", "lib/", "index.d.ts", "index.js"],
|
||||||
},
|
"dependencies": {
|
||||||
"files": [
|
"devlop": "^1.0.0",
|
||||||
"dev/",
|
"micromark-factory-space": "^2.0.0",
|
||||||
"lib/",
|
"micromark-factory-whitespace": "^2.0.0",
|
||||||
"index.d.ts",
|
"micromark-util-character": "^2.0.0",
|
||||||
"index.js"
|
"micromark-util-symbol": "^2.0.0",
|
||||||
],
|
"micromark-util-types": "^2.0.0",
|
||||||
"dependencies": {
|
"parse-entities": "^4.0.0"
|
||||||
"devlop": "^1.0.0",
|
},
|
||||||
"micromark-factory-space": "^2.0.0",
|
"devDependencies": {
|
||||||
"micromark-factory-whitespace": "^2.0.0",
|
"@types/node": "^20.0.0",
|
||||||
"micromark-util-character": "^2.0.0",
|
"c8": "^10.0.0",
|
||||||
"micromark-util-symbol": "^2.0.0",
|
"html-void-elements": "^3.0.0",
|
||||||
"micromark-util-types": "^2.0.0",
|
"micromark": "^4.0.0",
|
||||||
"parse-entities": "^4.0.0"
|
"micromark-build": "^2.0.0",
|
||||||
},
|
"prettier": "^3.0.0",
|
||||||
"devDependencies": {
|
"remark-cli": "^12.0.0",
|
||||||
"@types/node": "^20.0.0",
|
"remark-preset-wooorm": "^10.0.0",
|
||||||
"c8": "^10.0.0",
|
"type-coverage": "^2.0.0",
|
||||||
"html-void-elements": "^3.0.0",
|
"typescript": "^5.0.0",
|
||||||
"micromark": "^4.0.0",
|
"xo": "^0.58.0"
|
||||||
"micromark-build": "^2.0.0",
|
},
|
||||||
"prettier": "^3.0.0",
|
"scripts": {
|
||||||
"remark-cli": "^12.0.0",
|
"prepack": "npm run build && npm run format",
|
||||||
"remark-preset-wooorm": "^10.0.0",
|
"build": "tsc --build --clean && tsc --build && type-coverage && micromark-build",
|
||||||
"type-coverage": "^2.0.0",
|
"format": "remark . -qfo && prettier . -w --log-level warn && xo --fix",
|
||||||
"typescript": "^5.0.0",
|
"test-api-prod": "node --conditions production test/index.js",
|
||||||
"xo": "^0.58.0"
|
"test-api-dev": "node --conditions development test/index.js",
|
||||||
},
|
"test-api": "npm run test-api-dev && npm run test-api-prod",
|
||||||
"scripts": {
|
"test-coverage": "c8 --100 --reporter lcov npm run test-api",
|
||||||
"prepack": "npm run build && npm run format",
|
"test": "npm run build && npm run format && npm run test-coverage"
|
||||||
"build": "tsc --build --clean && tsc --build && type-coverage && micromark-build",
|
},
|
||||||
"format": "remark . -qfo && prettier . -w --log-level warn && xo --fix",
|
"prettier": {
|
||||||
"test-api-prod": "node --conditions production test/index.js",
|
"bracketSpacing": false,
|
||||||
"test-api-dev": "node --conditions development test/index.js",
|
"semi": false,
|
||||||
"test-api": "npm run test-api-dev && npm run test-api-prod",
|
"singleQuote": true,
|
||||||
"test-coverage": "c8 --100 --reporter lcov npm run test-api",
|
"tabWidth": 2,
|
||||||
"test": "npm run build && npm run format && npm run test-coverage"
|
"trailingComma": "none",
|
||||||
},
|
"useTabs": false
|
||||||
"prettier": {
|
},
|
||||||
"bracketSpacing": false,
|
"remarkConfig": {
|
||||||
"semi": false,
|
"plugins": ["remark-preset-wooorm"]
|
||||||
"singleQuote": true,
|
},
|
||||||
"tabWidth": 2,
|
"typeCoverage": {
|
||||||
"trailingComma": "none",
|
"atLeast": 100,
|
||||||
"useTabs": false
|
"detail": true,
|
||||||
},
|
"ignoreCatch": true,
|
||||||
"remarkConfig": {
|
"strict": true
|
||||||
"plugins": [
|
},
|
||||||
"remark-preset-wooorm"
|
"xo": {
|
||||||
]
|
"overrides": [
|
||||||
},
|
{
|
||||||
"typeCoverage": {
|
"files": ["**/*.d.ts"],
|
||||||
"atLeast": 100,
|
"rules": {
|
||||||
"detail": true,
|
"@typescript-eslint/array-type": [
|
||||||
"ignoreCatch": true,
|
"error",
|
||||||
"strict": true
|
{
|
||||||
},
|
"default": "generic"
|
||||||
"xo": {
|
}
|
||||||
"overrides": [
|
],
|
||||||
{
|
"@typescript-eslint/ban-types": [
|
||||||
"files": [
|
"error",
|
||||||
"**/*.d.ts"
|
{
|
||||||
],
|
"extendDefaults": true
|
||||||
"rules": {
|
}
|
||||||
"@typescript-eslint/array-type": [
|
],
|
||||||
"error",
|
"@typescript-eslint/consistent-indexed-object-style": [
|
||||||
{
|
"error",
|
||||||
"default": "generic"
|
"index-signature"
|
||||||
}
|
],
|
||||||
],
|
"@typescript-eslint/consistent-type-definitions": [
|
||||||
"@typescript-eslint/ban-types": [
|
"error",
|
||||||
"error",
|
"interface"
|
||||||
{
|
]
|
||||||
"extendDefaults": true
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"@typescript-eslint/consistent-indexed-object-style": [
|
"prettier": true,
|
||||||
"error",
|
"rules": {
|
||||||
"index-signature"
|
"logical-assignment-operators": "off",
|
||||||
],
|
"max-params": "off",
|
||||||
"@typescript-eslint/consistent-type-definitions": [
|
"unicorn/no-this-assignment": "off",
|
||||||
"error",
|
"unicorn/prefer-at": "off"
|
||||||
"interface"
|
}
|
||||||
]
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"prettier": true,
|
|
||||||
"rules": {
|
|
||||||
"logical-assignment-operators": "off",
|
|
||||||
"max-params": "off",
|
|
||||||
"unicorn/no-this-assignment": "off",
|
|
||||||
"unicorn/prefer-at": "off"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue