|
1 | 1 | {
|
2 |
| - "name": "mdast-util-from-markdown", |
3 |
| - "version": "2.0.1", |
4 |
| - "description": "mdast utility to parse markdown", |
5 |
| - "license": "MIT", |
6 |
| - "keywords": [ |
7 |
| - "unist", |
8 |
| - "mdast", |
9 |
| - "mdast-util", |
10 |
| - "util", |
11 |
| - "utility", |
12 |
| - "markdown", |
13 |
| - "markup", |
14 |
| - "parse", |
15 |
| - "syntax", |
16 |
| - "tree", |
17 |
| - "ast" |
18 |
| - ], |
19 |
| - "repository": "syntax-tree/mdast-util-from-markdown", |
20 |
| - "bugs": "https://github.com/syntax-tree/mdast-util-from-markdown/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/mdast-util-from-markdown/issues", |
26 | 4 | "contributors": [
|
27 | 5 | "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
|
28 | 6 | ],
|
29 |
| - "sideEffects": false, |
30 |
| - "type": "module", |
31 |
| - "exports": { |
32 |
| - "development": "./dev/index.js", |
33 |
| - "default": "./index.js" |
34 |
| - }, |
35 |
| - "files": [ |
36 |
| - "dev/", |
37 |
| - "lib/", |
38 |
| - "index.d.ts", |
39 |
| - "index.js" |
40 |
| - ], |
41 | 7 | "dependencies": {
|
42 | 8 | "@types/mdast": "^4.0.0",
|
43 | 9 | "@types/unist": "^3.0.0",
|
|
52 | 18 | "micromark-util-types": "^2.0.0",
|
53 | 19 | "unist-util-stringify-position": "^4.0.0"
|
54 | 20 | },
|
| 21 | + "description": "mdast utility to parse markdown", |
55 | 22 | "devDependencies": {
|
56 | 23 | "@types/node": "^22.0.0",
|
57 | 24 | "c8": "^10.0.0",
|
|
70 | 37 | "typescript": "^5.0.0",
|
71 | 38 | "xo": "^0.59.0"
|
72 | 39 | },
|
73 |
| - "scripts": { |
74 |
| - "prepack": "npm run build && npm run format", |
75 |
| - "build": "tsc --build --clean && tsc --build && type-coverage && micromark-build && esbuild . --bundle --minify | terser | gzip-size --raw", |
76 |
| - "format": "remark . -qfo && prettier . -w --log-level warn && xo --fix", |
77 |
| - "test-api-dev": "node --conditions development test/index.js", |
78 |
| - "test-api-prod": "node --conditions production test/index.js", |
79 |
| - "test-api": "npm run test-api-dev && npm run test-api-prod", |
80 |
| - "test-coverage": "c8 --100 --reporter lcov npm run test-api", |
81 |
| - "test": "npm run build && npm run format && npm run test-coverage" |
| 40 | + "exports": { |
| 41 | + "development": "./dev/index.js", |
| 42 | + "default": "./index.js" |
| 43 | + }, |
| 44 | + "files": [ |
| 45 | + "dev/", |
| 46 | + "lib/", |
| 47 | + "index.d.ts", |
| 48 | + "index.js" |
| 49 | + ], |
| 50 | + "funding": { |
| 51 | + "type": "opencollective", |
| 52 | + "url": "https://opencollective.com/unified" |
82 | 53 | },
|
| 54 | + "keywords": [ |
| 55 | + "ast", |
| 56 | + "markdown", |
| 57 | + "markup", |
| 58 | + "mdast-util", |
| 59 | + "mdast", |
| 60 | + "parse", |
| 61 | + "syntax", |
| 62 | + "tree", |
| 63 | + "unist", |
| 64 | + "utility", |
| 65 | + "util" |
| 66 | + ], |
| 67 | + "license": "MIT", |
| 68 | + "name": "mdast-util-from-markdown", |
83 | 69 | "prettier": {
|
84 | 70 | "bracketSpacing": false,
|
85 | 71 | "semi": false,
|
|
93 | 79 | "remark-preset-wooorm"
|
94 | 80 | ]
|
95 | 81 | },
|
| 82 | + "repository": "syntax-tree/mdast-util-from-markdown", |
| 83 | + "scripts": { |
| 84 | + "build": "tsc --build --clean && tsc --build && type-coverage && micromark-build && esbuild . --bundle --minify | terser | gzip-size --raw", |
| 85 | + "format": "remark --frail --quiet --output -- . && prettier --log-level warn --write -- . && xo --fix", |
| 86 | + "test-api-dev": "node --conditions development test/index.js", |
| 87 | + "test-api-prod": "node --conditions production test/index.js", |
| 88 | + "test-api": "npm run test-api-dev && npm run test-api-prod", |
| 89 | + "test-coverage": "c8 --100 --reporter lcov -- npm run test-api", |
| 90 | + "test": "npm run build && npm run format && npm run test-coverage" |
| 91 | + }, |
| 92 | + "sideEffects": false, |
96 | 93 | "typeCoverage": {
|
97 | 94 | "atLeast": 100,
|
98 |
| - "detail": true, |
99 |
| - "ignoreCatch": true, |
100 | 95 | "strict": true
|
101 | 96 | },
|
| 97 | + "type": "module", |
| 98 | + "version": "2.0.1", |
102 | 99 | "xo": {
|
103 | 100 | "overrides": [
|
104 | 101 | {
|
105 |
| - "files": "**/*.ts", |
| 102 | + "files": [ |
| 103 | + "**/*.d.ts" |
| 104 | + ], |
106 | 105 | "rules": {
|
107 |
| - "@typescript-eslint/consistent-type-definitions": "off" |
| 106 | + "@typescript-eslint/array-type": [ |
| 107 | + "error", |
| 108 | + { |
| 109 | + "default": "generic" |
| 110 | + } |
| 111 | + ], |
| 112 | + "@typescript-eslint/ban-types": [ |
| 113 | + "error", |
| 114 | + { |
| 115 | + "extendDefaults": true |
| 116 | + } |
| 117 | + ], |
| 118 | + "@typescript-eslint/consistent-type-definitions": [ |
| 119 | + "error", |
| 120 | + "interface" |
| 121 | + ] |
108 | 122 | }
|
109 | 123 | },
|
110 | 124 | {
|
|
0 commit comments