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