aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorache <ache@ache.one>2018-02-05 22:38:18 +0100
committerache <ache@ache.one>2018-02-05 22:38:18 +0100
commit677bdafdeb541eb31502cd3419cf7e2f646fd860 (patch)
treeffe2a324cb845871f3258ed45b01557dfc0ead88 /package.json
parentAdd a gitignore file (diff)
Add test with AVA
Diffstat (limited to 'package.json')
-rw-r--r--package.json22
1 files changed, 15 insertions, 7 deletions
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",