html-element-attributes
Version:
Map of HTML elements to allowed attributes
85 lines (84 loc) • 2.23 kB
JSON
{
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
"bugs": "https://github.com/wooorm/html-element-attributes/issues",
"contributors": [
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
],
"description": "Map of HTML elements to allowed attributes",
"devDependencies": {
"@types/node": "^24.0.0",
"c8": "^10.0.0",
"hast-util-from-html": "^2.0.0",
"hast-util-select": "^6.0.0",
"hast-util-to-string": "^3.0.0",
"prettier": "^3.0.0",
"remark-cli": "^12.0.0",
"remark-preset-wooorm": "^11.0.0",
"type-coverage": "^2.0.0",
"typescript": "^5.0.0",
"undici": "^7.0.0",
"xo": "^1.0.0"
},
"files": [
"index.d.ts.map",
"index.d.ts",
"index.js"
],
"funding": {
"type": "github",
"url": "https://github.com/sponsors/wooorm"
},
"keywords": [
"attribute",
"element",
"html",
"name",
"property",
"tag",
"w3c",
"whatwg"
],
"license": "MIT",
"main": "index.js",
"name#": "to do: next major: use `exports`",
"name": "html-element-attributes",
"prettier": {
"bracketSpacing": false,
"semi": false,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "none",
"useTabs": false
},
"remarkConfig": {
"plugins": [
"preset-wooorm"
]
},
"repository": "wooorm/html-element-attributes",
"scripts": {
"build": "tsc --build --clean && tsc --build && type-coverage",
"prepack": "npm run build && npm run format",
"format": "remark --frail --output --quiet -- . && prettier --log-level warn --write -- . && xo --fix",
"generate": "node --conditions development build.js",
"test-api": "node --conditions development test.js",
"test-coverage": "c8 --100 --reporter lcov -- npm run test-api",
"test": "npm run generate && npm run build && npm run format && npm run test-coverage"
},
"sideEffects": false,
"typeCoverage": {
"atLeast": 100,
"ignoreCatch": true
},
"types#": "to do: next major: remove",
"types": "index.d.ts",
"type": "module",
"version": "3.5.0",
"xo": {
"prettier": true,
"rules": {
"unicorn/prefer-string-replace-all": "off"
},
"space": true
}
}