aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorache <ache@ache.one>2018-02-05 22:39:25 +0100
committerache <ache@ache.one>2018-02-05 22:39:25 +0100
commit3007a24ec37aff2338ea5645ff33abff42ba6b7f (patch)
treefa9fe5dc13ecacabbe37c586ed3c52318297e0ce /package.json
parentAdd a gitignore file (diff)
add tests with AVA
Diffstat (limited to 'package.json')
-rw-r--r--package.json11
1 files changed, 10 insertions, 1 deletions
diff --git a/package.json b/package.json
index 11ea9d9..14c9ff1 100644
--- a/package.json
+++ b/package.json
@@ -6,6 +6,10 @@
"dependencies": {
"unist-util-visit": "^1.1.3"
},
+ "scripts": {
+ "pretest": "xo",
+ "test": "ava"
+ },
"author": "ache",
"license": "MIT",
"keywords": [
@@ -15,7 +19,12 @@
"remark"
],
"devDependencies": {
- "jest": "^22.1.4",
+ "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": {