From b307b0d3b539c4a88ac2504190a2d9267e20a882 Mon Sep 17 00:00:00 2001 From: ache Date: Mon, 5 Feb 2018 06:15:50 +0100 Subject: Add test with AVA --- package.json | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index ae516fe..1b31927 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,8 @@ "description": "A remark plugin for Markdown that parse special blox", "main": "app.js", "scripts": { + "pretest": "xo", + "test": "ava", "start": "node app.js" }, "dependencies": { @@ -16,10 +18,16 @@ "remark" ], "devDependencies": { + "ava": "^0.25.0", + "rehype-raw": "^2.0.0", + "rehype-stringify": "^3.0.0", + "remark-parse": "^5.0.0", + "remark-rehype": "^3.0.0", + "unified": "^6.1.6", "xo": "^0.18.2" }, - "xo" : { - "space" : true, + "xo": { + "space": true, "rules": { "comma-dangle": [ "error", -- cgit v1.2.3