Skip to content

Commit 9f13be6

Browse files
committed
fix: update scripts
1 parent 5ae4e66 commit 9f13be6

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.markdownlint.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
"allowed_elements": ["p", "img", "a"]
55
},
66
"MD013": false,
7-
"MD025": false
7+
"MD025": false,
8+
"MD004": false
89
}

package.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,10 @@
44
"description": "The OPEN-RPC Specification",
55
"main": "index.js",
66
"scripts": {
7-
"test": "node_modules/.bin/mdv ./*.md && ./node_modules/.bin/markdownlint ./README.md ./spec.md",
8-
"build": "./bin/build.sh"
7+
"validate": "node_modules/.bin/mdv ./spec.md ./README.md ./build/markdown/*.md",
8+
"lint": "./node_modules/.bin/markdownlint ./spec.md ./README.md ./build/markdown/*.md",
9+
"build": "./bin/build.sh",
10+
"test": "npm run build && npm run validate && npm run lint"
911
},
1012
"repository": {
1113
"type": "git",

0 commit comments

Comments
 (0)