All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s
82 lines
2.0 KiB
JSON
82 lines
2.0 KiB
JSON
{
|
|
"name": "hast-util-is-element",
|
|
"version": "1.1.0",
|
|
"description": "hast utility to check if a node is a (certain) element",
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"unist",
|
|
"hast",
|
|
"hast-util",
|
|
"util",
|
|
"utility",
|
|
"html",
|
|
"is",
|
|
"element"
|
|
],
|
|
"repository": "syntax-tree/hast-util-is-element",
|
|
"bugs": "https://github.com/syntax-tree/hast-util-is-element/issues",
|
|
"funding": {
|
|
"type": "opencollective",
|
|
"url": "https://opencollective.com/unified"
|
|
},
|
|
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
|
|
"contributors": [
|
|
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
|
|
],
|
|
"files": [
|
|
"convert.js",
|
|
"index.js"
|
|
],
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"browserify": "^16.0.0",
|
|
"nyc": "^15.0.0",
|
|
"prettier": "^2.0.0",
|
|
"remark-cli": "^8.0.0",
|
|
"remark-preset-wooorm": "^7.0.0",
|
|
"tape": "^5.0.0",
|
|
"tinyify": "^3.0.0",
|
|
"xo": "^0.33.0"
|
|
},
|
|
"scripts": {
|
|
"format": "remark . -qfo && prettier . --write && xo --fix",
|
|
"build-bundle": "browserify . -s hastUtilIsElement > hast-util-is-element.js",
|
|
"build-mangle": "browserify . -s hastUtilIsElement -p tinyify > hast-util-is-element.min.js",
|
|
"build": "npm run build-bundle && npm run build-mangle",
|
|
"test-api": "node test",
|
|
"test-coverage": "nyc --reporter lcov tape test.js",
|
|
"test": "npm run format && npm run build && npm run test-coverage"
|
|
},
|
|
"prettier": {
|
|
"tabWidth": 2,
|
|
"useTabs": false,
|
|
"singleQuote": true,
|
|
"bracketSpacing": false,
|
|
"semi": false,
|
|
"trailingComma": "none"
|
|
},
|
|
"xo": {
|
|
"prettier": true,
|
|
"esnext": false,
|
|
"rules": {
|
|
"max-params": "off",
|
|
"unicorn/prefer-includes": "off",
|
|
"unicorn/prefer-reflect-apply": "off"
|
|
},
|
|
"ignores": [
|
|
"hast-util-is-element.js"
|
|
]
|
|
},
|
|
"nyc": {
|
|
"check-coverage": true,
|
|
"lines": 100,
|
|
"functions": 100,
|
|
"branches": 100
|
|
},
|
|
"remarkConfig": {
|
|
"plugins": [
|
|
"preset-wooorm"
|
|
]
|
|
}
|
|
}
|