Skip to content

Commit

Permalink
Refactor package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Oct 11, 2024
1 parent 530e681 commit c19b235
Showing 1 changed file with 41 additions and 41 deletions.
82 changes: 41 additions & 41 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,42 +1,9 @@
{
"name": "hast-util-select",
"version": "6.0.2",
"description": "hast utility for `querySelector`, `querySelectorAll`, and `matches`",
"license": "MIT",
"keywords": [
"unist",
"hast",
"hast-util",
"util",
"utility",
"html",
"css",
"select",
"selectall",
"selector",
"query",
"match",
"matches"
],
"repository": "syntax-tree/hast-util-select",
"bugs": "https://github.com/syntax-tree/hast-util-select/issues",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/unified"
},
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
"bugs": "https://github.com/syntax-tree/hast-util-select/issues",
"contributors": [
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
],
"sideEffects": false,
"type": "module",
"exports": "./index.js",
"files": [
"lib/",
"index.d.ts.map",
"index.d.ts",
"index.js"
],
"dependencies": {
"@types/hast": "^3.0.0",
"@types/unist": "^3.0.0",
Expand All @@ -54,6 +21,7 @@
"unist-util-visit": "^5.0.0",
"zwitch": "^2.0.0"
},
"description": "hast utility for `querySelector`, `querySelectorAll`, and `matches`",
"devDependencies": {
"@types/node": "^22.0.0",
"c8": "^10.0.0",
Expand All @@ -66,14 +34,34 @@
"unist-builder": "^4.0.0",
"xo": "^0.59.0"
},
"scripts": {
"prepack": "npm run build && npm run format",
"build": "tsc --build --clean && tsc --build && type-coverage",
"format": "remark . -qfo && prettier . -w --log-level warn && xo --fix",
"test-api": "node --conditions development test/index.js",
"test-coverage": "c8 --100 --reporter lcov npm run test-api",
"test": "npm run build && npm run format && npm run test-coverage"
"exports": "./index.js",
"files": [
"lib/",
"index.d.ts.map",
"index.d.ts",
"index.js"
],
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/unified"
},
"keywords": [
"css",
"hast-util",
"hast",
"html",
"match",
"matches",
"query",
"selectall",
"selector",
"select",
"unist",
"utility",
"util"
],
"license": "MIT",
"name": "hast-util-select",
"prettier": {
"bracketSpacing": false,
"semi": false,
Expand All @@ -87,12 +75,24 @@
"remark-preset-wooorm"
]
},
"repository": "syntax-tree/hast-util-select",
"scripts": {
"build": "tsc --build --clean && tsc --build && type-coverage",
"format": "remark --frail --output --quiet -- . && prettier --log-level warn --write -- . && xo --fix",
"prepack": "npm run build && npm run format",
"test-api": "node --conditions development test/index.js",
"test-coverage": "c8 --100 --reporter lcov npm run test-api",
"test": "npm run build && npm run format && npm run test-coverage"
},
"sideEffects": false,
"typeCoverage": {
"atLeast": 100,
"detail": true,
"ignoreCatch": true,
"strict": true
},
"type": "module",
"version": "6.0.2",
"xo": {
"overrides": [
{
Expand Down

0 comments on commit c19b235

Please sign in to comment.