UNPKG

gatsby-remark-image-attributes

Version:

Creates HTML image markup with style and data-* attributes from [`mdAST Image`](https://github.com/syntax-tree/mdast#image) nodes with attributes in their title.

64 lines (63 loc) 1.55 kB
{ "name": "gatsby-remark-image-attributes", "version": "1.1.0", "main": "dist/index.js", "author": "Raphael Beer <raphael.beer@protonmail.com>", "dependencies": { "unist-util-visit": "^2.0.3" }, "devDependencies": { "@tsconfig/node10": "^1.0.8", "@types/jest": "^26.0.23", "@types/mdast": "^3.0.3", "@types/node": "^15.12.2", "@types/unist": "^2.0.3", "jest": "^27.0.4", "jest-junit": "^12.2.0", "jest-serializer-path": "^0.1.15", "node-notifier": "^10.0.0", "remark": "^13.0.0", "ts-jest": "^27.0.3", "ts-node": "^10.0.0", "typescript": "^4.3.2" }, "resolutions": { "tmpl": "^1.0.5" }, "homepage": "https://github.com/rbeer/gatsby-remark-image-attributes", "keywords": [ "gatsby", "gatsby-plugin", "image", "markdown", "remark" ], "license": "MIT", "peerDependencies": { "gatsby": "^2.24.50 || ^3.0.0 || ^4.0.0" }, "repository": { "type": "git", "url": "https://github.com/rbeer/gatsby-remark-image-attributes.git" }, "scripts": { "build": "tsc -p tsconfig.json", "cov": "npm run test -- --coverage", "covdev": "npm run dev -- --coverage", "dev": "jest --watch -c jest.config.ts", "prepublishOnly": "./scripts/prepublish.sh", "test": "jest -c jest.config.ts", "update-css-props": "ts-node ./scripts/update-css-props.ts" }, "engines": { "node": ">=10.13.0" }, "files": [ "README.md", "LICENSE.md", "yarn.lock", "package.json", "dist/", "index.js" ] }