aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorache <ache@ache.one>2018-02-05 22:21:49 +0100
committerache <ache@ache.one>2018-02-05 22:21:49 +0100
commit9dd5edb18f8c23f3f43e253fb5c4c04ac98f173a (patch)
tree6ad1f34037e2c93766be26c5ebf913fe25e1ecf3 /package.json
parentAdd a gitignore file (diff)
add tests with AVA
Diffstat (limited to 'package.json')
-rw-r--r--package.json15
1 files changed, 11 insertions, 4 deletions
diff --git a/package.json b/package.json
index 1a9da0c..86ff3f0 100644
--- a/package.json
+++ b/package.json
@@ -1,9 +1,11 @@
{
"name": "remark-line-input",
"version": "0.1.0",
- "description": "A remark plugin to parse line input syntax.",
+ "description": "A remark plugin to parse line input syntax",
"main": "app.js",
"scripts": {
+ "pretest": "xo",
+ "test": "ava",
"start": "node app.js"
},
"dependencies": {
@@ -17,16 +19,21 @@
"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",
"always-multiline"
]
}
-
}
}