aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorache <ache@ache.one>2019-01-07 13:51:35 +0100
committerache <ache@ache.one>2019-01-07 13:51:35 +0100
commitc71a255078c4239189899f64fa3fab3294324801 (patch)
tree2377f8f60d6604f59b4449ddf2d20131a4164daf
parent0.8.0 (diff)
Test problem fix
-rw-r--r--__tests__/index.js4
-rw-r--r--package.json38
2 files changed, 21 insertions, 21 deletions
diff --git a/__tests__/index.js b/__tests__/index.js
index a8f4df8..76d69f5 100644
--- a/__tests__/index.js
+++ b/__tests__/index.js
@@ -1,5 +1,7 @@
'use strict';
+import plugin from '..';
+
import unified from 'unified';
import {readFileSync as file} from 'fs';
import {join} from 'path';
@@ -10,8 +12,6 @@ import stringify from 'rehype-stringify';
import remark2rehype from 'remark-rehype';
import parse5 from 'parse5';
-import plugin from '..';
-
const renderDefault = text => unified()
.use(reParse)
.use(plugin)
diff --git a/package.json b/package.json
index 90f60e0..da8c203 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "remark-attr",
- "version": "0.8.0",
+ "version": "0.8.1",
"description": "Add support of custom attributes to Markdown syntax.",
"main": "dist/index.js",
"scripts": {
@@ -14,6 +14,10 @@
"attribute",
"plugin"
],
+ "dependencies": {
+ "html-element-attributes": "^2.0.0",
+ "md-attr-parser": "^1.2.1"
+ },
"author": "ache <ache@ache.one>",
"license": "GPL-3.0-or-later",
"bugs": {
@@ -21,20 +25,20 @@
},
"homepage": "https://github.com/arobase-che/remark-attr#readme",
"devDependencies": {
- "@babel/cli": "^7.1.5",
- "@babel/core": "^7.1.5",
- "@babel/plugin-proposal-object-rest-spread": "^7.0.0",
- "@babel/preset-env": "^7.1.5",
- "ava": "^0.25.0",
- "cross-env": "^5.2.0",
- "del-cli": "^1.1.0",
- "parse5": "^5.1.0",
- "rehype-raw": "^3.0.0",
- "rehype-stringify": "^4.0.0",
- "remark-parse": "^6.0.1",
- "remark-rehype": "^3.0.1",
- "unified": "^7.0.1",
- "xo": "^0.23.0"
+ "@babel/cli": "7.x",
+ "@babel/core": "7.x",
+ "@babel/plugin-proposal-object-rest-spread": "7.x",
+ "@babel/preset-env": "7.x",
+ "ava": "1.x",
+ "cross-env": "5.x",
+ "del-cli": "x",
+ "parse5": "5.x",
+ "rehype-raw": "4.x",
+ "rehype-stringify": "5.x",
+ "remark-parse": "6.x",
+ "remark-rehype": "4.x",
+ "unified": "7.x",
+ "xo": "0.23.x"
},
"xo": {
"space": true,
@@ -44,9 +48,5 @@
"always-multiline"
]
}
- },
- "dependencies": {
- "html-element-attributes": "^2.0.0",
- "md-attr-parser": "^1.2.0"
}
}