@mattkrick/sanitize-svg
Version:
a small script to remove script tags from SVGs
56 lines (55 loc) • 1.35 kB
JSON
{
"name": "@mattkrick/sanitize-svg",
"version": "0.4.1",
"description": "a small script to remove script tags from SVGs",
"keywords": [
"SVG",
"sanitize",
"purify",
"xss"
],
"main": "dist/lib/sanitizeSVG.js",
"typings": "dist/types/sanitizeSVG.d.ts",
"files": [
"dist"
],
"author": "Matt Krick <matt.krick@gmail.com>",
"repository": {
"type": "git",
"url": "https://github.com/mattkrick/sanitize-svg"
},
"license": "MIT",
"engines": {
"node": ">=6.0.0"
},
"scripts": {
"build": "tsc",
"lint": "yarn prettier && yarn standard",
"precommit": "lint-staged",
"prepublish": "yarn build",
"prettier": "prettier --write --loglevel warn ./**/*.ts",
"standard": "tslint -c tslint.json --project tsconfig.json --fix ./**/*.ts"
},
"lint-staged": {
"src/**/*.ts": [
"prettier --write",
"tslint --fix",
"git add"
]
},
"devDependencies": {
"gh-pages": "^2.0.1",
"husky": "^1.3.1",
"lint-staged": "^8.1.0",
"prettier": "^1.13.4",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.14.0",
"tslint-config-standard": "^8.0.1",
"typedoc": "^0.14.2",
"typescript": "^3.0.1"
},
"peerDependencies": {
"tslib": "^2.8.1"
},
"packageManager": "yarn@1.22.19+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447"
}