|
1 | 1 | {
|
2 |
| - "name": "rehype-highlight", |
3 |
| - "version": "7.0.1", |
4 |
| - "description": "rehype plugin to highlight code blocks with lowlight (highlight.js)", |
5 |
| - "license": "MIT", |
6 |
| - "keywords": [ |
7 |
| - "unified", |
8 |
| - "rehype", |
9 |
| - "rehype-plugin", |
10 |
| - "plugin", |
11 |
| - "html", |
12 |
| - "hast", |
13 |
| - "syntax", |
14 |
| - "highlight", |
15 |
| - "highlighting" |
16 |
| - ], |
17 |
| - "repository": "rehypejs/rehype-highlight", |
18 |
| - "bugs": "https://github.com/rehypejs/rehype-highlight/issues", |
19 |
| - "funding": { |
20 |
| - "type": "opencollective", |
21 |
| - "url": "https://opencollective.com/unified" |
22 |
| - }, |
23 | 2 | "author": "Titus Wormer <[email protected]> (https://wooorm.com)",
|
| 3 | + "bugs": "https://github.com/rehypejs/rehype-highlight/issues", |
24 | 4 | "contributors": [
|
25 | 5 | "Titus Wormer <[email protected]> (https://wooorm.com)"
|
26 | 6 | ],
|
27 |
| - "sideEffects": false, |
28 |
| - "type": "module", |
29 |
| - "exports": "./index.js", |
30 |
| - "files": [ |
31 |
| - "lib/", |
32 |
| - "index.d.ts.map", |
33 |
| - "index.d.ts", |
34 |
| - "index.js" |
35 |
| - ], |
36 | 7 | "dependencies": {
|
37 | 8 | "@types/hast": "^3.0.0",
|
38 | 9 | "hast-util-to-text": "^4.0.0",
|
39 | 10 | "lowlight": "^3.0.0",
|
40 | 11 | "unist-util-visit": "^5.0.0",
|
41 | 12 | "vfile": "^6.0.0"
|
42 | 13 | },
|
| 14 | + "description": "rehype plugin to highlight code blocks with lowlight (highlight.js)", |
43 | 15 | "devDependencies": {
|
44 | 16 | "@types/node": "^22.0.0",
|
45 | 17 | "c8": "^10.0.0",
|
|
51 | 23 | "typescript": "^5.0.0",
|
52 | 24 | "xo": "^0.60.0"
|
53 | 25 | },
|
54 |
| - "scripts": { |
55 |
| - "build": "tsc --build --clean && tsc --build && type-coverage", |
56 |
| - "format": "remark . --frail --output --quiet && prettier . --log-level warn --write && xo --fix", |
57 |
| - "prepack": "npm run build && npm run format", |
58 |
| - "test": "npm run build && npm run format && npm run test-coverage", |
59 |
| - "test-api": "node --conditions development test.js", |
60 |
| - "test-coverage": "c8 --100 --check-coverage --reporter lcov npm run test-api" |
| 26 | + "exports": "./index.js", |
| 27 | + "files": [ |
| 28 | + "index.d.ts.map", |
| 29 | + "index.d.ts", |
| 30 | + "index.js", |
| 31 | + "lib/" |
| 32 | + ], |
| 33 | + "funding": { |
| 34 | + "type": "opencollective", |
| 35 | + "url": "https://opencollective.com/unified" |
61 | 36 | },
|
| 37 | + "keywords": [ |
| 38 | + "hast", |
| 39 | + "highlighting", |
| 40 | + "highlight", |
| 41 | + "html", |
| 42 | + "plugin", |
| 43 | + "rehype-plugin", |
| 44 | + "rehype", |
| 45 | + "syntax", |
| 46 | + "unified" |
| 47 | + ], |
| 48 | + "license": "MIT", |
| 49 | + "name": "rehype-highlight", |
62 | 50 | "prettier": {
|
63 | 51 | "bracketSpacing": false,
|
64 | 52 | "singleQuote": true,
|
|
72 | 60 | "remark-preset-wooorm"
|
73 | 61 | ]
|
74 | 62 | },
|
| 63 | + "repository": "rehypejs/rehype-highlight", |
| 64 | + "scripts": { |
| 65 | + "build": "tsc --build --clean && tsc --build && type-coverage", |
| 66 | + "format": "remark --frail --output --quiet -- . && prettier --log-level warn --write -- . && xo --fix", |
| 67 | + "test-api": "node --conditions development test.js", |
| 68 | + "test-coverage": "c8 --100 --reporter lcov -- npm run test-api", |
| 69 | + "test": "npm run build && npm run format && npm run test-coverage" |
| 70 | + }, |
| 71 | + "sideEffects": false, |
75 | 72 | "typeCoverage": {
|
76 | 73 | "atLeast": 100,
|
77 |
| - "detail": true, |
78 |
| - "ignoreCatch": true, |
79 | 74 | "strict": true
|
80 | 75 | },
|
| 76 | + "type": "module", |
| 77 | + "version": "7.0.1", |
81 | 78 | "xo": {
|
82 | 79 | "prettier": true,
|
83 | 80 | "rules": {
|
|
0 commit comments