File tree Expand file tree Collapse file tree 3 files changed +13
-11
lines changed Expand file tree Collapse file tree 3 files changed +13
-11
lines changed Original file line number Diff line number Diff line change 1
1
coverage /
2
+ * .json
3
+ * .md
2
4
hast-util-heading.js
3
5
hast-util-heading.min.js
Original file line number Diff line number Diff line change 30
30
"hast-util-is-element" : " ^1.0.0"
31
31
},
32
32
"devDependencies" : {
33
- "browserify" : " ^16 .0.0" ,
33
+ "browserify" : " ^17 .0.0" ,
34
34
"nyc" : " ^15.0.0" ,
35
- "prettier" : " ^1 .0.0" ,
36
- "remark-cli" : " ^7 .0.0" ,
37
- "remark-preset-wooorm" : " ^6 .0.0" ,
38
- "tape" : " ^4 .0.0" ,
39
- "tinyify" : " ^2 .0.0" ,
40
- "xo" : " ^0.27 .0"
35
+ "prettier" : " ^2 .0.0" ,
36
+ "remark-cli" : " ^9 .0.0" ,
37
+ "remark-preset-wooorm" : " ^8 .0.0" ,
38
+ "tape" : " ^5 .0.0" ,
39
+ "tinyify" : " ^3 .0.0" ,
40
+ "xo" : " ^0.34 .0"
41
41
},
42
42
"scripts" : {
43
- "format" : " remark . -qfo && prettier --write \" **/*.js \" && xo --fix" ,
44
- "build-bundle" : " browserify . -s hastUtilHeading > hast-util-heading.js" ,
45
- "build-mangle" : " browserify . -s hastUtilHeading -p tinyify > hast-util-heading.min.js" ,
43
+ "format" : " remark . -qfo && prettier . -w --loglevel warn && xo --fix" ,
44
+ "build-bundle" : " browserify . -s hastUtilHeading -o hast-util-heading.js" ,
45
+ "build-mangle" : " browserify . -s hastUtilHeading -p tinyify -o hast-util-heading.min.js" ,
46
46
"build" : " npm run build-bundle && npm run build-mangle" ,
47
47
"test-api" : " node test" ,
48
48
"test-coverage" : " nyc --reporter lcov tape test.js" ,
Original file line number Diff line number Diff line change 3
3
var test = require ( 'tape' )
4
4
var heading = require ( '.' )
5
5
6
- test ( 'heading' , function ( t ) {
6
+ test ( 'heading' , function ( t ) {
7
7
t . equal ( heading ( ) , false , 'should return `false` without node' )
8
8
9
9
t . equal ( heading ( null ) , false , 'should return `false` with `null`' )
You can’t perform that action at this time.
0 commit comments