Skip to content

Commit 5cbd2eb

Browse files
test: validate json
Closes #2
1 parent 1cfd14c commit 5cbd2eb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,16 @@
44
"description": "List of conventional commit types.",
55
"main": "index.json",
66
"scripts": {
7-
"test": "echo \"Error: no test specified\" && exit 1"
7+
"test": "json -f index.json"
88
},
99
"keywords": [],
1010
"author": "Anders D. Johnson <[email protected]> (https://andrz.me/)",
1111
"license": "ISC",
1212
"repository": {
1313
"type": "git",
1414
"url": "https://github.com/AndersDJohnson/conventional-commit-types.git"
15+
},
16+
"devDependencies": {
17+
"json": "^9.0.4"
1518
}
1619
}

0 commit comments

Comments
 (0)