|
1 | 1 | { |
2 | | - "name": "hast-util-to-dom", |
3 | | - "version": "4.0.0", |
4 | | - "description": "hast utility to transform to the DOM", |
5 | | - "license": "ISC", |
6 | | - "keywords": [ |
7 | | - "unist", |
8 | | - "hast", |
9 | | - "hast-util", |
10 | | - "util", |
11 | | - "utility", |
12 | | - "rehype", |
13 | | - "dom", |
14 | | - "html" |
15 | | - ], |
16 | | - "repository": "syntax-tree/hast-util-to-dom", |
17 | | - "bugs": "https://github.com/syntax-tree/hast-util-to-dom/issues", |
18 | | - "funding": { |
19 | | - "type": "opencollective", |
20 | | - "url": "https://opencollective.com/unified" |
21 | | - }, |
22 | 2 | "author": "Keith McKnight <keith@mcknig.ht> (https://keith.mcknig.ht)", |
| 3 | + "bugs": "https://github.com/syntax-tree/hast-util-to-dom/issues", |
23 | 4 | "contributors": [ |
24 | 5 | "Keith McKnight <keith@mcknig.ht> (https://keith.mcknig.ht)", |
25 | 6 | "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)" |
26 | 7 | ], |
27 | | - "sideEffects": false, |
28 | | - "type": "module", |
29 | | - "exports": "./index.js", |
30 | | - "files": [ |
31 | | - "lib/", |
32 | | - "index.d.ts", |
33 | | - "index.js" |
34 | | - ], |
35 | 8 | "dependencies": { |
36 | 9 | "@types/hast": "^3.0.0", |
37 | 10 | "property-information": "^6.0.0", |
38 | 11 | "web-namespaces": "^2.0.0" |
39 | 12 | }, |
| 13 | + "description": "hast utility to transform to the DOM", |
40 | 14 | "devDependencies": { |
41 | 15 | "@types/jsdom": "^21.0.0", |
42 | 16 | "@types/node": "^22.0.0", |
|
52 | 26 | "w3c-xmlserializer": "^5.0.0", |
53 | 27 | "xo": "^0.60.0" |
54 | 28 | }, |
55 | | - "scripts": { |
56 | | - "prepack": "npm run build && npm run format", |
57 | | - "build": "tsc --build --clean && tsc --build && type-coverage", |
58 | | - "format": "remark . -qfo && prettier . -w --log-level warn && xo --fix", |
59 | | - "test-api": "node --conditions development test/index.js", |
60 | | - "test-coverage": "c8 --100 --reporter lcov npm run test-api", |
61 | | - "test": "npm run build && npm run format && npm run test-coverage" |
| 29 | + "exports": "./index.js", |
| 30 | + "files": [ |
| 31 | + "index.d.ts", |
| 32 | + "index.js", |
| 33 | + "lib/" |
| 34 | + ], |
| 35 | + "funding": { |
| 36 | + "type": "opencollective", |
| 37 | + "url": "https://opencollective.com/unified" |
62 | 38 | }, |
| 39 | + "keywords": [ |
| 40 | + "dom", |
| 41 | + "hast-util", |
| 42 | + "hast", |
| 43 | + "html", |
| 44 | + "rehype", |
| 45 | + "unist", |
| 46 | + "utility", |
| 47 | + "util" |
| 48 | + ], |
| 49 | + "license": "ISC", |
| 50 | + "name": "hast-util-to-dom", |
63 | 51 | "prettier": { |
64 | 52 | "bracketSpacing": false, |
65 | 53 | "semi": false, |
|
73 | 61 | "remark-preset-wooorm" |
74 | 62 | ] |
75 | 63 | }, |
| 64 | + "repository": "syntax-tree/hast-util-to-dom", |
| 65 | + "scripts": { |
| 66 | + "build": "tsc --build --clean && tsc --build && type-coverage", |
| 67 | + "format": "remark --frail --output --quiet -- . && prettier --log-level warn --write -- . && xo --fix", |
| 68 | + "test-api": "node --conditions development test/index.js", |
| 69 | + "test-coverage": "c8 --100 --reporter lcov -- npm run test-api", |
| 70 | + "test": "npm run build && npm run format && npm run test-coverage" |
| 71 | + }, |
| 72 | + "sideEffects": false, |
76 | 73 | "typeCoverage": { |
77 | 74 | "atLeast": 100, |
78 | | - "detail": true, |
79 | | - "ignoreCatch": true, |
80 | 75 | "strict": true |
81 | 76 | }, |
| 77 | + "type": "module", |
| 78 | + "version": "4.0.0", |
82 | 79 | "xo": { |
83 | 80 | "overrides": [ |
84 | 81 | { |
|
0 commit comments