Skip to content

Commit 6b2533a

Browse files
committed
Refactor package.json
1 parent 4cc6bb8 commit 6b2533a

File tree

1 file changed

+41
-44
lines changed

1 file changed

+41
-44
lines changed

package.json

+41-44
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,9 @@
11
{
2-
"name": "unified-engine",
3-
"version": "11.2.1",
4-
"description": "unified engine to process multiple files, lettings users configure from the file system",
5-
"license": "MIT",
6-
"keywords": [
7-
"engine",
8-
"processor",
9-
"unified"
10-
],
11-
"repository": "unifiedjs/unified-engine",
12-
"bugs": "https://github.com/unifiedjs/unified-engine/issues",
132
"author": "Titus Wormer <[email protected]> (https://wooorm.com)",
14-
"funding": {
15-
"type": "opencollective",
16-
"url": "https://opencollective.com/unified"
17-
},
3+
"bugs": "https://github.com/unifiedjs/unified-engine/issues",
184
"contributors": [
19-
"Titus Wormer <[email protected]> (https://wooorm.com)",
20-
"Christian Murphy <[email protected]>"
21-
],
22-
"sideEffects": false,
23-
"type": "module",
24-
"exports": "./index.js",
25-
"files": [
26-
"lib/",
27-
"index.d.ts.map",
28-
"index.d.ts",
29-
"index.js"
5+
"Christian Murphy <[email protected]>",
6+
"Titus Wormer <[email protected]> (https://wooorm.com)"
307
],
318
"dependencies": {
329
"@types/concat-stream": "^2.0.0",
@@ -51,6 +28,7 @@
5128
"vfile-statistics": "^3.0.0",
5229
"yaml": "^2.0.0"
5330
},
31+
"description": "unified engine to process multiple files, lettings users configure from the file system",
5432
"devDependencies": {
5533
"@types/extend": "^3.0.0",
5634
"@types/parse-json": "^4.0.0",
@@ -68,14 +46,24 @@
6846
"vfile-reporter-pretty": "^7.0.0",
6947
"xo": "^0.59.0"
7048
},
71-
"scripts": {
72-
"build": "tsc --build --clean && tsc --build && type-coverage",
73-
"format": "remark . --frail --output --quiet && prettier . --log-level warn --write && xo --fix",
74-
"prepack": "npm run build && npm run format",
75-
"test": "npm run build && npm run format && npm run test-coverage",
76-
"test-api": "node --conditions development test/index.js",
77-
"test-coverage": "c8 --100 --check-coverage --reporter lcov npm run test-api"
49+
"exports": "./index.js",
50+
"files": [
51+
"lib/",
52+
"index.d.ts.map",
53+
"index.d.ts",
54+
"index.js"
55+
],
56+
"funding": {
57+
"type": "opencollective",
58+
"url": "https://opencollective.com/unified"
7859
},
60+
"keywords": [
61+
"engine",
62+
"processor",
63+
"unified"
64+
],
65+
"license": "MIT",
66+
"name": "unified-engine",
7967
"prettier": {
8068
"bracketSpacing": false,
8169
"singleQuote": true,
@@ -89,6 +77,26 @@
8977
"remark-preset-wooorm"
9078
]
9179
},
80+
"repository": "unifiedjs/unified-engine",
81+
"scripts": {
82+
"build": "tsc --build --clean && tsc --build && type-coverage",
83+
"format": "remark . --frail --output --quiet && prettier . --log-level warn --write && xo --fix",
84+
"test-api": "node --conditions development test/index.js",
85+
"test-coverage": "c8 --100 --check-coverage --reporter lcov npm run test-api",
86+
"test": "npm run build && npm run format && npm run test-coverage"
87+
},
88+
"sideEffects": false,
89+
"typeCoverage": {
90+
"atLeast": 100,
91+
"#": "needed `any`s",
92+
"ignoreFiles": [
93+
"lib/index.d.ts",
94+
"lib/configuration.d.ts"
95+
],
96+
"strict": true
97+
},
98+
"type": "module",
99+
"version": "11.2.1",
92100
"xo": {
93101
"overrides": [
94102
{
@@ -110,16 +118,5 @@
110118
"unicorn/prefer-event-target": "off",
111119
"unicorn/prefer-string-replace-all": "off"
112120
}
113-
},
114-
"typeCoverage": {
115-
"atLeast": 100,
116-
"detail": true,
117-
"ignoreCatch": true,
118-
"#": "needed `any`s",
119-
"ignoreFiles": [
120-
"lib/index.d.ts",
121-
"lib/configuration.d.ts"
122-
],
123-
"strict": true
124121
}
125122
}

0 commit comments

Comments
 (0)