-
Notifications
You must be signed in to change notification settings - Fork 43
/
package.json
97 lines (97 loc) · 2.41 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
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
{
"name": "modern-screenshot",
"type": "module",
"version": "4.5.4",
"packageManager": "[email protected]",
"description": "Quickly generate image from DOM node using HTML5 canvas and SVG",
"author": "wxm",
"license": "MIT",
"homepage": "https://github.com/qq15725/modern-screenshot",
"repository": {
"type": "git",
"url": "git+https://github.com/qq15725/modern-screenshot.git"
},
"bugs": {
"url": "https://github.com/qq15725/modern-screenshot/issues"
},
"keywords": [
"dom",
"image",
"raster",
"render",
"html",
"canvas",
"svg",
"screenshot",
"modern"
],
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"./worker": {
"types": "./worker.d.ts",
"import": "./dist/worker.js",
"require": "./dist/worker.js"
},
"./*": "./*"
},
"main": "./dist/index.mjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"browser": "./dist/index.js",
"typesVersions": {
"*": {
"*": [
"./dist/*",
"./dist/index.d.ts"
]
}
},
"files": [
"worker.d.ts",
"dist"
],
"scripts": {
"dev": "vite",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"test": "vitest --no-isolate",
"coverage": "vitest run --coverage",
"build:lib": "vite build && unbuild",
"build:worker": "vite build --config vite.worker.config.ts",
"build": "pnpm build:lib && pnpm build:worker",
"version": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md",
"release": "bumpp package.json --commit \"release: v%s\" --push --all --tag",
"typecheck": "tsc --noEmit",
"prepare": "simple-git-hooks"
},
"devDependencies": {
"@antfu/eslint-config": "^3.8.0",
"@types/glob": "^8.1.0",
"@types/jest-image-snapshot": "^6.4.0",
"@vitest/ui": "^2.1.4",
"bumpp": "^9.8.1",
"conventional-changelog-cli": "^5.0.0",
"eslint": "^9.14.0",
"glob": "^11.0.0",
"happy-dom": "^15.10.1",
"jest-image-snapshot": "^6.4.0",
"lint-staged": "^15.2.10",
"puppeteer": "^23.7.0",
"simple-git-hooks": "^2.11.1",
"typescript": "^5.6.3",
"unbuild": "^2.0.0",
"vite": "^5.4.10",
"vitest": "^2.1.4"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*": "eslint src --fix"
}
}