Refactor package.json
This commit is contained in:
parent
f2eefc2418
commit
7e9a5a78b8
1 changed files with 36 additions and 38 deletions
74
package.json
74
package.json
|
@ -1,43 +1,16 @@
|
||||||
{
|
{
|
||||||
"name": "remark-directive",
|
|
||||||
"version": "3.0.0",
|
|
||||||
"description": "remark plugin to support directives",
|
|
||||||
"license": "MIT",
|
|
||||||
"keywords": [
|
|
||||||
"container",
|
|
||||||
"directive",
|
|
||||||
"generic",
|
|
||||||
"markdown",
|
|
||||||
"mdast",
|
|
||||||
"plugin",
|
|
||||||
"remark",
|
|
||||||
"remark-plugin",
|
|
||||||
"unified"
|
|
||||||
],
|
|
||||||
"repository": "remarkjs/remark-directive",
|
|
||||||
"bugs": "https://github.com/remarkjs/remark-directive/issues",
|
|
||||||
"funding": {
|
|
||||||
"type": "opencollective",
|
|
||||||
"url": "https://opencollective.com/unified"
|
|
||||||
},
|
|
||||||
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
|
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
|
||||||
|
"bugs": "https://github.com/remarkjs/remark-directive/issues",
|
||||||
"contributors": [
|
"contributors": [
|
||||||
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
|
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
|
||||||
],
|
],
|
||||||
"sideEffects": false,
|
|
||||||
"type": "module",
|
|
||||||
"exports": "./index.js",
|
|
||||||
"files": [
|
|
||||||
"lib/",
|
|
||||||
"index.d.ts",
|
|
||||||
"index.js"
|
|
||||||
],
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/mdast": "^4.0.0",
|
"@types/mdast": "^4.0.0",
|
||||||
"mdast-util-directive": "^3.0.0",
|
"mdast-util-directive": "^3.0.0",
|
||||||
"micromark-extension-directive": "^3.0.0",
|
"micromark-extension-directive": "^3.0.0",
|
||||||
"unified": "^11.0.0"
|
"unified": "^11.0.0"
|
||||||
},
|
},
|
||||||
|
"description": "remark plugin to support directives",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^22.0.0",
|
"@types/node": "^22.0.0",
|
||||||
"c8": "^10.0.0",
|
"c8": "^10.0.0",
|
||||||
|
@ -51,14 +24,29 @@
|
||||||
"typescript": "^5.0.0",
|
"typescript": "^5.0.0",
|
||||||
"xo": "^0.60.0"
|
"xo": "^0.60.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"exports": "./index.js",
|
||||||
"build": "tsc --build --clean && tsc --build && type-coverage",
|
"files": [
|
||||||
"format": "remark . --frail --output --quiet && prettier . --log-level warn --write && xo --fix",
|
"index.d.ts",
|
||||||
"prepack": "npm run build && npm run format",
|
"index.js",
|
||||||
"test": "npm run build && npm run format && npm run test-coverage",
|
"lib/"
|
||||||
"test-api": "node --conditions development test/index.js",
|
],
|
||||||
"test-coverage": "c8 --100 --reporter lcov npm run test-api"
|
"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": {
|
"prettier": {
|
||||||
"bracketSpacing": false,
|
"bracketSpacing": false,
|
||||||
"singleQuote": true,
|
"singleQuote": true,
|
||||||
|
@ -72,12 +60,22 @@
|
||||||
"remark-preset-wooorm"
|
"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": {
|
"typeCoverage": {
|
||||||
"atLeast": 100,
|
"atLeast": 100,
|
||||||
"detail": true,
|
|
||||||
"ignoreCatch": true,
|
|
||||||
"strict": true
|
"strict": true
|
||||||
},
|
},
|
||||||
|
"type": "module",
|
||||||
|
"version": "3.0.0",
|
||||||
"xo": {
|
"xo": {
|
||||||
"overrides": [
|
"overrides": [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue