svg-element-attributes
Version:
Map of SVG elements to allowed attributes
77 lines (76 loc) • 2.06 kB
JSON
{
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
"bugs": "https://github.com/wooorm/svg-element-attributes/issues",
"contributors": [
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
],
"description": "Map of SVG elements to allowed attributes",
"devDependencies": {
"@types/node": "^26.0.0",
"aria-attributes": "^2.0.0",
"c8": "^12.0.0",
"hast-util-from-html": "^2.0.0",
"hast-util-is-event-handler": "^3.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": "^6.0.0",
"xo": "^4.0.0"
},
"files": [
"index.d.ts.map",
"index.d.ts",
"index.js"
],
"funding": {
"type": "github",
"url": "https://github.com/sponsors/wooorm"
},
"keywords": [
"attribute",
"element",
"name",
"property",
"svg",
"tag",
"w3c"
],
"license": "MIT",
"main": "index.js",
"name": "svg-element-attributes",
"prettier": {
"bracketSpacing": false,
"semi": false,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "none",
"useTabs": false
},
"remarkConfig": {
"plugins": [
"remark-preset-wooorm"
]
},
"repository": "wooorm/svg-element-attributes",
"scripts": {
"build": "tsc --build --clean && tsc --build && type-coverage",
"crawl": "node --conditions development crawl.js",
"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.js",
"test-coverage": "c8 --100 --reporter lcov npm run test-api",
"test": "npm run crawl && npm run build && npm run format && npm run test-coverage"
},
"sideEffects": false,
"typeCoverage": {
"atLeast": 100,
"detail": true,
"strict": true
},
"types": "index.d.ts",
"type": "module",
"version": "2.2.0"
}