Update dev-dependencies
This commit is contained in:
parent
c40caa2682
commit
bf126a045a
2 changed files with 8 additions and 8 deletions
2
index.js
2
index.js
|
@ -29,7 +29,7 @@ export default function remarkDirective() {
|
|||
const list = /** @type {unknown[]} */ (
|
||||
// Other extensions
|
||||
/* c8 ignore next 2 */
|
||||
data[field] ? data[field] : (data[field] = [])
|
||||
data[field] || (data[field] = [])
|
||||
)
|
||||
|
||||
list.push(value)
|
||||
|
|
14
package.json
14
package.json
|
@ -39,23 +39,23 @@
|
|||
"unified": "^10.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/tape": "^4.0.0",
|
||||
"c8": "^7.0.0",
|
||||
"@types/tape": "^5.0.0",
|
||||
"c8": "^8.0.0",
|
||||
"is-hidden": "^2.0.0",
|
||||
"prettier": "^2.0.0",
|
||||
"prettier": "^3.0.0",
|
||||
"remark": "^14.0.0",
|
||||
"remark-cli": "^10.0.0",
|
||||
"remark-cli": "^11.0.0",
|
||||
"remark-preset-wooorm": "^9.0.0",
|
||||
"rimraf": "^3.0.0",
|
||||
"tape": "^5.0.0",
|
||||
"to-vfile": "^7.0.0",
|
||||
"type-coverage": "^2.0.0",
|
||||
"typescript": "^4.0.0",
|
||||
"xo": "^0.46.0"
|
||||
"typescript": "^5.0.0",
|
||||
"xo": "^0.56.0"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "rimraf \"test/**/*.d.ts\" \"*.d.ts\" && tsc && type-coverage",
|
||||
"format": "remark . -qfo --ignore-pattern test/ && prettier . -w --loglevel warn && xo --fix",
|
||||
"format": "remark . -qfo --ignore-pattern test/ && prettier . -w --log-level warn && xo --fix",
|
||||
"test-api": "node --conditions development test/index.js",
|
||||
"test-coverage": "c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov npm run test-api",
|
||||
"test": "npm run build && npm run format && npm run test-coverage"
|
||||
|
|
Loading…
Add table
Reference in a new issue