From b3e147c1b1997295ee816fab078a83288450ef81 Mon Sep 17 00:00:00 2001 From: ache Date: Thu, 17 May 2018 07:30:03 +0200 Subject: Add tests with ava --- package.json | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index e3c1e2a..73a2c7e 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,8 @@ "description": "Add support of custom attributes to Markdown syntax.", "main": "index.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "pretest": "xo", + "test": "ava" }, "repository": { "type": "git", @@ -22,6 +23,14 @@ }, "homepage": "https://github.com/arobase-che/remark-attr#readme", "devDependencies": { + "ava": "^0.25.0", + "parse5": "^4.0.0", + "rehype-raw": "^2.0.0", + "rehype-stringify": "^3.0.0", + "remark-parse": "^5.0.0", + "remark-rehype": "^3.0.0", + "stream": "0.0.2", + "unified": "^7.0.0", "xo": "^0.21.0" }, "xo": { -- cgit v1.2.3