1{
2  "name": "unist-util-visit-parents",
3  "version": "3.1.0",
4  "description": "unist utility to recursively walk over nodes, with ancestral information",
5  "license": "MIT",
6  "keywords": [
7    "unist",
8    "unist-util",
9    "util",
10    "utility",
11    "tree",
12    "ast",
13    "visit",
14    "traverse",
15    "walk",
16    "check",
17    "parent",
18    "parents"
19  ],
20  "repository": "syntax-tree/unist-util-visit-parents",
21  "bugs": "https://github.com/syntax-tree/unist-util-visit-parents/issues",
22  "funding": {
23    "type": "opencollective",
24    "url": "https://opencollective.com/unified"
25  },
26  "author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
27  "contributors": [
28    "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
29  ],
30  "browser": {
31    "./color.js": "./color.browser.js"
32  },
33  "react-native": {
34    "./color.js": "./color.browser.js"
35  },
36  "files": [
37    "index.js",
38    "color.js",
39    "color.browser.js",
40    "types/index.d.ts"
41  ],
42  "types": "types/index.d.ts",
43  "dependencies": {
44    "@types/unist": "^2.0.0",
45    "unist-util-is": "^4.0.0"
46  },
47  "devDependencies": {
48    "browserify": "^16.0.0",
49    "dtslint": "^3.0.0",
50    "nyc": "^15.0.0",
51    "prettier": "^2.0.0",
52    "remark": "^12.0.0",
53    "remark-cli": "^8.0.0",
54    "remark-preset-wooorm": "^7.0.0",
55    "strip-ansi": "^6.0.0",
56    "tape": "^5.0.0",
57    "tinyify": "^2.0.0",
58    "typescript": "^3.0.0",
59    "unified": "^9.0.0",
60    "xo": "^0.32.0"
61  },
62  "scripts": {
63    "format": "remark . -qfo && prettier . --write && xo --fix",
64    "build-bundle": "browserify index.js -s unistUtilVisitParents > unist-util-visit-parents.js",
65    "build-mangle": "browserify index.js -s unistUtilVisitParents -p tinyify > unist-util-visit-parents.min.js",
66    "build": "npm run build-bundle && npm run build-mangle",
67    "test-api": "node test",
68    "test-coverage": "nyc --reporter lcov tape test.js",
69    "test-types": "dtslint types",
70    "test": "npm run format && npm run build && npm run test-coverage && npm run test-types"
71  },
72  "nyc": {
73    "check-coverage": true,
74    "lines": 100,
75    "functions": 100,
76    "branches": 100
77  },
78  "prettier": {
79    "tabWidth": 2,
80    "useTabs": false,
81    "singleQuote": true,
82    "bracketSpacing": false,
83    "semi": false,
84    "trailingComma": "none"
85  },
86  "xo": {
87    "prettier": true,
88    "esnext": false,
89    "rules": {
90      "unicorn/prefer-set-has": "off",
91      "unicorn/prefer-reflect-apply": "off"
92    },
93    "ignores": [
94      "types/",
95      "unist-util-visit-parents.js"
96    ]
97  },
98  "remarkConfig": {
99    "plugins": [
100      "preset-wooorm"
101    ]
102  }
103}
104