{ "name": "html-to-image", "version": "1.9.0", "description": "Generates an image from a DOM node using HTML5 canvas and SVG.", "main": "lib/index.js", "module": "es/index.js", "unpkg": "dist/html-to-image.js", "types": "lib/index.d.ts", "files": [ "dist", "es", "lib" ], "keywords": [ "screenshot", "capture", "canvas", "html", "dom", "image", "vector", "svg" ], "scripts": { "lint": "eslint 'src/**/*.{js,ts}?(x)' --fix", "clean": "rimraf dist es lib", "build:esm": "tsc --module esnext --target es2015 --outDir ./es", "build:cjs": "tsc --module commonjs --target es5 --outDir ./lib", "build:umd": "rollup -c", "build": "run-s build:esm build:cjs build:umd", "prebuild": "run-s lint clean", "test": "karma start", "test:watch": "karma start --single-run=false --auto-watch", "test:debug": "karma start --browsers=Chrome --single-run=false --auto-watch --debug", "coveralls": "cat ./test/coverage/lcov.info | coveralls", "pretest": "rimraf ./test/coverage", "prepare": "is-ci || husky install .husky" }, "lint-staged": { "**/*.{js,jsx,tsx,ts,less,md,json}": [ "pretty-quick — staged" ], "*.ts": [ "eslint --fix" ] }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "release": { "extends": "@bubkoo/semantic-release-config" }, "license": "MIT", "author": { "name": "bubkooo", "email": "bubkoo.wy@gmail.com" }, "contributors": [ { "name": "bubkooo", "email": "bubkoo.wy@gmail.com" }, { "name": "OiNutter", "email": "will@oinutter.co.uk" } ], "devDependencies": { "@commitlint/cli": "^13.1.0", "@commitlint/config-conventional": "^13.1.0", "@fortawesome/fontawesome-free": "^5.15.4", "@rollup/plugin-commonjs": "^20.0.0", "@rollup/plugin-node-resolve": "^13.0.4", "@rollup/plugin-typescript": "^8.2.5", "@types/jasmine": "^3.9.1", "@types/jquery": "^3.5.6", "@typescript-eslint/eslint-plugin": "^4.18.0", "@typescript-eslint/parser": "^4.18.0", "coveralls": "^3.1.1", "husky": "^7.0.2", "imagediff": "^1.0.8", "is-ci": "^3.0.0", "jasmine-core": "^3.9.0", "karma": "^6.3.4", "karma-chrome-launcher": "^3.1.0", "karma-coverage": "^2.0.3", "karma-jasmine": "^4.0.1", "karma-spec-reporter": "^0.0.32", "karma-typescript": "^5.3.0", "lint-staged": "^11.1.2", "npm-run-all": "^4.1.5", "prettier": "^2.4.0", "pretty-quick": "^3.1.1", "rimraf": "^3.0.2", "rollup": "^2.56.3", "rollup-plugin-filesize": "^9.1.1", "rollup-plugin-terser": "^7.0.2", "tslib": "^2.3.1", "eslint": "^7.22.0", "eslint-config-airbnb-base": "^14.2.1", "eslint-config-prettier": "^8.1.0", "eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-import": "^2.22.1", "eslint-plugin-prettier": "^4.0.0", "eslint-plugin-promise": "^5.1.0", "typescript": "^4.4.3" }, "repository": { "type": "git", "url": "git+https://github.com/bubkoo/html-to-image.git" }, "bugs": { "url": "https://github.com/bubkoo/html-to-image/issues" }, "homepage": "https://github.com/bubkoo/html-to-image#readme" }