|
1 | 1 | {
|
2 |
| - "name": "hast-util-to-estree", |
3 |
| - "version": "3.1.0", |
4 |
| - "description": "hast utility to transform to estree (JavaScript AST) JSX", |
5 |
| - "license": "MIT", |
6 |
| - "keywords": [ |
7 |
| - "unist", |
8 |
| - "hast", |
9 |
| - "hast-util", |
10 |
| - "util", |
11 |
| - "utility", |
12 |
| - "html", |
13 |
| - "change", |
14 |
| - "transform", |
15 |
| - "rehype", |
16 |
| - "estree", |
17 |
| - "jsx", |
18 |
| - "javascript", |
19 |
| - "ecmascript", |
20 |
| - "mdx" |
21 |
| - ], |
22 |
| - "repository": "syntax-tree/hast-util-to-estree", |
23 |
| - "bugs": "https://github.com/syntax-tree/hast-util-to-estree/issues", |
24 |
| - "funding": { |
25 |
| - "type": "opencollective", |
26 |
| - "url": "https://opencollective.com/unified" |
27 |
| - }, |
28 | 2 | "author": "Titus Wormer <[email protected]> (https://wooorm.com)",
|
| 3 | + "bugs": "https://github.com/syntax-tree/hast-util-to-estree/issues", |
29 | 4 | "contributors": [
|
30 | 5 | "Titus Wormer <[email protected]> (https://wooorm.com)"
|
31 | 6 | ],
|
32 |
| - "sideEffects": false, |
33 |
| - "type": "module", |
34 |
| - "exports": "./index.js", |
35 |
| - "files": [ |
36 |
| - "lib/", |
37 |
| - "index.d.ts", |
38 |
| - "index.js" |
39 |
| - ], |
40 | 7 | "dependencies": {
|
41 | 8 | "@types/estree": "^1.0.0",
|
42 | 9 | "@types/estree-jsx": "^1.0.0",
|
|
55 | 22 | "unist-util-position": "^5.0.0",
|
56 | 23 | "zwitch": "^2.0.0"
|
57 | 24 | },
|
| 25 | + "description": "hast utility to transform to estree (JavaScript AST) JSX", |
58 | 26 | "devDependencies": {
|
59 | 27 | "@types/node": "^22.0.0",
|
60 | 28 | "acorn-jsx": "^5.0.0",
|
|
75 | 43 | "unist-util-visit": "^5.0.0",
|
76 | 44 | "xo": "^0.60.0"
|
77 | 45 | },
|
78 |
| - "scripts": { |
79 |
| - "prepack": "npm run build && npm run format", |
80 |
| - "build": "tsc --build --clean && tsc --build && type-coverage", |
81 |
| - "format": "remark . -qfo && prettier . -w --log-level warn && xo --fix", |
82 |
| - "test-api": "node --conditions development test.js", |
83 |
| - "test-coverage": "c8 --100 --reporter lcov npm run test-api", |
84 |
| - "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" |
85 | 55 | },
|
| 56 | + "keywords": [ |
| 57 | + "change", |
| 58 | + "ecmascript", |
| 59 | + "estree", |
| 60 | + "hast-util", |
| 61 | + "hast", |
| 62 | + "html", |
| 63 | + "javascript", |
| 64 | + "jsx", |
| 65 | + "mdx", |
| 66 | + "rehype", |
| 67 | + "transform", |
| 68 | + "unist", |
| 69 | + "utility", |
| 70 | + "util" |
| 71 | + ], |
| 72 | + "license": "MIT", |
| 73 | + "name": "hast-util-to-estree", |
86 | 74 | "prettier": {
|
87 | 75 | "bracketSpacing": false,
|
88 | 76 | "semi": false,
|
|
96 | 84 | "remark-preset-wooorm"
|
97 | 85 | ]
|
98 | 86 | },
|
| 87 | + "repository": "syntax-tree/hast-util-to-estree", |
| 88 | + "scripts": { |
| 89 | + "build": "tsc --build --clean && tsc --build && type-coverage", |
| 90 | + "format": "remark --frail --output --quiet -- . && prettier --log-level warn --write -- . && xo --fix", |
| 91 | + "test-api": "node --conditions development test.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 |
| - "ignoreCatch": true, |
103 |
| - "#": "needed any", |
| 98 | + "ignoreFiles#": "needed `any`", |
104 | 99 | "ignoreFiles": [
|
105 | 100 | "lib/state.d.ts",
|
106 | 101 | "lib/state.js"
|
107 | 102 | ],
|
108 | 103 | "strict": true
|
109 | 104 | },
|
| 105 | + "type": "module", |
| 106 | + "version": "3.1.0", |
110 | 107 | "xo": {
|
111 | 108 | "prettier": true,
|
112 | 109 | "rules": {
|
|
0 commit comments