webstack-screenshot
Version:
📸网站截图 API | Website Screenshot API
81 lines • 1.97 kB
JSON
{
"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"
],
"dependencies": {
"@sparticuz/chromium": "^133.0.0",
"body-data": "^2.0.1",
"puppeteer": "^24.8.2",
"puppeteer-core": "^24.8.2"
},
"devDependencies": {
"@antfu/eslint-config": "^4.10.1",
"@types/node": "^22.13.10",
"eslint": "^9.22.0",
"lint-staged": "^15.5.0",
"nodemon": "^3.1.10",
"simple-git-hooks": "^2.11.1",
"tinyexec": "^0.3.2",
"tsx": "^4.19.3",
"typescript": "^5.8.2",
"unbuild": "^3.5.0",
"vite": "^6.2.1",
"vitest": "^3.0.8",
"vitest-package-exports": "^0.1.1",
"yaml": "^2.7.0"
},
"simple-git-hooks": {
"pre-commit": "pnpm i --frozen-lockfile --ignore-scripts --offline && npx lint-staged"
},
"lint-staged": {
"*": "eslint --fix"
},
"scripts": {
"build": "unbuild",
"dev": "unbuild --stub",
"lint": "eslint",
"start": "nodemon --exec tsx start.ts",
"test": "vitest",
"typecheck": "tsc --noEmit"
}
}