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