-
-
Notifications
You must be signed in to change notification settings - Fork 302
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 3.28 KB
/
Copy pathpackage.json
File metadata and controls
107 lines (107 loc) · 3.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "@zumer/snapdom",
"version": "2.24.15",
"description": "Fast, modern alternative to html2canvas — captures HTML elements to images (PNG, JPG, SVG, WebP) with exceptional speed and accuracy.",
"type": "module",
"main": "./dist/snapdom.js",
"module": "./dist/snapdom.mjs",
"types": "./types/snapdom.d.ts",
"sideEffects": false,
"workspaces": [
"packages/*"
],
"exports": {
".": {
"types": "./types/snapdom.d.ts",
"import": "./dist/snapdom.mjs",
"require": "./dist/snapdom.js",
"default": "./dist/snapdom.mjs"
},
"./preCache": {
"import": "./dist/preCache.mjs"
},
"./plugins": {
"import": "./dist/plugins.mjs"
}
},
"files": [
"dist/",
"types/snapdom.d.ts",
"README.md"
],
"scripts": {
"compile": "node esbuild.config.mjs",
"lint": "eslint src __tests__ --ext .js",
"lint:fix": "eslint src __tests__ --ext .js --fix",
"test:bundle": "npm run compile && node scripts/verify-legacy-bundle.mjs",
"test:types": "tsc --noEmit",
"test": "npm run lint:fix && npm run test:types && npm run test:bundle && npx vitest run --browser.headless --reporter=verbose",
"test:visual": "npx vitest run __tests__/visual.demos. --browser.headless --reporter=verbose",
"test:firefox": "BROWSER=firefox npx vitest run --browser.headless --reporter=verbose",
"test:webkit": "BROWSER=webkit npx vitest run --browser.headless --reporter=verbose",
"test:full": "npm run lint:fix && npm run test:types && npm run test:bundle && BROWSER=all npx vitest run --browser.headless --reporter=verbose",
"report:cross": "node scripts/cross-report.mjs",
"test:coverage": "npx vitest run --browser.headless --coverage",
"test:benchmark": "npx vitest bench --browser.headless --watch=false",
"site": "npm run compile && node scripts/serve-site.mjs",
"bump:dry": "npx @zumerbox/bump -d",
"bump": "npx @zumerbox/bump && npx @zumerbox/changelog",
"build": "npm run compile && npm pack",
"release:push": "git add CHANGELOG.md && git commit -m \"Bumped version\" && git push --follow-tags"
},
"repository": {
"type": "git",
"url": "git+https://github.com/zumerlab/snapdom.git"
},
"keywords": [
"zumerlab",
"snapDOM",
"html2canvas",
"html2canvas alternative",
"dom-to-image alternative",
"html-to-image",
"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://snapdom.dev/",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/tinchox5"
},
"devDependencies": {
"@eslint/js": "^9.36.0",
"@vitest/browser": "^3.1.2",
"@vitest/coverage-v8": "^3.1.2",
"@zumer/snapdiff": "^0.3.0",
"esbuild": "^0.28.1",
"eslint": "^9.36.0",
"globals": "^16.4.0",
"playwright": "^1.52.0",
"typescript": "^7.0.2"
},
"overrides": {
"vite": "^6"
}
}