Skip to content

Commit 964950a

Browse files
committed
Refactor package.json
1 parent d027409 commit 964950a

File tree

1 file changed

+36
-23
lines changed

1 file changed

+36
-23
lines changed

package.json

Lines changed: 36 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,34 @@
11
{
22
"name": "unist-util-find",
33
"version": "1.0.4",
4-
"description": "Unist node finder utility. Useful for working with remark, rehype and retext.",
5-
"repository": "https://github.com/blahah/unist-util-find",
4+
"description": "unist utility to find a node",
5+
"license": "MIT",
6+
"keywords": [
7+
"find",
8+
"hast",
9+
"mdast",
10+
"nlcst",
11+
"node",
12+
"rehype",
13+
"remark",
14+
"retext",
15+
"search",
16+
"unist",
17+
"unist-util",
18+
"util",
19+
"utility"
20+
],
21+
"repository": "syntax-tree/unist-util-find",
22+
"bugs": "https://github.com/syntax-tree/unist-util-find/issues",
23+
"funding": {
24+
"type": "opencollective",
25+
"url": "https://opencollective.com/unified"
26+
},
27+
"author": "Richard Smith-Unna <[email protected]> @blahah",
28+
"contributors": [
29+
"Richard Smith-Unna <[email protected]> @blahah",
30+
"Titus Wormer <[email protected]> (https://wooorm.com)"
31+
],
632
"sideEffects": false,
733
"type": "module",
834
"main": "index.js",
@@ -11,27 +37,6 @@
1137
"index.d.ts",
1238
"index.js"
1339
],
14-
"scripts": {
15-
"prepack": "npm run build && npm run format",
16-
"build": "tsc --build --clean && tsc --build && type-coverage",
17-
"format": "prettier . -w --loglevel warn && xo --fix",
18-
"test-api": "node --conditions development test.js",
19-
"test-coverage": "c8 --100 --reporter lcov npm run test-api",
20-
"test": "npm run build && npm run format && npm run test-coverage"
21-
},
22-
"keywords": [
23-
"unist",
24-
"remark",
25-
"retext",
26-
"rehype",
27-
"hast",
28-
"mdast",
29-
"nlcst",
30-
"find",
31-
"search"
32-
],
33-
"author": "Richard Smith-Unna <[email protected]> @blahah",
34-
"license": "MIT",
3540
"dependencies": {
3641
"lodash.iteratee": "^4.0.0",
3742
"unist-util-visit": "^4.0.0"
@@ -48,6 +53,14 @@
4853
"typescript": "^5.0.0",
4954
"xo": "^0.54.0"
5055
},
56+
"scripts": {
57+
"prepack": "npm run build && npm run format",
58+
"build": "tsc --build --clean && tsc --build && type-coverage",
59+
"format": "prettier . -w --loglevel warn && xo --fix",
60+
"test-api": "node --conditions development test.js",
61+
"test-coverage": "c8 --100 --reporter lcov npm run test-api",
62+
"test": "npm run build && npm run format && npm run test-coverage"
63+
},
5164
"prettier": {
5265
"bracketSpacing": false,
5366
"semi": false,

0 commit comments

Comments
 (0)