1 | {
|
2 | "name": "unified",
|
3 | "version": "11.0.5",
|
4 | "description": "parse, inspect, transform, and serialize content through syntax trees",
|
5 | "license": "MIT",
|
6 | "keywords": [
|
7 | "ast",
|
8 | "compile",
|
9 | "content",
|
10 | "cst",
|
11 | "parse",
|
12 | "process",
|
13 | "rehype",
|
14 | "remark",
|
15 | "retext",
|
16 | "serialize",
|
17 | "stringify",
|
18 | "syntax",
|
19 | "transform",
|
20 | "tree",
|
21 | "unified"
|
22 | ],
|
23 | "homepage": "https://unifiedjs.com",
|
24 | "repository": "unifiedjs/unified",
|
25 | "bugs": "https://github.com/unifiedjs/unified/issues",
|
26 | "funding": {
|
27 | "type": "opencollective",
|
28 | "url": "https://opencollective.com/unified"
|
29 | },
|
30 | "author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
|
31 | "contributors": [
|
32 | "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
|
33 | "Junyoung Choi <fluke8259@gmail.com>",
|
34 | "Hernan Rajchert <hrajchert@gmail.com>",
|
35 | "Christian Murphy <christian.murphy.42@gmail.com>",
|
36 | "Vse Mozhet Byt <vsemozhetbyt@gmail.com>",
|
37 | "Richard Littauer <richard.littauer@gmail.com>"
|
38 | ],
|
39 | "sideEffects": false,
|
40 | "type": "module",
|
41 | "exports": "./index.js",
|
42 | "files": [
|
43 | "lib/",
|
44 | "index.d.ts",
|
45 | "index.js"
|
46 | ],
|
47 | "dependencies": {
|
48 | "@types/unist": "^3.0.0",
|
49 | "bail": "^2.0.0",
|
50 | "devlop": "^1.0.0",
|
51 | "extend": "^3.0.0",
|
52 | "is-plain-obj": "^4.0.0",
|
53 | "trough": "^2.0.0",
|
54 | "vfile": "^6.0.0"
|
55 | },
|
56 | "devDependencies": {
|
57 | "@types/extend": "^3.0.0",
|
58 | "@types/hast": "^3.0.0",
|
59 | "@types/mdast": "^4.0.0",
|
60 | "@types/node": "^20.0.0",
|
61 | "c8": "^10.0.0",
|
62 | "prettier": "^3.0.0",
|
63 | "remark-cli": "^12.0.0",
|
64 | "remark-preset-wooorm": "^10.0.0",
|
65 | "tsd": "^0.31.0",
|
66 | "type-coverage": "^2.0.0",
|
67 | "typescript": "^5.0.0",
|
68 | "xo": "^0.58.0"
|
69 | },
|
70 | "scripts": {
|
71 | "build": "tsc --build --clean && tsc --build && node script/fix-types.js && type-coverage && tsd",
|
72 | "format": "remark . --frail --output --quiet && prettier . --log-level warn --write && xo --fix",
|
73 | "prepack": "npm run build && npm run format",
|
74 | "test": "npm run build && npm run format && npm run test-coverage",
|
75 | "test-api": "node --conditions development test/index.js",
|
76 | "test-coverage": "c8 --100 --check-coverage --reporter lcov npm run test-api"
|
77 | },
|
78 | "prettier": {
|
79 | "bracketSpacing": false,
|
80 | "singleQuote": true,
|
81 | "semi": false,
|
82 | "tabWidth": 2,
|
83 | "trailingComma": "none",
|
84 | "useTabs": false
|
85 | },
|
86 | "remarkConfig": {
|
87 | "plugins": [
|
88 | "remark-preset-wooorm",
|
89 | [
|
90 | "remark-lint-no-html",
|
91 | false
|
92 | ]
|
93 | ]
|
94 | },
|
95 | "typeCoverage": {
|
96 | "atLeast": 100,
|
97 | "detail": true,
|
98 | "ignoreCatch": true,
|
99 | "strict": true
|
100 | },
|
101 | "xo": {
|
102 | "overrides": [
|
103 | {
|
104 | "files": [
|
105 | "**/*.ts"
|
106 | ],
|
107 | "rules": {
|
108 | "@typescript-eslint/ban-types": "off",
|
109 | "@typescript-eslint/consistent-type-definitions": "off",
|
110 | "@typescript-eslint/naming-convention": "off",
|
111 | "import/no-duplicates": "off"
|
112 | }
|
113 | }
|
114 | ],
|
115 | "prettier": true,
|
116 | "rules": {
|
117 | "unicorn/no-this-assignment": "off"
|
118 | }
|
119 | }
|
120 | }
|