-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
85 lines (85 loc) · 2.11 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"name": "rehype-slug-custom-id",
"version": "2.0.0",
"description": "plugin to add `id` attributes to headings similar to gatsby-remark-autolink-headers ",
"license": "MIT",
"keywords": [
"unified",
"rehype",
"rehype-plugin",
"plugin",
"html",
"heading",
"slug",
"id"
],
"repository": {
"type": "git",
"url": "git+https://github.com/unicorn-utterances/rehype-slug-custom-id.git"
},
"bugs": "https://github.com/unicorn-utterances/rehype-slug-custom-id/issues",
"sideEffects": false,
"type": "module",
"types": "index.d.ts",
"main": "index.js",
"files": [
"index.d.ts",
"index.js"
],
"dependencies": {
"@types/hast": "^3.0.4",
"github-slugger": "^2.0.0",
"hast-util-has-property": "^3.0.0",
"hast-util-heading-rank": "^3.0.0",
"hast-util-to-string": "^3.0.0",
"lodash": "^4.17.21",
"unified": "^11.0.5",
"unist-util-visit": "^5.0.0"
},
"devDependencies": {
"@types/lodash": "^4.14.177",
"@types/tape": "^5.6.4",
"c8": "^10.1.2",
"prettier": "^3.3.2",
"rehype": "^13.0.1",
"remark-cli": "^12.0.1",
"remark-preset-wooorm": "^10.0.0",
"rimraf": "^5.0.7",
"tape": "^5.0.0",
"type-coverage": "^2.0.0",
"typescript": "^5.5.2",
"xo": "^0.58.0"
},
"scripts": {
"build": "rimraf --glob \"*.d.ts\" && tsc && type-coverage",
"format": "remark . -qo && prettier . -w --loglevel warn && xo --fix",
"test-api": "node --conditions development test.js",
"test-coverage": "c8 --check-coverage --branches 80 --functions 90 --lines 90 --statements 90 --reporter lcov npm run test-api",
"test": "npm run build && npm run format && npm run test-coverage"
},
"prettier": {
"tabWidth": 2,
"useTabs": false,
"singleQuote": true,
"bracketSpacing": false,
"semi": false,
"trailingComma": "none"
},
"xo": {
"prettier": true,
"rules": {
"unicorn/prefer-at": "off"
}
},
"remarkConfig": {
"plugins": [
"preset-wooorm"
]
},
"typeCoverage": {
"atLeast": 90,
"detail": true,
"strict": true,
"ignoreCatch": true
}
}