From 677bdafdeb541eb31502cd3419cf7e2f646fd860 Mon Sep 17 00:00:00 2001 From: ache Date: Mon, 5 Feb 2018 22:38:18 +0100 Subject: Add test with AVA --- package.json | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index 82e4f0b..4f77902 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,11 @@ { "name": "remark-multiple-choice", "version": "0.1.0", - "description": "A remark plugin for Markdown that parse list of answers to multiple choise", + "description": "A remark plugin for Markdown that parse list of answers to multiple choice", "main": "app.js", "scripts": { + "pretest": "xo", + "test": "ava", "start": "node app.js" }, "dependencies": { @@ -14,16 +16,22 @@ "author": "ache", "license": "MIT", "keywords": [ - "mermaid", - "graphs", + "multiple choice", + "test", + "answer", "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