File tree Expand file tree Collapse file tree 3 files changed +18
-29
lines changed Expand file tree Collapse file tree 3 files changed +18
-29
lines changed Original file line number Diff line number Diff line change 11.DS_Store
22* .log
3+ .nyc_output /
34coverage /
45node_modules /
56unist-util-is.js
Original file line number Diff line number Diff line change 3030 "devDependencies" : {
3131 "browserify" : " ^13.0.1" ,
3232 "esmangle" : " ^1.0.1" ,
33- "istanbul" : " ^0.4.0" ,
34- "remark-cli" : " ^1.0.0" ,
35- "remark-comment-config" : " ^4.0.0" ,
36- "remark-github" : " ^5.0.0" ,
37- "remark-lint" : " ^4.0.0" ,
38- "remark-validate-links" : " ^4.0.0" ,
33+ "nyc" : " ^9.0.1" ,
34+ "remark-cli" : " ^2.0.0" ,
35+ "remark-preset-wooorm" : " ^1.0.0" ,
3936 "tape" : " ^4.0.0" ,
40- "xo" : " ^0.16.0 "
37+ "xo" : " ^0.17.1 "
4138 },
4239 "scripts" : {
43- "build-md" : " remark . --quiet --frail" ,
40+ "build-md" : " remark . --quiet --frail --output " ,
4441 "build-bundle" : " browserify index.js --bare -s unistUtilIs > unist-util-is.js" ,
4542 "build-mangle" : " esmangle < unist-util-is.js > unist-util-is.min.js" ,
4643 "build" : " npm run build-md && npm run build-bundle && npm run build-mangle" ,
4744 "lint" : " xo" ,
4845 "test-api" : " node test" ,
49- "test-coverage" : " istanbul cover test.js" ,
46+ "test-coverage" : " nyc --reporter lcov tape test.js" ,
5047 "test" : " npm run build && npm run lint && npm run test-coverage"
5148 },
5249 "xo" : {
5350 "space" : true ,
54- "rules" : {
55- "guard-for-in" : [
56- 0
57- ]
58- },
59- "ignores" : [
60- " unist-util-is.js" ,
61- " unist-util-is.min.js"
51+ "ignore" : [
52+ " unist-util-is.js"
6253 ]
6354 },
55+ "nyc" : {
56+ "check-coverage" : true ,
57+ "lines" : 100 ,
58+ "functions" : 100 ,
59+ "branches" : 100
60+ },
6461 "remarkConfig" : {
65- "output" : true ,
66- "plugins" : [
67- " comment-config" ,
68- " github" ,
69- " lint" ,
70- " validate-links"
71- ],
72- "settings" : {
73- "bullet" : " *"
74- }
62+ "presets" : " wooorm"
7563 }
7664}
Original file line number Diff line number Diff line change @@ -64,8 +64,8 @@ with `type` set to non-empty `string`).
6464###### Parameters
6565
6666* ` node ` (` Node ` ) — Node to test;
67- * ` index ` (` number ` ? ) — Position of ` node ` in ` parent ` .
68- * ` parent ` (` Node ` ? ) — Parent of ` node ` .
67+ * ` index ` (` number? ` ) — Position of ` node ` in ` parent ` ;
68+ * ` parent ` (` Node? ` ) — Parent of ` node ` .
6969
7070###### Context
7171
You can’t perform that action at this time.
0 commit comments