diff options
author | ache <ache@ache.one> | 2018-05-17 07:30:03 +0200 |
---|---|---|
committer | ache <ache@ache.one> | 2018-05-17 07:30:03 +0200 |
commit | b3e147c1b1997295ee816fab078a83288450ef81 (patch) | |
tree | 6910703d5983762bdcae2b3d42ce0e3453e5e584 /package.json | |
parent | Add a LICENSE (diff) |
Add tests with ava
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/package.json b/package.json index e3c1e2a..73a2c7e 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,8 @@ "description": "Add support of custom attributes to Markdown syntax.", "main": "index.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "pretest": "xo", + "test": "ava" }, "repository": { "type": "git", @@ -22,6 +23,14 @@ }, "homepage": "https://github.com/arobase-che/remark-attr#readme", "devDependencies": { + "ava": "^0.25.0", + "parse5": "^4.0.0", + "rehype-raw": "^2.0.0", + "rehype-stringify": "^3.0.0", + "remark-parse": "^5.0.0", + "remark-rehype": "^3.0.0", + "stream": "0.0.2", + "unified": "^7.0.0", "xo": "^0.21.0" }, "xo": { |