|
1 | 1 | { |
2 | | - "name": "hast-util-to-mdast", |
3 | | - "version": "10.1.0", |
4 | | - "description": "hast utility to transform to mdast", |
5 | | - "license": "MIT", |
6 | | - "keywords": [ |
7 | | - "unist", |
8 | | - "hast", |
9 | | - "hast-util", |
10 | | - "mdast", |
11 | | - "mdast-util", |
12 | | - "rehype", |
13 | | - "remark", |
14 | | - "markdown", |
15 | | - "html", |
16 | | - "transform" |
17 | | - ], |
18 | | - "repository": "syntax-tree/hast-util-to-mdast", |
19 | | - "bugs": "https://github.com/syntax-tree/hast-util-to-mdast/issues", |
20 | | - "funding": { |
21 | | - "type": "opencollective", |
22 | | - "url": "https://opencollective.com/unified" |
23 | | - }, |
24 | 2 | "author": "Seth Vincent <sethvincent@gmail.com> (https://sethvincent.com)", |
| 3 | + "bugs": "https://github.com/syntax-tree/hast-util-to-mdast/issues", |
25 | 4 | "contributors": [ |
26 | 5 | "Seth Vincent <sethvincent@gmail.com> (https://sethvincent.com)", |
27 | 6 | "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)" |
28 | 7 | ], |
29 | | - "sideEffects": false, |
30 | | - "type": "module", |
31 | | - "exports": "./index.js", |
32 | | - "files": [ |
33 | | - "lib/", |
34 | | - "index.d.ts", |
35 | | - "index.js" |
36 | | - ], |
37 | 8 | "dependencies": { |
38 | 9 | "@types/hast": "^3.0.0", |
39 | 10 | "@types/mdast": "^4.0.0", |
|
50 | 21 | "unist-util-position": "^5.0.0", |
51 | 22 | "unist-util-visit": "^5.0.0" |
52 | 23 | }, |
| 24 | + "description": "hast utility to transform to mdast", |
53 | 25 | "devDependencies": { |
54 | 26 | "@types/node": "^22.0.0", |
55 | 27 | "@types/ungap__structured-clone": "^1.0.0", |
|
71 | 43 | "unist-util-remove-position": "^5.0.0", |
72 | 44 | "xo": "^0.59.0" |
73 | 45 | }, |
74 | | - "scripts": { |
75 | | - "prepack": "npm run build && npm run format", |
76 | | - "build": "tsc --build --clean && tsc --build && type-coverage", |
77 | | - "format": "remark . -qfo && prettier . -w --log-level warn && xo --fix", |
78 | | - "test-api": "node --conditions development test/index.js", |
79 | | - "test-coverage": "c8 --100 --reporter lcov npm run test-api", |
80 | | - "test": "npm run build && npm run format && npm run test-coverage" |
| 46 | + "exports": "./index.js", |
| 47 | + "files": [ |
| 48 | + "index.d.ts", |
| 49 | + "index.js", |
| 50 | + "lib/" |
| 51 | + ], |
| 52 | + "funding": { |
| 53 | + "type": "opencollective", |
| 54 | + "url": "https://opencollective.com/unified" |
81 | 55 | }, |
| 56 | + "keywords": [ |
| 57 | + "hast-util", |
| 58 | + "hast", |
| 59 | + "html", |
| 60 | + "markdown", |
| 61 | + "mdast-util", |
| 62 | + "mdast", |
| 63 | + "rehype", |
| 64 | + "remark", |
| 65 | + "transform", |
| 66 | + "unist" |
| 67 | + ], |
| 68 | + "license": "MIT", |
| 69 | + "name": "hast-util-to-mdast", |
82 | 70 | "prettier": { |
83 | 71 | "bracketSpacing": false, |
84 | 72 | "semi": false, |
|
96 | 84 | ] |
97 | 85 | ] |
98 | 86 | }, |
| 87 | + "repository": "syntax-tree/hast-util-to-mdast", |
| 88 | + "scripts": { |
| 89 | + "build": "tsc --build --clean && tsc --build && type-coverage", |
| 90 | + "format": "remark --frail --quiet --output -- . && prettier --log-level warn --write -- . && xo --fix", |
| 91 | + "test-api": "node --conditions development test/index.js", |
| 92 | + "test-coverage": "c8 --100 --reporter lcov -- npm run test-api", |
| 93 | + "test": "npm run build && npm run format && npm run test-coverage" |
| 94 | + }, |
| 95 | + "sideEffects": false, |
99 | 96 | "typeCoverage": { |
100 | 97 | "atLeast": 100, |
101 | | - "detail": true, |
102 | | - "#": "needed `any`s", |
| 98 | + "ignoreFiles#": "needed `any`s", |
103 | 99 | "ignoreFiles": [ |
104 | 100 | "lib/state.d.ts" |
105 | 101 | ], |
106 | | - "ignoreCatch": true, |
107 | 102 | "strict": true |
108 | 103 | }, |
| 104 | + "type": "module", |
| 105 | + "version": "10.1.0", |
109 | 106 | "xo": { |
110 | 107 | "overrides": [ |
111 | 108 | { |
112 | 109 | "files": "test/**/*.js", |
113 | 110 | "rules": { |
114 | | - "no-await-in-loop": 0 |
| 111 | + "no-await-in-loop": "off" |
115 | 112 | } |
116 | 113 | } |
117 | 114 | ], |
|
0 commit comments