-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 2.09 KB
/
package.json
File metadata and controls
83 lines (83 loc) · 2.09 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
{
"name": "webstack-screenshot",
"type": "module",
"version": "2.0.0-beta.10",
"description": "📸网站截图 API | Website Screenshot API ",
"author": "Lete <me@imlete.cn> (https://blog.imlete.cn)",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/Lete114/WebStack-Screenshot.git"
},
"bugs": {
"url": "https://github.com/Lete114/WebStack-Screenshot/issues"
},
"keywords": [
"webstack",
"screenshot",
"page",
"website",
"site",
"screen",
"snapshot",
"img",
"image"
],
"exports": {
".": {
"types": "./dist/index.d.mts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"./screenshot": {
"types": "./dist/screenshot.d.mts",
"import": "./dist/screenshot.mjs",
"require": "./dist/screenshot.cjs"
},
"./package.json": "./package.json"
},
"main": "./dist/index.mjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"files": [
"dist"
],
"scripts": {
"build": "unbuild",
"dev": "unbuild --stub",
"lint": "eslint",
"prepublishOnly": "pnpm build",
"start": "nodemon --exec tsx start.ts",
"test": "vitest",
"typecheck": "tsc --noEmit",
"prepare": "simple-git-hooks"
},
"dependencies": {
"@sparticuz/chromium": "catalog:deps",
"body-data": "catalog:deps",
"puppeteer": "catalog:deps",
"puppeteer-core": "catalog:deps"
},
"devDependencies": {
"@antfu/eslint-config": "catalog:cli",
"@types/node": "catalog:types",
"eslint": "catalog:cli",
"lint-staged": "catalog:cli",
"nodemon": "catalog:devDeps",
"simple-git-hooks": "catalog:cli",
"tinyexec": "catalog:utils",
"tsx": "catalog:cli",
"typescript": "catalog:cli",
"unbuild": "catalog:cli",
"vite": "catalog:cli",
"vitest": "catalog:testing",
"vitest-package-exports": "catalog:testing",
"yaml": "catalog:testing"
},
"simple-git-hooks": {
"pre-commit": "pnpm i --frozen-lockfile --ignore-scripts --offline && npx lint-staged"
},
"lint-staged": {
"*": "eslint --fix"
}
}