Skip to content

Commit 791652b

Browse files
committed
Update dev-dependencies
1 parent 8be5797 commit 791652b

File tree

3 files changed

+13
-11
lines changed

3 files changed

+13
-11
lines changed

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
coverage/
2+
*.json
3+
*.md
24
hast-util-heading.js
35
hast-util-heading.min.js

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,19 @@
3030
"hast-util-is-element": "^1.0.0"
3131
},
3232
"devDependencies": {
33-
"browserify": "^16.0.0",
33+
"browserify": "^17.0.0",
3434
"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"
4141
},
4242
"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",
4646
"build": "npm run build-bundle && npm run build-mangle",
4747
"test-api": "node test",
4848
"test-coverage": "nyc --reporter lcov tape test.js",

test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
var test = require('tape')
44
var heading = require('.')
55

6-
test('heading', function(t) {
6+
test('heading', function (t) {
77
t.equal(heading(), false, 'should return `false` without node')
88

99
t.equal(heading(null), false, 'should return `false` with `null`')

0 commit comments

Comments
 (0)