78 lines
2.2 KiB
JSON
78 lines
2.2 KiB
JSON
{
|
|
"name": "@zumer/snapdom",
|
|
"version": "1.9.14",
|
|
"description": "snapDOM captures HTML elements to images with exceptional speed and accuracy.",
|
|
"main": "dist/snapdom.js",
|
|
"module": "dist/snapdom.mjs",
|
|
"scripts": {
|
|
"lint": "eslint src __tests__ --ext .js",
|
|
"lint:fix": "eslint src __tests__ --ext .js --fix",
|
|
"test": "npm run lint:fix && npx vitest run --browser.headless --reporter=verbose",
|
|
"test:benchmark": "npx vitest bench --browser.headless --watch=false",
|
|
"compile-browser": "npx @zumerbox/build -n snapdom -j src/index.browser.js -t es2015",
|
|
"compile-esm": "npx @zumerbox/build -n snapdom -j src/index.js -p neutral -x",
|
|
"compile": "npm run compile-browser && npm run compile-esm",
|
|
"build": "npm run compile && npm pack",
|
|
"bump:dry": "npx @zumerbox/bump -d",
|
|
"bump": "npx @zumerbox/bump && npx @zumerbox/changelog",
|
|
"prebuild": "git add CHANGELOG.md && git commit -m \"Bumped version\" && git push --follow-tags"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/zumerlab/snapdom.git"
|
|
},
|
|
"types": "types/snapdom.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./types/snapdom.d.ts",
|
|
"import": "./dist/snapdom.mjs",
|
|
"require": "./dist/snapdom.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist/snapdom.js",
|
|
"dist/snapdom.min.js",
|
|
"dist/snapdom.min.mjs",
|
|
"dist/snapdom.mjs",
|
|
"types/snapdom.d.ts",
|
|
"README.md"
|
|
],
|
|
"keywords": [
|
|
"zumerlab",
|
|
"snapDOM",
|
|
"screenshot",
|
|
"engine",
|
|
"html capture",
|
|
"dom capture",
|
|
"html to image",
|
|
"dom to image",
|
|
"html screenshot",
|
|
"capture element",
|
|
"html snapshot",
|
|
"element screenshot",
|
|
"web capture",
|
|
"snapshot tool",
|
|
"render html",
|
|
"capture dom",
|
|
"web snapshot",
|
|
"html export",
|
|
"dom snapshot",
|
|
"html to png",
|
|
"html to svg"
|
|
],
|
|
"author": "Juan Martin Muda",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/zumerlab/snapdom/issues"
|
|
},
|
|
"homepage": "https://zumerlab.github.io/snapdom/",
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.36.0",
|
|
"@vitest/browser": "^3.1.2",
|
|
"@vitest/coverage-v8": "^3.1.2",
|
|
"eslint": "^9.36.0",
|
|
"globals": "^16.4.0",
|
|
"playwright": "^1.52.0"
|
|
}
|
|
}
|