Skip to content

Commit 90fdcca

Browse files
committed
test(linting): added publint to verify the published package details
1 parent 7caf2ed commit 90fdcca

File tree

2 files changed

+195
-1
lines changed

2 files changed

+195
-1
lines changed

package-lock.json

+192
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@
4646
"pregenerate:md": "run-s build",
4747
"lint:peer": "npm ls >/dev/null",
4848
"test": "npm-run-all --print-label build --parallel lint:* --parallel test:*",
49-
"lint:engines": "ls-engines"
49+
"lint:engines": "ls-engines",
50+
"lint:publish": "publint --strict"
5051
},
5152
"files": [
5253
"example.js",
@@ -84,6 +85,7 @@
8485
"mocha": "10.2.0",
8586
"mock-fs": "5.2.0",
8687
"npm-run-all": "4.1.5",
88+
"publint": "0.1.16",
8789
"remark-cli": "11.0.0",
8890
"remark-toc": "8.0.1",
8991
"remark-usage": "10.0.1",

0 commit comments

Comments
 (0)