Skip to content

Commit 5372dc5

Browse files
committed
Refactor scripts
1 parent d895e91 commit 5372dc5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,10 @@
7171
"repository": "syntax-tree/mdast-util-to-markdown",
7272
"version": "2.1.2",
7373
"scripts": {
74-
"prepack": "npm run build && npm run format",
7574
"build": "tsc --build --clean && tsc --build && type-coverage",
76-
"format": "remark . -qfo && prettier . -w --log-level warn && xo --fix",
75+
"format": "remark --frail --output --quiet -- . && prettier --log-level warn --write -- . && xo --fix",
7776
"test-api": "node --conditions development test/index.js",
78-
"test-coverage": "c8 --100 --reporter lcov npm run test-api",
77+
"test-coverage": "c8 --100 --reporter lcov -- npm run test-api",
7978
"test": "npm run build && npm run format && npm run test-coverage"
8079
},
8180
"sideEffects": false,

0 commit comments

Comments
 (0)