-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
57 lines (57 loc) · 1.31 KB
/
package.json
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
{
"name": "dom2svg",
"type": "module",
"version": "1.0.9",
"description": "Take SVG screenshots of DOM elements",
"author": "xiashui",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/xiashui1994/dom2svg"
},
"keywords": [
"svg",
"dom",
"screenshot",
"snapshot",
"document",
"element",
"image"
],
"exports": {
"types": "./dist/index.d.ts",
"import": "./dist/dom2svg.js",
"require": "./dist/dom2svg.umd.cjs"
},
"main": "./dist/dom2svg.umd.cjs",
"module": "./dist/dom2svg.js",
"types": "./dist/index.d.ts",
"files": ["dist"],
"engines": {
"node": "^18.0.0 || >=20.0.0"
},
"scripts": {
"prepare": "husky install",
"dev": "vite",
"build": "tsc && vite build",
"build:example": "vite build --config vite.config.example.ts",
"lint": "eslint .",
"lint:fix": "eslint . --fix"
},
"dependencies": {
"gradient-parser": "^1.0.2",
"postcss": "^8.4.38",
"postcss-value-parser": "^4.2.0"
},
"devDependencies": {
"@antfu/eslint-config": "^2.12.2",
"@commitlint/cli": "^19.2.1",
"@commitlint/config-conventional": "^19.1.0",
"eslint": "^9.0.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"typescript": "^5.4.4",
"vite": "^5.2.8",
"vite-plugin-dts": "^3.8.1"
}
}