take-shot
Version:
Screenshots with JavaScript
70 lines (69 loc) • 2.1 kB
JSON
{
"title": "take-shot",
"name": "take-shot",
"description": "Screenshots with JavaScript",
"main": "dist/take-shot.js",
"module": "dist/take-shot.esm.js",
"typings": "dist/types/index.d.ts",
"browser": "dist/take-shot.js",
"version": "0.0.13",
"author": {
"name": "sedmedgh",
"email": "sedmedgh@gmail.com"
},
"engines": {
"node": ">=8.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/sedmedgh/take-shot.git"
},
"bugs": {
"url": "https://github.com/sedmedgh/take-shot.git"
},
"keywords": [
"html2canvas",
"html-to-image",
"dom-to-image",
"screenshot",
"capture",
"jpeg",
"webp",
"png"
],
"devDependencies": {
"@rollup/plugin-commonjs": "^19.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.0.0",
"@rollup/plugin-typescript": "^8.2.1",
"@types/node": "^16.3.1",
"@typescript-eslint/eslint-plugin": "^7.7.0",
"@typescript-eslint/parser": "^7.7.0",
"eslint": "^8.57.0",
"mkdirp": "^3.0.1",
"prettier": "^3.2.5",
"rimraf": "^3.0.2",
"rollup": "^2.53.1",
"rollup-plugin-sourcemaps": "^0.6.3",
"standard-version": "^8.0.2",
"ts-node": "^10.1.0",
"typescript": "^5.4.5",
"uglify-js": "^3.13.10"
},
"scripts": {
"prebuild": "rimraf dist/ && rimraf build/ && mkdirp dist",
"build": "tsc --module commonjs && rollup -c rollup.config.ts && npm run build:minify",
"build:minify": "uglifyjs --compress --comments /^!/ -o dist/take-shot.min.js --mangle -- dist/take-shot.js",
"release": "standard-version && npm run build && git push --follow-tags origin master && npm publish",
"format": "prettier --ignore-path .gitignore --write \"**/*.+(js|ts|json)\"",
"lint": "eslint --ignore-path .eslintignore src/**/*.ts --max-warnings 0",
"watch": "rollup -c rollup.config.ts -w"
},
"license": "MIT",
"dependencies": {
"css-line-break": "^2.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-unused-imports": "^3.1.0",
"text-segmentation": "^1.0.3"
}
}