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