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