1 | {
|
2 | "name": "unist-util-select",
|
3 | "version": "3.0.2",
|
4 | "description": "unist utility to select nodes with CSS-like selectors",
|
5 | "license": "MIT",
|
6 | "keywords": [
|
7 | "unist",
|
8 | "unist-util",
|
9 | "util",
|
10 | "utility",
|
11 | "visit",
|
12 | "tree",
|
13 | "ast",
|
14 | "node",
|
15 | "visit",
|
16 | "walk",
|
17 | "select",
|
18 | "selector",
|
19 | "child",
|
20 | "descendant",
|
21 | "sibling",
|
22 | "type",
|
23 | "attribute",
|
24 | "expression",
|
25 | "filter",
|
26 | "find",
|
27 | "match"
|
28 | ],
|
29 | "repository": "syntax-tree/unist-util-select",
|
30 | "bugs": "https://github.com/syntax-tree/unist-util-select/issues",
|
31 | "funding": {
|
32 | "type": "opencollective",
|
33 | "url": "https://opencollective.com/unified"
|
34 | },
|
35 | "author": "Eugene Sharygin <eush77@gmail.com>",
|
36 | "contributors": [
|
37 | "Eugene Sharygin <eush77@gmail.com>",
|
38 | "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
|
39 | "Christian Murphy <christian.murphy.42@gmail.com>"
|
40 | ],
|
41 | "files": [
|
42 | "index.js",
|
43 | "lib/",
|
44 | "types/index.d.ts"
|
45 | ],
|
46 | "types": "types/index.d.ts",
|
47 | "dependencies": {
|
48 | "css-selector-parser": "^1.0.0",
|
49 | "not": "^0.1.0",
|
50 | "nth-check": "^1.0.0",
|
51 | "unist-util-is": "^4.0.0",
|
52 | "zwitch": "^1.0.0"
|
53 | },
|
54 | "devDependencies": {
|
55 | "dtslint": "^4.0.0",
|
56 | "nyc": "^15.0.0",
|
57 | "prettier": "^2.0.0",
|
58 | "remark-cli": "^9.0.0",
|
59 | "remark-preset-wooorm": "^8.0.0",
|
60 | "tape": "^5.0.0",
|
61 | "unist-builder": "^2.0.0",
|
62 | "xo": "^0.34.0"
|
63 | },
|
64 | "scripts": {
|
65 | "format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
|
66 | "test-api": "node test",
|
67 | "test-coverage": "nyc --reporter lcov tape test/index.js",
|
68 | "test-types": "dtslint types",
|
69 | "test": "npm run format && npm run test-coverage && npm run test-types"
|
70 | },
|
71 | "nyc": {
|
72 | "check-coverage": true,
|
73 | "lines": 100,
|
74 | "functions": 100,
|
75 | "branches": 100
|
76 | },
|
77 | "prettier": {
|
78 | "tabWidth": 2,
|
79 | "useTabs": false,
|
80 | "singleQuote": true,
|
81 | "bracketSpacing": false,
|
82 | "semi": false,
|
83 | "trailingComma": "none"
|
84 | },
|
85 | "xo": {
|
86 | "prettier": true,
|
87 | "esnext": false,
|
88 | "ignore": [
|
89 | "types"
|
90 | ],
|
91 | "rules": {
|
92 | "eqeqeq": [
|
93 | "error",
|
94 | "always",
|
95 | {
|
96 | "null": "ignore"
|
97 | }
|
98 | ],
|
99 | "no-eq-null": "off",
|
100 | "max-params": "off",
|
101 | "unicorn/explicit-length-check": "off",
|
102 | "unicorn/prefer-includes": "off",
|
103 | "unicorn/prefer-reflect-apply": "off"
|
104 | }
|
105 | },
|
106 | "remarkConfig": {
|
107 | "plugins": [
|
108 | "preset-wooorm"
|
109 | ]
|
110 | }
|
111 | }
|