Skip to content

Commit f57d356

Browse files
committed
Refactor package.json
1 parent ebe7c78 commit f57d356

File tree

1 file changed

+29
-15
lines changed

1 file changed

+29
-15
lines changed

package.json

Lines changed: 29 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,31 @@
11
{
22
"name": "hast-util-from-dom",
33
"version": "1.0.1",
4-
"description": "Transform a DOM tree to HAST",
4+
"description": "hast utility to create a tree fromthe DOM",
5+
"license": "ISC",
6+
"keywords": [
7+
"unist",
8+
"hast",
9+
"util",
10+
"utility",
11+
"rehype",
12+
"dom",
13+
"html"
14+
],
15+
"repository": "syntax-tree/hast-util-from-dom",
16+
"bugs": "https://github.com/syntax-tree/hast-util-from-dom/issues",
17+
"author": "Keith McKnight <[email protected]> (https://keith.mcknig.ht)",
18+
"contributors": [
19+
"Keith McKnight <[email protected]> (https://keith.mcknig.ht)",
20+
"Titus Wormer <[email protected]> (https://wooorm.com)"
21+
],
522
"main": "dist/hast-util-from-dom.js",
623
"module": "dist/hast-util-from-dom.mjs",
7-
"repository": "https://github.com/syntax-tree/hast-util-from-dom",
8-
"author": "Keith McKnight <[email protected]> (https://keith.mcknig.ht)",
9-
"license": "ISC",
10-
"scripts": {
11-
"build": "rollup -c",
12-
"lint": "eslint .",
13-
"test": "jest",
14-
"test:dev": "jest --watchAll"
24+
"files": [
25+
"dist/"
26+
],
27+
"dependencies": {
28+
"hastscript": "^5.0.0"
1529
},
1630
"devDependencies": {
1731
"@babel/core": "^7.0.0",
@@ -26,10 +40,10 @@
2640
"rollup": "^1.0.0",
2741
"rollup-plugin-babel": "^4.0.1"
2842
},
29-
"dependencies": {
30-
"hastscript": "^5.0.0"
31-
},
32-
"files": [
33-
"dist"
34-
]
43+
"scripts": {
44+
"build": "rollup -c",
45+
"lint": "eslint .",
46+
"test": "jest",
47+
"test:dev": "jest --watchAll"
48+
}
3549
}

0 commit comments

Comments
 (0)