Skip to content

Commit 4a49f58

Browse files
committed
Refactor package.json
1 parent a9dd49f commit 4a49f58

1 file changed

Lines changed: 25 additions & 25 deletions

File tree

package.json

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,9 @@
11
{
2-
"private": true,
3-
"name": "github-tools",
4-
"version": "0.0.0",
5-
"description": "GH tools for unified",
6-
"license": "MIT",
7-
"keywords": [],
8-
"repository": "unifiedjs/github-tools",
9-
"bugs": "https://github.com/unifiedjs/github-tools/issues",
102
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
3+
"bugs": "https://github.com/unifiedjs/github-tools/issues",
114
"contributors": [
125
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
136
],
14-
"type": "module",
15-
"main": "index.js",
16-
"files": [
17-
"lib/",
18-
"config/",
19-
"index.js"
20-
],
217
"dependencies": {
228
"@octokit/graphql": "^9.0.0",
239
"@octokit/rest": "^22.0.0",
@@ -35,6 +21,7 @@
3521
"parse-author": "^2.0.0",
3622
"trough": "^2.0.0"
3723
},
24+
"description": "GH tools for unified",
3825
"devDependencies": {
3926
"@types/arr-diff": "^4.0.0",
4027
"@types/atob": "^2.0.0",
@@ -48,13 +35,17 @@
4835
"typescript": "^5.0.0",
4936
"xo": "^1.0.0"
5037
},
51-
"scripts": {
52-
"start": "node --conditions development index.js",
53-
"build": "tsc --build --clean && tsc --build && type-coverage",
54-
"crawl": "node --conditions development script/crawl.js",
55-
"format": "remark . -qfo && prettier . -w --log-level warn && xo --fix",
56-
"test": "npm run build && npm run crawl && npm run format"
57-
},
38+
"exports": "./index.js",
39+
"files": [
40+
"lib/",
41+
"config/",
42+
"index.d.ts.map",
43+
"index.d.ts",
44+
"index.js"
45+
],
46+
"keywords": [],
47+
"license": "MIT",
48+
"name": "github-tools",
5849
"prettier": {
5950
"bracketSpacing": false,
6051
"semi": false,
@@ -63,15 +54,24 @@
6354
"trailingComma": "none",
6455
"useTabs": false
6556
},
57+
"private": true,
6658
"remarkConfig": {
6759
"plugins": [
6860
"remark-preset-wooorm"
6961
]
7062
},
63+
"repository": "unifiedjs/github-tools",
64+
"scripts": {
65+
"build": "tsc --build --clean && tsc --build && type-coverage",
66+
"crawl": "node --conditions development script/crawl.js",
67+
"format": "remark --frail --output --quiet -- . && prettier --log-level warn --write -- . && xo --fix",
68+
"start": "node --conditions development index.js",
69+
"test": "npm run build && npm run crawl && npm run format"
70+
},
7171
"typeCoverage": {
7272
"atLeast": 100,
73-
"detail": true,
74-
"ignoreCatch": true,
7573
"strict": true
76-
}
74+
},
75+
"type": "module",
76+
"version": "0.0.0"
7777
}

0 commit comments

Comments
 (0)